/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[u].size(); ++i){
                             ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void color(int, int)':
/in/foo.cc:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[u].size(); ++i){
                             ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'bool check(int)':
/in/foo.cc:75:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i = 0; i < G[1].size(); ++i){
                             ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:108:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(m < G[1].size()){
        ~~^~~~~~~~~~~~~
/in/foo.cc:115:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r >> 1;
                   ~~^~~
/in/foo.cc:119:24: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d\n", ans);
                        ^
# 状态 耗时 内存占用
#1 Accepted 4ms 5.578 MiB
#2 Runtime Error 3ms 3.594 MiB
#3 Runtime Error 3ms 3.586 MiB
#4 Wrong Answer 4ms 4.84 MiB
#5 Wrong Answer 4ms 5.699 MiB
#6 Wrong Answer 8ms 7.285 MiB
#7 Wrong Answer 6ms 6.746 MiB
#8 Time Exceeded ≥2004ms ≥7.949 MiB
#9 Wrong Answer 79ms 8.605 MiB
#10 Accepted 2ms 1.453 MiB

信息

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