/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:98:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d", &n, &m, &L);
                             ^
/in/foo.cc:103:88: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   for(int i = 1; i <= L; i++) scanf("%d%d", &a[i].x, &a[i].y), bo[a[i].x][a[i].y] = cnt;
                                                                                        ^
/in/foo.cc:104:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &K);
                  ^
/in/foo.cc:107:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d", &x, &y);
                         ^
/in/foo.cc:114:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d%d", &n, &m, &L);
                               ^
/in/foo.cc:119:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d", &n, &m, &L);
                              ^
# 状态 耗时 内存占用
#1 Accepted 4ms 8.25 MiB
#2 Accepted 5ms 16.375 MiB
#3 Accepted 6ms 16.203 MiB
#4 Accepted 6ms 16.25 MiB
#5 Accepted 5ms 16.25 MiB
#6 Accepted 12ms 30.25 MiB
#7 Accepted 8ms 30.355 MiB
#8 Accepted 10ms 30.375 MiB
#9 Accepted 214ms 28.875 MiB
#10 Accepted 2ms 6.336 MiB

信息

递交者
类型
递交
题目
P1879 小岛的贪吃蛇
语言
C++
递交时间
2017-03-30 20:16:28
评测时间
2017-03-30 20:16:28
评测机
分数
100
总耗时
277ms
峰值内存
30.375 MiB