/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(a>b)swap(a,b);f[a]=0;
     ^~
/in/foo.cc:23:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(a>b)swap(a,b);f[a]=0;
                      ^
/in/foo.cc: In function 'int dis(int, int)':
/in/foo.cc:16:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 3ms 336.0 KiB
#3 Accepted 3ms 372.0 KiB
#4 Accepted 5ms 360.0 KiB
#5 Accepted 4ms 340.0 KiB
#6 Accepted 4ms 328.0 KiB
#7 Accepted 4ms 352.0 KiB
#8 Accepted 5ms 340.0 KiB
#9 Accepted 3ms 376.0 KiB
#10 Accepted 6ms 368.0 KiB

信息

递交者
类型
递交
题目
P1292 火车票
语言
C++
递交时间
2017-07-19 16:06:03
评测时间
2017-07-19 16:06:03
评测机
分数
100
总耗时
44ms
峰值内存
376.0 KiB