/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:92:12: warning: unknown conversion type character '/' in format [-Wformat=]
   92 |   printf("%/d", T);
      |            ^
/in/foo.cc:92:10: warning: too many arguments for format [-Wformat-extra-args]
   92 |   printf("%/d", T);
      |          ^~~~~
/in/foo.cc:92:9: warning: 'T' may be used uninitialized [-Wmaybe-uninitialized]
   92 |   printf("%/d", T);
      |   ~~~~~~^~~~~~~~~~
/in/foo.cc:85:7: note: 'T' was declared here
   85 |   int T;
      |       ^
/in/foo.cc:79:7: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   79 |       if (i != ans) {
      |       ^~
/in/foo.cc:63:15: note: 'ans' was declared here
   63 |    int tmp=0, ans;
      |               ^~~
# 状态 耗时 内存占用
#1 Runtime Error 12ms 8.543 MiB
#2 Runtime Error 12ms 8.555 MiB
#3 Runtime Error 12ms 8.559 MiB
#4 Runtime Error 197ms 5.992 MiB
#5 Runtime Error 135ms 6.902 MiB
#6 Runtime Error 105ms 7.297 MiB
#7 Runtime Error 131ms 7.344 MiB
#8 Runtime Error 214ms 6.496 MiB
#9 Runtime Error 243ms 6.094 MiB
#10 Runtime Error 245ms 5.984 MiB

信息

递交者
类型
递交
题目
P1747 不给糖就捣乱
语言
C++
递交时间
2025-03-08 16:59:52
评测时间
2025-03-08 17:00:06
评测机
分数
0
总耗时
1310ms
峰值内存
8.559 MiB