/ 夏风 /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=n;i++)
  ^~~
/in/foo.cc:12:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   cin>>a[i].name>>a[i].qc>>a[i].bc>>a[i].xg>>a[i].xb>>a[i].lw;a[i].s=0;
                                                               ^
/in/foo.cc:9:16: warning: unused variable 'j' [-Wunused-variable]
  int n,i,zjq=0,j,max,p;
                ^
/in/foo.cc: At global scope:
/in/foo.cc:7:9: warning: 't' defined but not used [-Wunused-variable]
 }a[110],t;
         ^
# 状态 耗时 内存占用
#1 Accepted 3ms 364.0 KiB
#2 Accepted 3ms 348.0 KiB
#3 Accepted 3ms 356.0 KiB
#4 Accepted 3ms 376.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多的奖学金
语言
C++
递交时间
2018-02-03 15:06:18
评测时间
2018-02-03 15:38:48
评测机
分数
100
总耗时
16ms
峰值内存
384.0 KiB