记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:8:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (n=1)
   ^~
/in/foo.c:11:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else
  ^~~~
/in/foo.c:13:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
   for (i=3;i<=n;i++)
   ^~~
# 状态 耗时 内存占用
#1 Accepted 0ms 200.0 KiB
#2 Accepted 0ms 200.0 KiB
#3 Accepted 0ms 204.0 KiB
#4 Accepted 0ms 200.0 KiB
#5 Accepted 0ms 200.0 KiB

信息

递交者
类型
递交
题目
A2-3 循环结构入门:斐波拉契数列的和
比赛
基于基本数据类型的程序设计训练
语言
C
递交时间
2019-03-31 18:50:34
评测时间
2019-03-31 18:50:34
评测机
分数
100
总耗时
4ms
峰值内存
204.0 KiB