/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:22:25: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
             sprintf(t, "%d:%d\n",w11,l11);
                         ^~
/in/foo.c:22:24: note: directive argument in the range [0, 2147483647]
             sprintf(t, "%d:%d\n",w11,l11);
                        ^~~~~~~~~
/in/foo.c:22:24: note: directive argument in the range [0, 2147483647]
/in/foo.c:22:13: note: 'sprintf' output between 5 and 23 bytes into a destination of size 6
             sprintf(t, "%d:%d\n",w11,l11);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:28:25: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
             sprintf(t, "%d:%d\n",w21,l21);
                         ^~
/in/foo.c:28:24: note: directive argument in the range [0, 2147483647]
             sprintf(t, "%d:%d\n",w21,l21);
                        ^~~~~~~~~
/in/foo.c:28:24: note: directive argument in the range [0, 2147483647]
/in/foo.c:28:13: note: 'sprintf' output between 5 and 23 bytes into a destination of size 6
             sprintf(t, "%d:%d\n",w21,l21);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:34:17: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
     sprintf(t, "%d:%d\n",w11,l11);
                 ^~
/in/foo.c:34:16: note: directive argument in the range [0, 2147483647]
     sprintf(t, "%d:%d\n",w11,l11);
                ^~~~~~~~~
/in/foo.c:34:16: note: directive argument in the range [0, 2147483647]
/in/foo.c:34:5: note: 'sprintf' output between 5 and 23 bytes into a destination of size 6
     sprintf(t, "%d:%d\n",w11,l11);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:36:17: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
     sprintf(t, "%d:%d\n",w21,l21);
                 ^~
/in/foo.c:36:16: note: directive argument in the range [0, 2147483647]
     sprintf(t, "%d:%d\n",w21,l21);
                ^~~~~~~~~
/in/foo.c:36:16: note: directive argument in the range [0, 2147483647]
/in/foo.c:36:5: note: 'sprintf' output between 5 and 23 bytes into a destination of size 6
     sprintf(t, "%d:%d\n",w21,l21);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer 2ms 256.0 KiB
#3 Wrong Answer 2ms 256.0 KiB
#4 Wrong Answer 2ms 256.0 KiB
#5 Wrong Answer 2ms 256.0 KiB
#6 Accepted 17ms 368.0 KiB
#7 Accepted 5ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Runtime Error 2ms 512.0 KiB
#10 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C
递交时间
2017-10-13 15:18:05
评测时间
2017-10-13 15:18:05
评测机
分数
50
总耗时
42ms
峰值内存
512.0 KiB