/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void init()':
/in/foo.cc:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0; i<strlen(Yangjz); ++i) {
                 ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'void turnnumber()':
/in/foo.cc:30:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
  sprintf(Yangjz, "%lld", M);
                           ^
/in/foo.cc:31:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (i<strlen(Yangjz)) {
      ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'long long int kmp()':
/in/foo.cc:58:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (j >= P.length()) {
       ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void init()':
/in/foo.cc:15:6: warning: '%lld' directive writing between 1 and 11 bytes into a region of size 6 [-Wformat-overflow=]
 void init() {
      ^~~~
/in/foo.cc:15:6: note: directive argument in the range [-2147483648, 2147483648]
/in/foo.cc:18:10: note: 'sprintf' output between 2 and 12 bytes into a destination of size 6
   sprintf(Yangjz, "%lld", i);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 188.0 KiB
#2 Accepted 1ms 188.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 188.0 KiB
#5 Accepted 1ms 316.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 1ms 312.0 KiB
#8 Accepted 1ms 196.0 KiB
#9 Time Exceeded ≥1000ms ≥204.0 KiB
#10 Accepted 1ms 188.0 KiB
#11 Accepted 2ms 316.0 KiB
#12 Accepted 6ms 204.0 KiB
#13 Time Exceeded ≥1000ms ≥188.0 KiB
#14 Accepted 2ms 312.0 KiB
#15 Accepted 1ms 204.0 KiB
#16 Accepted 2ms 188.0 KiB
#17 Time Exceeded ≥1001ms ≥184.0 KiB
#18 Accepted 1ms 204.0 KiB
#19 Accepted 2ms 316.0 KiB
#20 Accepted 2ms 188.0 KiB
#21 Accepted 2ms 200.0 KiB
#22 Time Exceeded ≥1000ms ≥188.0 KiB
#23 Time Exceeded ≥1002ms ≥188.0 KiB
#24 Time Exceeded ≥1005ms ≥204.0 KiB
#25 Accepted 1ms 188.0 KiB
#26 Time Exceeded ≥1000ms ≥188.0 KiB
#27 Time Exceeded ≥1003ms ≥212.0 KiB
#28 Time Exceeded ≥1002ms ≥312.0 KiB
#29 Time Exceeded ≥1005ms ≥188.0 KiB
#30 Time Exceeded ≥1005ms ≥204.0 KiB
#31 Time Exceeded ≥1006ms ≥192.0 KiB
#32 Accepted 2ms 188.0 KiB
#33 Time Exceeded ≥1002ms ≥204.0 KiB
#34 Time Exceeded ≥1000ms ≥188.0 KiB
#35 Time Exceeded ≥1002ms ≥184.0 KiB
#36 Accepted 1ms 204.0 KiB
#37 Accepted 715ms 312.0 KiB
#38 Time Exceeded ≥1001ms ≥188.0 KiB
#39 Time Exceeded ≥1002ms ≥204.0 KiB
#40 Accepted 1ms 312.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2018-11-04 16:38:50
评测时间
2018-11-04 16:38:50
评测机
分数
230
总耗时
≥17809ms
峰值内存
≥316.0 KiB