/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void debug(int)':
/in/foo.cc:8:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i = 1; i <= x; ++i) inspect(i); cout << endl;
     ^~~
/in/foo.cc:8:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i = 1; i <= x; ++i) inspect(i); cout << endl;
                                             ^~~~
/in/foo.cc: In function 'void insert(int)':
/in/foo.cc:34:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if(p)ch[p][val[p] < x] = cur; par[cur] = p;
         ^~
/in/foo.cc:34:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if(p)ch[p][val[p] < x] = cur; par[cur] = p;
                                       ^~~
/in/foo.cc: In function 'T redi()':
/in/foo.cc:82:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(!isdigit(ch))ch=getchar(); while(isdigit(ch)){x=x*10+ch-48;ch=getchar();}
     ^~~~~
/in/foo.cc:82:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(!isdigit(ch))ch=getchar(); while(isdigit(ch)){x=x*10+ch-48;ch=getchar();}
                                      ^~~~~
# 状态 耗时 内存占用
#1 Accepted 86ms 1.781 MiB
#2 Accepted 1ms 928.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 4ms 336.0 KiB
#5 Accepted 10ms 584.0 KiB
#6 Accepted 45ms 1.0 MiB
#7 Accepted 23ms 1.262 MiB
#8 Accepted 42ms 1.203 MiB
#9 Accepted 91ms 1.578 MiB
#10 Accepted 101ms 1.773 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2019-10-06 08:48:36
评测时间
2019-10-06 08:48:36
评测机
分数
100
总耗时
409ms
峰值内存
1.781 MiB