记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:35:18: warning: self-comparison always evaluates to false [-Wtautological-compare]
     if(arr[i].num>arr[i].num)
        ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc:30:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i = 0;i < n;i++)
  ^~~
/in/foo.cc:46:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   cout<<arr[k].num<<" "<<arr[k].grade<<endl;
   ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 192.0 KiB

信息

递交者
类型
自测
题目
2-1 比赛榜单
语言
C++
递交时间
2018-12-12 14:04:14
评测时间
2018-12-12 14:04:22
评测机
分数
0
总耗时
1ms
峰值内存
192.0 KiB