/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:40:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(int i=1;i<=k;i++)//i和j都必须要小于k以此保证此环中结论成立 
 ^~~
/in/foo.cc:44:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i=1;i<=N;i++)
   ^~~
/in/foo.cc:31:10: warning: unused variable 'temp' [-Wunused-variable]
  int dis,temp;
          ^~~~
# 状态 耗时 内存占用
#1 Accepted 13ms 7.988 MiB
#2 Wrong Answer 20ms 8.402 MiB
#3 Accepted 13ms 7.883 MiB
#4 Accepted 12ms 7.848 MiB
#5 Accepted 31ms 7.945 MiB
#6 Accepted 18ms 7.875 MiB
#7 Accepted 40ms 7.945 MiB
#8 Accepted 20ms 7.824 MiB
#9 Accepted 41ms 7.832 MiB
#10 Accepted 60ms 7.945 MiB

信息

递交者
类型
递交
题目
P1046 观光旅游
语言
C++
递交时间
2019-09-15 20:02:30
评测时间
2019-09-15 20:02:30
评测机
分数
90
总耗时
272ms
峰值内存
8.402 MiB