记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:46:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (j = 0; j<name.size(); j++) {
                ~^~~~~~~~~~~~
/in/foo.cc:52:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (j == name.size()-1) {
        ~~^~~~~~~~~~~~~~~~
/in/foo.cc:64:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (j = 0; j<address.size(); j++) {
                ~^~~~~~~~~~~~~~~
/in/foo.cc:70:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (j == address.size()-1) {
        ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < output.size(); i++) {
                  ~~^~~~~~~~~~~~~~~
/in/foo.cc:56:34: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
     output.push_back (address[pos]);
                                  ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 360.0 KiB
#2 Runtime Error 2ms 324.0 KiB
#3 Runtime Error 8ms 10.875 MiB
#4 Memory Exceeded ≥77ms ≥32.0 MiB
#5 Memory Exceeded ≥1008ms ≥32.0 MiB
#6 Memory Exceeded ≥1003ms ≥32.0 MiB
#7 Memory Exceeded ≥1003ms ≥32.0 MiB
#8 Memory Exceeded ≥1007ms ≥32.0 MiB
#9 Memory Exceeded ≥1044ms ≥32.0 MiB
#10 Memory Exceeded ≥1039ms ≥32.0 MiB

信息

递交者
类型
递交
题目
Find a girl friend
语言
C++
递交时间
2017-06-29 00:18:33
评测时间
2017-06-29 00:18:33
评测机
分数
0
总耗时
6196ms
峰值内存
32.0 MiB