/ 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 4ms 384.0 KiB
#2 Accepted 6ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 55ms 768.0 KiB
#6 Accepted 44ms 768.0 KiB
#7 Accepted 109ms 768.0 KiB
#8 Accepted 200ms 1016.0 KiB
#9 Accepted 103ms 764.0 KiB
#10 Accepted 116ms 768.0 KiB

信息

递交者
类型
递交
题目
P2016 新生舞会
语言
C++
递交时间
2021-12-19 16:21:52
评测时间
2021-12-19 16:21:52
评测机
分数
100
总耗时
647ms
峰值内存
1016.0 KiB