/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:93:12: warning: unknown conversion type character '/' in format [-Wformat=]
   93 |   printf("%/d", T);
      |            ^
/in/foo.cc:93:10: warning: too many arguments for format [-Wformat-extra-args]
   93 |   printf("%/d", T);
      |          ^~~~~
/in/foo.cc:93:9: warning: 'T' may be used uninitialized [-Wmaybe-uninitialized]
   93 |   printf("%/d", T);
      |   ~~~~~~^~~~~~~~~~
/in/foo.cc:86:7: note: 'T' was declared here
   86 |   int T;
      |       ^
/in/foo.cc:80:7: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   80 |       if (i != ans) {
      |       ^~
/in/foo.cc:64:15: note: 'ans' was declared here
   64 |    int tmp=0, ans;
      |               ^~~
# 状态 耗时 内存占用
#1 Runtime Error 12ms 8.551 MiB
#2 Runtime Error 12ms 8.555 MiB
#3 Runtime Error 12ms 8.551 MiB
#4 Runtime Error 207ms 5.98 MiB
#5 Runtime Error 137ms 6.906 MiB
#6 Runtime Error 107ms 7.289 MiB
#7 Runtime Error 139ms 7.34 MiB
#8 Runtime Error 211ms 6.5 MiB
#9 Runtime Error 241ms 6.09 MiB
#10 Runtime Error 242ms 5.984 MiB

信息

递交者
类型
递交
题目
P1747 不给糖就捣乱
语言
C++
递交时间
2025-03-08 17:36:28
评测时间
2025-03-08 17:36:28
评测机
分数
0
总耗时
1325ms
峰值内存
8.555 MiB