/ 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 3ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 72ms 896.0 KiB
#6 Accepted 61ms 768.0 KiB
#7 Accepted 129ms 768.0 KiB
#8 Accepted 210ms 896.0 KiB
#9 Accepted 118ms 768.0 KiB
#10 Accepted 170ms 896.0 KiB

信息

递交者
类型
递交
题目
P2016 新生舞会
语言
C++
递交时间
2022-02-27 19:38:11
评测时间
2022-02-27 19:38:11
评测机
分数
100
总耗时
777ms
峰值内存
896.0 KiB