Description Boatherds Inc. is a sailing company operating in the country of Trabantustan and offering boat trips on Trabantian rivers. All the rivers
转载 2017-08-29 00:23:00
28阅读
2评论
2011-12-16 02:11:23地址:http://acm.hdu.edu.cn/showproblem.php?pid=2114题意:算前n项立方和的末4位。mark:立方和公式:n^2(n+1)^2/4。注意取mod和溢出处理。代码:# include <stdio.h>int main (){ long long n ; int ans ; while (~scanf ("%I64d", &n)) { n %= 10000 ; ans = (n*n*(n+1)*(n+1)/4) % 10000 ; printf ("...
转载 2012-01-06 16:38:00
57阅读
Description
原创 2022-11-09 19:07:47
80阅读
Description Boatherds Inc. is a sailing company operating in the country of Trabantustan and offering boat trips on Trabantian rivers. All the rivers originate somewhere in the mountains and on their
转载 2015-01-11 11:28:00
32阅读
2评论
oracle错误
原创 2012-04-26 12:26:40
977阅读
思路: 点分治//By SiriusRen#include #include #include using namespace std;#define N 10005int n,k,xx,yy,first[N],next[N*2],v[N*2],w[N*2],tot;int f[N...
转载 2017-01-12 17:57:00
60阅读
2评论
题意:给你一棵树,每条边有权值,求有没有一条链使得权值和为k 题解:和上一题类似,依旧是树分治,只是我们储存结果的时候是判断加起来为k的点对数,刚开始本来想用map存答案,结果就t了,后来用了vector,数组等各种,最后用数组,绝望的把memset改成for就过了。 学到一个新的点:如果我们调用了
转载 2017-11-11 00:33:00
56阅读
2评论
这个题和 #include #include #include #include #include #incl
原创 2023-07-05 20:11:59
42阅读
题意: 给出一颗边带权的$n$个节点的树,问是否存在最短距离为$k$的点对。 分析: 最开始做的题是询问最短距离小于等于$k$的点对。 我第一反应是下面的方法一。 方法一: 先求出小于等于$k$的点对 和 小于$k$(也就是小于等于$k 1$)的点对,然后相减得到等于$k$的点对的个数。 方法二:
转载 2016-02-15 21:41:00
78阅读
2评论
OracleOracle错误编码大全
安装Active Directory 证书错误{0x80070842 (win32:2114)}
原创 2016-03-03 11:41:55
2213阅读
ORA-00600:  参数: [19004], [],[],[] 报错的处理 导入表语句: imp  hfmp/join@ORCL_192.168.0.4  file=f:\20110715.dmp full=y ignore=y 导出表语句 exp  hfmp/join @ ORCL_192.168.0.4  full=
转载 2011-07-22 13:48:35
694阅读
1点赞
1评论
ORA-00001:违反唯一约束条件(主键错误) ORA-00028:无法连接数据库进程ORA-00900:无效sql语句 ORA-00904:字段名写错或是建表时最后一个字段有逗号 ORA-00907:缺少右括号 ORA-00911:无效字符ORA-00917:缺少逗号 ORA-00918:未明确定义列 ORA-00922:丢失或无效的选项(表名等可能有空格) ORA-00923:
转载 精选 2012-12-27 11:15:36
1451阅读
ora-01789 查询块具有不正确的结果列数      这个错误一般在执行表之间的相加(union),相减(minus)等SQL语句时发生。只要将两段SQL语句的列数调整一致就可以解决了。===========================================================OCI-22053ov
原创 2010-12-04 03:22:48
659阅读
oracle11G报错 ORA-27157: OS post/wait facility removed ORA-27300: OS system dependent operation:semop failed with status: 43解决办法: 详见http://www.cnblogs.com/abclife/p/5859005.html1).设置/etc/systemd/logind.
原创 2017-09-25 21:06:39
1045阅读
公司产品的部署经常使用到oracle数据库,在与oracle不断打交道的过程中,总结了以下几点常见错误,希望能对有这方面需要的朋友有所帮助。 1,oracle启动数据库时报错: SQL> startup;ORA-01078: failure in processing system parametersLRM-00109: could not open parameter file &n
原创 2010-04-13 14:35:28
1236阅读
检查数据库发现数据库连接过一会就会自动断开。需要在/u01/app/oracle/product/11R2/db_1/network/admin/samples下listener.ora   sqlnet.ora 下添加信息1.              listener.ora  #修改12170错误INB
原创 2015-06-04 13:26:05
1670阅读
1、 启动oracle11g数据库时:   SQL> startup; ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u01/oracle11/app/oracle/product/db_1/dbs/initGLORY7.ora'
原创 2012-01-18 11:08:16
558阅读
oracle 10g启动时 报错ORA00600: internal error code, arguments: [keltnfyldmInit], [46], [1], [], [], [], [], []错误。经过查询后发现是主机名对应有问题改 /etc/hosts /etc/sys/network 使他们对应就可以了
原创 2014-04-15 22:44:51
178阅读
oracle 安装时遇到的 error
原创 2017-04-03 15:47:18
4889阅读
  • 1
  • 2
  • 3
  • 4
  • 5