/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(i=1;i<=2;i++)
         ^~~
/in/foo.cc:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             a[n-2]=a[n-1]+a[n-2];
             ^
/in/foo.cc:6:19: warning: unused variable 'k' [-Wunused-variable]
     int s=0,n,i,j,k;
                   ^
# 状态 耗时 内存占用
#1 Accepted 237ms 340.0 KiB
#2 Accepted 2ms 340.0 KiB
#3 Accepted 8ms 256.0 KiB
#4 Accepted 8ms 208.0 KiB
#5 Accepted 68ms 384.0 KiB
#6 Accepted 108ms 384.0 KiB
#7 Accepted 308ms 368.0 KiB
#8 Accepted 245ms 384.0 KiB
#9 Accepted 321ms 364.0 KiB
#10 Accepted 233ms 368.0 KiB

信息

递交者
类型
递交
题目
P1097 合并果子
语言
C++
递交时间
2018-07-20 16:13:03
评测时间
2018-07-20 16:13:03
评测机
分数
100
总耗时
1542ms
峰值内存
384.0 KiB