记录详情

Time Exceeded

foo.cc: In function 'void compare(int, int)':
foo.cc:14:40: warning: left operand of comma operator has no effect [-Wunused-value]
  for (char c1 = str[a], c2 = str[b]; a < tempa + n, b < tempb + n; a ++, b ++ , c1 = str[a], c2 = str[b])
                                      ~~^~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:31:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s", str);
  ~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 408.0 KiB
#2 Accepted 1ms 412.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Time Exceeded ≥5387ms ≥2.113 MiB
#8 Time Exceeded ≥5387ms ≥2.047 MiB
#9 Time Exceeded ≥5352ms ≥1.898 MiB
#10 Time Exceeded ≥5362ms ≥1.25 MiB

信息

递交者
类型
递交
题目
P1301 H. String Shifting
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 16:17:11
评测时间
2021-11-21 16:17:11
评测机
分数
100
总耗时
≥21502ms
峰值内存
≥2.113 MiB