/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'double cal1(int, int)':
/in/foo.cc:70:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=16;i>=0;i--)
     ^~~
/in/foo.cc:76:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  if(t2==0)return inf;
  ^~
/in/foo.cc: In function 'void solve1()':
/in/foo.cc:102:23: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d\n",ans);
                       ^
# 状态 耗时 内存占用
#1 Accepted 4ms 8.27 MiB
#2 Accepted 3ms 6.207 MiB
#3 Accepted 2ms 6.215 MiB
#4 Accepted 3ms 8.32 MiB
#5 Accepted 2ms 6.215 MiB
#6 Accepted 3ms 8.211 MiB
#7 Accepted 2ms 6.219 MiB
#8 Accepted 3ms 6.215 MiB
#9 Accepted 3ms 6.215 MiB
#10 Accepted 3ms 6.211 MiB
#11 Accepted 6ms 6.379 MiB
#12 Accepted 7ms 6.391 MiB
#13 Accepted 6ms 6.367 MiB
#14 Accepted 7ms 8.457 MiB
#15 Accepted 75ms 29.914 MiB
#16 Accepted 79ms 32.508 MiB
#17 Accepted 168ms 41.578 MiB
#18 Accepted 165ms 44.902 MiB
#19 Accepted 188ms 46.082 MiB
#20 Accepted 204ms 46.082 MiB

信息

递交者
类型
递交
题目
P1780 开车旅行
语言
C++
递交时间
2019-08-01 11:08:34
评测时间
2019-08-01 11:08:34
评测机
分数
100
总耗时
943ms
峰值内存
46.082 MiB