Accepted

foo.cc: In function ‘char noa(char, char)’:
foo.cc:6:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
    6 |         if(x=='A')
      |           ^
foo.cc:10:1: warning: control reaches end of non-void function [-Wreturn-type]
   10 | }
      | ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 2ms 324.0 KiB
#4 Accepted 2ms 536.0 KiB
#5 Accepted 2ms 320.0 KiB
#6 Accepted 2ms 536.0 KiB
#7 Accepted 3ms 444.0 KiB
#8 Accepted 4ms 540.0 KiB
#9 Accepted 3ms 536.0 KiB
#10 Accepted 33ms 1.543 MiB

信息

递交者
类型
递交
题目
P2754 汉诺塔问题
比赛
2024.7.15暑期高级1班练习
语言
C++
递交时间
2024-07-15 16:53:26
评测时间
2024-07-15 16:53:26
评测机
分数
100
总耗时
61ms
峰值内存
1.543 MiB