/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(_T&)':
/in/foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
     ^~
/in/foo.cc:12:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
                                          ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         while(!sa.empty()&&sa.top()==aim||!sb.empty()&&sb.top()==aim){
               ~~~~~~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 380.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 468.0 KiB
#6 Accepted 1ms 592.0 KiB
#7 Accepted 2ms 632.0 KiB
#8 Accepted 2ms 1016.0 KiB
#9 Accepted 3ms 1.473 MiB
#10 Accepted 4ms 1.852 MiB

信息

递交者
类型
递交
题目
P1605 双栈排序
语言
C++
递交时间
2021-12-16 20:47:19
评测时间
2021-12-16 20:47:19
评测机
分数
100
总耗时
24ms
峰值内存
1.852 MiB