/ ZYCode /

记录详情

Accepted

foo.cc: In member function 'void AlGO::Graph_Theory::HLPP_MaxFlow<N, M>::BFS()':
foo.cc:193:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  193 |                 while(!QU.empty())QU.pop();QU.push(T);
      |                 ^~~~~
foo.cc:193:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  193 |                 while(!QU.empty())QU.pop();QU.push(T);
      |                                            ^~
foo.cc: In member function 'bool AlGO::OIMath::Number_Theory::Miller_Rabin_CheckPrime::operator()(__int128)':
foo.cc:574:28: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
  574 |                     while(u&1^1)u>>=1,++t;
      |                           ~^~
foo.cc: In function '__int128 AlGO::FastIO::Read()':
foo.cc:1061:29: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized]
 1061 |             return last=='-'?-s:s;
      |                    ~~~~~~~~~^~~~~
foo.cc:1058:39: note: 'last' was declared here
 1058 |             int s=0;char ch=getchar(),last;
      |                                       ^~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 5ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 3ms 328.0 KiB
#9 Accepted 4ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1041 【ZYCODE R7】吃饭
语言
C++
递交时间
2023-08-27 18:34:15
评测时间
2023-08-27 18:34:15
评测机
分数
100
总耗时
40ms
峰值内存
412.0 KiB