/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:30:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if(s=='-') f=-1;s=getchar();
         ^~
/in/foo.cc:30:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if(s=='-') f=-1;s=getchar();
                         ^
/in/foo.cc: In function 'void run(int, int)':
/in/foo.cc:59:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if(j=sh[u]){//如果j是深度为2的儿子
               ^
/in/foo.cc: In function 'bool control(ll)':
/in/foo.cc:96:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int j=0;j<arv[i].size();j++){
                         ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:3:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define go(i,a,b) for(int i=(a);i<=(b);++(i))
                   ^
/in/foo.cc:127:5: note: in expansion of macro 'go'
     go(i,1,m) read(st[i]);vis[1]=1;
     ^~
/in/foo.cc:127:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     go(i,1,m) read(st[i]);vis[1]=1;
                           ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.832 MiB
#2 Accepted 3ms 1.863 MiB
#3 Accepted 3ms 1.863 MiB
#4 Accepted 3ms 2.062 MiB
#5 Accepted 3ms 1.992 MiB
#6 Wrong Answer 7ms 3.59 MiB
#7 Wrong Answer 5ms 2.887 MiB
#8 Wrong Answer 20ms 7.773 MiB
#9 Wrong Answer 464ms 14.398 MiB
#10 Wrong Answer 2ms 1.824 MiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2019-10-05 23:36:50
评测时间
2019-10-05 23:36:50
评测机
分数
50
总耗时
517ms
峰值内存
14.398 MiB