记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for(int i = 0; i < s.size(); i++)
                                ~~^~~~~~~~~~
/in/foo.cc:42:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     else if(tmp > s[i] && i == s.size() - 1)
                                           ~~^~~~~~~~~~~~~~~
/in/foo.cc:68:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < ans.size(); i++)
                    ~~^~~~~~~~~~~~
/in/foo.cc:24:10: warning: unused variable 'c' [-Wunused-variable]
     char c = getchar();
          ^
# 状态 耗时 内存占用
#1 Accepted 2ms 204.0 KiB
#2 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
自测
题目
图书管理
语言
C++
递交时间
2019-10-28 20:34:17
评测时间
2019-10-28 20:34:17
评测机
分数
10
总耗时
3ms
峰值内存
204.0 KiB