/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
/in/foo.cc:19:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   cout<<ans;
   ^~~~
/in/foo.cc:8:10: warning: unused variable 'x' [-Wunused-variable]
  int n,m,x,ans=0;
          ^
# 状态 耗时 内存占用
#1 Accepted 4ms 2.348 MiB
#2 Accepted 3ms 2.375 MiB
#3 Accepted 11ms 4.5 MiB
#4 Accepted 4ms 4.375 MiB
#5 Accepted 7ms 2.5 MiB
#6 Accepted 4ms 2.695 MiB
#7 Accepted 7ms 2.75 MiB
#8 Accepted 9ms 2.742 MiB
#9 Accepted 6ms 4.719 MiB
#10 Accepted 8ms 6.453 MiB

信息

递交者
类型
递交
题目
P1057 盖房子
语言
C++
递交时间
2018-02-13 15:56:25
评测时间
2018-02-13 15:56:25
评测机
分数
100
总耗时
66ms
峰值内存
6.453 MiB