/ Vijos /

记录详情

Accepted

foo.cc: In function 'int read()':
foo.cc:38:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   38 |     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'
   38 |     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]
   92 |         while(temp = Dfs(S, 32000)){
      |               ~~~~~^~~~~~~~~~~~~~~
foo.cc:89:25: warning: unused variable 's' [-Wunused-variable]
   89 |     double res = 0; int s = 0;
      |                         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 47ms 896.0 KiB
#6 Accepted 37ms 768.0 KiB
#7 Accepted 105ms 768.0 KiB
#8 Accepted 217ms 1016.0 KiB
#9 Accepted 77ms 768.0 KiB
#10 Accepted 284ms 896.0 KiB

信息

递交者
类型
递交
题目
P2016 新生舞会
语言
C++
递交时间
2022-01-13 18:18:51
评测时间
2022-01-13 18:18:51
评测机
分数
100
总耗时
784ms
峰值内存
1016.0 KiB