记录详情

Accepted

/in/foo.cc: In function 'void del(int)':
/in/foo.cc:7:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.size(); i++) {
                  ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.size(); i++) {
                  ~~^~~~~~~~~~
/in/foo.cc:15:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (s[i]<s[i+1] || i == s.size()-1) {
                      ~~^~~~~~~~~~~~~
/in/foo.cc:21:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (t == s.size()) cout << 0;
      ~~^~~~~~~~~~~
/in/foo.cc:22:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (; t < s.size(); t++) cout << s[t];
         ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 208.0 KiB

信息

递交者
类型
递交
题目
5-8 留下最大数
比赛
2021苏青奥赛集训营(春季结业赛)
语言
C++
递交时间
2021-06-06 12:28:22
评测时间
2021-06-06 12:28:22
评测机
分数
100
总耗时
8ms
峰值内存
228.0 KiB