/ 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 412.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Accepted 5ms 412.0 KiB
#4 Accepted 5ms 412.0 KiB
#5 Accepted 96ms 796.0 KiB
#6 Accepted 75ms 824.0 KiB
#7 Accepted 196ms 796.0 KiB
#8 Accepted 297ms 984.0 KiB
#9 Accepted 161ms 832.0 KiB
#10 Accepted 186ms 912.0 KiB

信息

递交者
类型
递交
题目
P2016 新生舞会
语言
C++
递交时间
2023-08-02 09:20:51
评测时间
2023-08-02 09:20:51
评测机
分数
100
总耗时
1034ms
峰值内存
984.0 KiB