记录详情

Accepted

foo.c: In function 'main':
foo.c:10:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(i=1;i<=N;i++)
 ^~~
foo.c:12:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(i=1;i<=M;i++)
  ^~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&N,&M);
   ^~~~~~~~~~~~~~~~~~~
foo.c:11:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&a[i]);
         ^~~~~~~~~~~~~~~~~
foo.c:13:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  {  scanf("%d",&b);
     ^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 2ms 1.75 MiB
#6 Accepted 5ms 3.875 MiB
#7 Accepted 8ms 5.719 MiB
#8 Accepted 11ms 6.449 MiB
#9 Accepted 15ms 10.039 MiB
#10 Accepted 14ms 9.836 MiB

信息

递交者
类型
递交
题目
P1076 乌龟棋
语言
C
递交时间
2021-01-24 10:10:05
评测时间
2021-01-24 10:10:05
评测机
分数
100
总耗时
61ms
峰值内存
10.039 MiB