Accepted

foo.cc: In function ‘std::string jia(std::string)’:
foo.cc:7:33: warning: for increment expression has no effect [-Wunused-value]
    7 |         for(int i=a.size();i--;i>=0)
      |                                ~^~~
foo.cc: In function ‘std::string ch(std::string)’:
foo.cc:25:34: warning: for increment expression has no effect [-Wunused-value]
   25 |         for (int i=b.size();i--;i>=0)
      |                                 ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 2ms 512.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 2ms 508.0 KiB
#5 Accepted 3ms 508.0 KiB
#6 Accepted 2ms 512.0 KiB
#7 Accepted 3ms 512.0 KiB
#8 Accepted 3ms 512.0 KiB
#9 Accepted 13ms 504.0 KiB
#10 Accepted 572ms 512.0 KiB

信息

递交者
类型
递交
题目
P3002 猴子吃桃 (eat)
比赛
2026.2.10高级班练习
语言
C++
递交时间
2026-02-10 12:55:15
评测时间
2026-02-10 12:55:15
评测机
分数
100
总耗时
609ms
峰值内存
512.0 KiB