记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:3:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=l;i<=r;++i)
foo.cc:19:13:
         rep(i,1,s.size())
             ~~~~~~~~~~~~         
foo.cc:19:9: note: in expansion of macro 'rep'
         rep(i,1,s.size())
         ^~~
foo.cc:11:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     rep(i,1,n)scanf("%s",a[i]+1);
               ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 440.0 KiB
#2 Time Exceeded ≥3491ms ≥424.0 KiB
#3 Runtime Error Segmentation fault 1ms 436.0 KiB
#4 Runtime Error Segmentation fault 2ms 428.0 KiB
#5 Runtime Error Segmentation fault 2ms 400.0 KiB
#6 Runtime Error Segmentation fault 2ms 384.0 KiB
#7 Runtime Error Segmentation fault 2ms 444.0 KiB
#8 Runtime Error Segmentation fault 2ms 436.0 KiB
#9 Runtime Error Segmentation fault 2ms 384.0 KiB
#10 Runtime Error Segmentation fault 2ms 432.0 KiB
#11 Runtime Error Segmentation fault 2ms 432.0 KiB
#12 Runtime Error Segmentation fault 2ms 448.0 KiB
#13 Runtime Error Segmentation fault 2ms 440.0 KiB
#14 Runtime Error Segmentation fault 2ms 448.0 KiB
#15 Runtime Error Segmentation fault 2ms 384.0 KiB
#16 Runtime Error Segmentation fault 2ms 440.0 KiB

信息

递交者
类型
递交
题目
P1299 F. Game
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 14:43:58
评测时间
2021-11-21 14:43:58
评测机
分数
0
总耗时
3527ms
峰值内存
448.0 KiB