/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int getNum(int*, int, int)':
/in/foo.cc:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'bool find(int)':
/in/foo.cc:79:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 if(j==s.size()-1&&s[i]=='0') return false;
    ~^~~~~~~~~~~~
/in/foo.cc:82:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 if(j>=s.size()-1) return true;
    ~^~~~~~~~~~~~
/in/foo.cc:83:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 if(n>=s.size()-1) {n=s.size()-1;if(!tailCheck(i,j,m,n)) return false;}
    ~^~~~~~~~~~~~
/in/foo.cc: In function 'bool Equal000(std::__cxx11::string)':
/in/foo.cc:163:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(int i=0;i<s1.size();++i)
             ~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:190:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(int l=1;l<=s1.size();++l)
             ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 640.0 KiB
#2 Accepted 5ms 640.0 KiB
#3 Accepted 2ms 640.0 KiB
#4 Accepted 5ms 516.0 KiB
#5 Accepted 5ms 512.0 KiB
#6 Accepted 3ms 616.0 KiB
#7 Accepted 4ms 620.0 KiB
#8 Accepted 4ms 512.0 KiB
#9 Accepted 6ms 616.0 KiB
#10 Accepted 5ms 640.0 KiB
#11 Accepted 12ms 512.0 KiB
#12 Accepted 5ms 628.0 KiB
#13 Accepted 27ms 616.0 KiB
#14 Accepted 4ms 464.0 KiB
#15 Accepted 4ms 628.0 KiB
#16 Accepted 5ms 604.0 KiB
#17 Accepted 4ms 620.0 KiB
#18 Accepted 15ms 628.0 KiB
#19 Accepted 2ms 604.0 KiB
#20 Accepted 3ms 624.0 KiB
#21 Accepted 3ms 588.0 KiB
#22 Accepted 4ms 624.0 KiB
#23 Accepted 3ms 600.0 KiB
#24 Accepted 3ms 632.0 KiB
#25 Accepted 26ms 640.0 KiB
#26 Accepted 24ms 604.0 KiB
#27 Accepted 45ms 640.0 KiB
#28 Accepted 18ms 616.0 KiB
#29 Accepted 87ms 616.0 KiB
#30 Accepted 27ms 640.0 KiB
#31 Accepted 18ms 632.0 KiB
#32 Accepted 11ms 612.0 KiB
#33 Accepted 17ms 512.0 KiB
#34 Accepted 9ms 604.0 KiB
#35 Accepted 13ms 512.0 KiB
#36 Accepted 47ms 620.0 KiB
#37 Accepted 40ms 512.0 KiB
#38 Accepted 16ms 632.0 KiB
#39 Accepted 11ms 620.0 KiB
#40 Accepted 11ms 512.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2018-10-07 11:32:13
评测时间
2018-10-07 11:32:13
评测机
分数
400
总耗时
575ms
峰值内存
640.0 KiB