/ Vijos /

记录详情

Accepted

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

信息

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