/ 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 78ms 1.633 MiB
#2 Accepted 1ms 324.0 KiB
#3 Accepted 1ms 260.0 KiB
#4 Accepted 4ms 328.0 KiB
#5 Accepted 9ms 584.0 KiB
#6 Accepted 31ms 1.004 MiB
#7 Accepted 22ms 1.262 MiB
#8 Accepted 37ms 1.211 MiB
#9 Accepted 90ms 1.566 MiB
#10 Accepted 100ms 1.785 MiB

信息

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