记录详情

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 1ms 256.0 KiB
#5 Accepted 2ms 1.75 MiB
#6 Accepted 5ms 3.82 MiB
#7 Accepted 8ms 5.602 MiB
#8 Accepted 12ms 6.43 MiB
#9 Accepted 16ms 9.988 MiB
#10 Accepted 15ms 9.785 MiB

信息

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