/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void IO::ReadStrings(char*, int)':
/in/foo.cc:43:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(c = Getc(), c < 32 || c > 136);
    ^~~~~
/in/foo.cc:44:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     *s++ = c;
     ^
/in/foo.cc: In function 'void MaintainList()':
/in/foo.cc:140:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while((*cB).data.size() > sz)
         ~~~~~~~~~~~~~~~~~~^~~~
/in/foo.cc: In function 'void Print(int, int)':
/in/foo.cc:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(cnt + (*curB).data.size() < x)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'LB_ITER FindPos(int)':
/in/foo.cc:116:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 62ms 8.125 MiB
#2 Accepted 1ms 2.262 MiB
#3 Accepted 7ms 5.43 MiB
#4 Accepted 17ms 5.141 MiB
#5 Accepted 14ms 7.691 MiB
#6 Accepted 22ms 6.551 MiB
#7 Accepted 62ms 6.441 MiB
#8 Accepted 53ms 6.203 MiB
#9 Accepted 35ms 5.469 MiB
#10 Accepted 46ms 7.828 MiB

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2017-08-24 21:02:34
评测时间
2017-08-24 21:02:34
评测机
分数
100
总耗时
323ms
峰值内存
8.125 MiB