记录详情

Runtime Error

foo.cc:1:9: warning: #pragma once in main file
    1 | #pragma once
      |         ^~~~
foo.cc: In function 'int parentheses()':
foo.cc:88:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   88 |   else if (ch == ')')
      |           ^
foo.cc: In function 'int main()':
foo.cc:125:6: warning: unused variable 'n' [-Wunused-variable]
  125 |  int n;
      |      ^
foo.cc: In function 'int parentheses()':
foo.cc:77:9: warning: control reaches end of non-void function [-Wreturn-type]
   77 |  string s1;
      |         ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Aborted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Runtime Error Aborted 2ms 384.0 KiB
#4 Wrong Answer Standard answer longer than user output. 4ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1055 OO11-7 stack和括号的匹配、失配
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-05-12 21:21:04
评测时间
2022-05-12 21:21:04
评测机
分数
20
总耗时
17ms
峰值内存
384.0 KiB