/ Vijos /

记录详情

Accepted

foo.cc: In function 'void read(_T&)':
foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
      |     ^~
foo.cc:12:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   12 |     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
      |                                          ^~
foo.cc: In function 'int main()':
foo.cc:56:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   56 |         while(!sa.empty()&&sa.top()==aim||!sb.empty()&&sb.top()==aim){
      |               ~~~~~~~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 332.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 3ms 540.0 KiB
#7 Accepted 4ms 668.0 KiB
#8 Accepted 5ms 924.0 KiB
#9 Accepted 7ms 1.527 MiB
#10 Accepted 9ms 1.887 MiB

信息

递交者
类型
递交
题目
P1605 双栈排序
语言
C++
递交时间
2023-08-09 18:03:32
评测时间
2023-08-09 18:03:32
评测机
分数
100
总耗时
51ms
峰值内存
1.887 MiB