Accepted

/in/foo.cc: In function 'std::string jia(std::string)':
/in/foo.cc:7:33: warning: for increment expression has no effect [-Wunused-value]
    7 |         for(int i=a.size();i--;i>=0)
      |                                ~^~~
/in/foo.cc: In function 'std::string ch(std::string)':
/in/foo.cc:25:34: warning: for increment expression has no effect [-Wunused-value]
   25 |         for (int i=b.size();i--;i>=0)
      |                                 ~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 468.0 KiB
#2 Accepted 2ms 472.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 1ms 488.0 KiB
#5 Accepted 1ms 536.0 KiB
#6 Accepted 1ms 352.0 KiB
#7 Accepted 2ms 484.0 KiB
#8 Accepted 2ms 536.0 KiB
#9 Accepted 5ms 556.0 KiB
#10 Accepted 276ms 656.0 KiB

信息

递交者
类型
递交
题目
P3002 猴子吃桃 (eat)
语言
C++
递交时间
2026-01-10 14:56:18
评测时间
2026-01-10 14:56:18
评测机
分数
100
总耗时
297ms
峰值内存
656.0 KiB