/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'void dfs(int, int)':
foo.cc:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[u].size(); ++i){
                             ~~^~~~~~~~~~~~~
foo.cc: In function 'void color(int, int)':
foo.cc:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[u].size(); ++i){
                             ~~^~~~~~~~~~~~~
foo.cc: In function 'bool check(int)':
foo.cc:75:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[1].size(); ++i){
                             ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:109:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(m < G[1].size()){
        ~~^~~~~~~~~~~~~
foo.cc:116:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r >> 1;
                   ~~^~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-09T05:58:43.958Z","handle":"2020-08-09T05:58:43.958Z","cache_start":"2020-08-09T05:58:43.967Z","read_cases":"2020-08-09T05:58:44.079Z","judge":"2020-08-09T05:58:44.084Z","done":"2020-08-09T05:58:48.564Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 1.676 MiB
#2 Wrong Answer 读取到 6916 ,应为 67026 7ms 1.738 MiB
#3 Wrong Answer 读取到 38190 ,应为 24551 7ms 1.672 MiB
#4 Wrong Answer 读取到 33998 ,应为 80268 9ms 1.848 MiB
#5 Wrong Answer 读取到 39328 ,应为 108120 3ms 1.875 MiB
#6 Runtime Error Segmentation fault 6ms 3.188 MiB
#7 Wrong Answer 读取到 0 ,应为 1431137888 4ms 2.359 MiB
#8 Time Exceeded ≥2870ms ≥7.016 MiB
#9 Wrong Answer 读取到 0 ,应为 999717996 23ms 11.289 MiB
#10 Accepted 2ms 1.375 MiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2020-08-09 13:58:43
评测时间
2020-08-09 13:58:43
评测机
分数
20
总耗时
2936ms
峰值内存
11.289 MiB