记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       for (j=1; j<=n; j++)
       ^~~
/in/foo.cc:29:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for (i=1; i<=n; i++)  if (fa[i]==i) s++;
  ^~~
/in/foo.cc:11:17: warning: unused variable 'r1' [-Wunused-variable]
  long n,i,j,k,x,r1,r2,s=0;
                 ^~
/in/foo.cc:11:20: warning: unused variable 'r2' [-Wunused-variable]
  long n,i,j,k,x,r1,r2,s=0;
                    ^~
# 状态 耗时 内存占用
#1 Accepted 4ms 340.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 5ms 340.0 KiB
#7 Accepted 6ms 384.0 KiB
#8 Accepted 6ms 344.0 KiB
#9 Accepted 4ms 364.0 KiB
#10 Accepted 7ms 360.0 KiB

信息

递交者
类型
递交
题目
刻录光盘(cdrom)
语言
C++
递交时间
2018-06-14 21:22:54
评测时间
2018-06-14 21:22:54
评测机
分数
100
总耗时
49ms
峰值内存
384.0 KiB