/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
   scanf("%s%s",&s1,&s2);
                       ^
/in/foo.cc:12:23: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1005]' [-Wformat=]
/in/foo.cc:14:7: warning: unused variable 'tot' [-Wunused-variable]
   int tot=0;
       ^~~
# 状态 耗时 内存占用
#1 Accepted 22ms 4.297 MiB
#2 Runtime Error 6ms 4.566 MiB
#3 Runtime Error 5ms 4.234 MiB
#4 Runtime Error 5ms 4.23 MiB
#5 Runtime Error 4ms 4.234 MiB
#6 Runtime Error 5ms 4.273 MiB
#7 Runtime Error 5ms 4.238 MiB
#8 Runtime Error 6ms 4.238 MiB
#9 Runtime Error 6ms 4.289 MiB
#10 Runtime Error 4ms 4.277 MiB

信息

递交者
类型
递交
题目
P2000 A x B Problem
语言
C++
递交时间
2022-01-29 18:04:56
评测时间
2022-01-29 18:04:56
评测机
分数
10
总耗时
72ms
峰值内存
4.566 MiB