/ 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 11ms 8.09 MiB
#2 Wrong Answer 11ms 8.387 MiB
#3 Accepted 16ms 7.875 MiB
#4 Accepted 10ms 7.879 MiB
#5 Accepted 36ms 7.93 MiB
#6 Accepted 12ms 7.832 MiB
#7 Accepted 30ms 7.941 MiB
#8 Accepted 23ms 7.887 MiB
#9 Accepted 44ms 7.945 MiB
#10 Accepted 55ms 7.836 MiB

信息

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