/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<n;i++)
     ^~~
/in/foo.cc:16:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=0;i<n;i++)
  ^~~
/in/foo.cc:7:14: warning: unused variable 'q' [-Wunused-variable]
  int n,ans=0,q,w;
              ^
/in/foo.cc:7:16: warning: unused variable 'w' [-Wunused-variable]
  int n,ans=0,q,w;
                ^
# 状态 耗时 内存占用
#1 Accepted 3ms 352.0 KiB
#2 Accepted 3ms 372.0 KiB
#3 Accepted 4ms 380.0 KiB
#4 Accepted 4ms 372.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 4ms 372.0 KiB
#8 Accepted 4ms 376.0 KiB
#9 Accepted 3ms 348.0 KiB
#10 Accepted 2ms 376.0 KiB

信息

递交者
类型
递交
题目
P1911 珠心算测验
语言
C++
递交时间
2018-10-09 14:14:05
评测时间
2018-10-09 14:14:05
评测机
分数
100
总耗时
37ms
峰值内存
384.0 KiB