/ Vijos /

记录详情

Accepted

foo.cc: In function 'int read()':
foo.cc:38:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (; c >= '0' && c <= '9'; x = x * 10 + c - '0', c = NC()); x *= minus;
     ^~~
foo.cc:38:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     for (; c >= '0' && c <= '9'; x = x * 10 + c - '0', c = NC()); x *= minus;
                                                                   ^
foo.cc: In function 'double Check1(float)':
foo.cc:92:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         while(temp = Dfs(S, 32000)){
               ~~~~~^~~~~~~~~~~~~~~
foo.cc:89:25: warning: unused variable 's' [-Wunused-variable]
     double res = 0; int s = 0;
                         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 408.0 KiB
#2 Accepted 3ms 404.0 KiB
#3 Accepted 2ms 404.0 KiB
#4 Accepted 2ms 436.0 KiB
#5 Accepted 43ms 900.0 KiB
#6 Accepted 35ms 840.0 KiB
#7 Accepted 98ms 860.0 KiB
#8 Accepted 176ms 1000.0 KiB
#9 Accepted 76ms 856.0 KiB
#10 Accepted 113ms 896.0 KiB

信息

递交者
类型
递交
题目
P2016 新生舞会
语言
C++
递交时间
2021-10-09 21:12:36
评测时间
2021-10-09 21:12:36
评测机
分数
100
总耗时
553ms
峰值内存
1000.0 KiB