记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(d=0; c>0; c--)
  ^~~
/in/foo.c:13:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   printf("%d\n",c);
   ^~~~~~
/in/foo.c:14:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(d=c; d>0; d++)
  ^~~
/in/foo.c:17:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   printf("%d\n",d);
   ^~~~~~
/in/foo.c:4:14: warning: unused variable 'e' [-Wunused-variable]
  int a,b,c,d,e;
              ^
# 状态 耗时 内存占用
#1 Accepted 0ms 200.0 KiB
#2 Accepted 3ms 204.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 2ms 204.0 KiB
#5 Accepted 17ms 200.0 KiB

信息

递交者
类型
递交
题目
A6-1 最大公约数专题:最大公约数和最小公倍数
比赛
基于基本数据类型的程序设计训练
语言
C
递交时间
2019-03-02 20:38:32
评测时间
2019-03-02 20:38:32
评测机
分数
100
总耗时
26ms
峰值内存
204.0 KiB