记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    while (c = getchar() && c != ']') {
                                 ^~~
/in/foo.cc:29:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while (c = getchar() && c != '\n') {
                                ^~~~
/in/foo.cc:42:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (c = '[') {
              ^
/in/foo.cc:44:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    while (c = getchar() && c != ']') {
                                 ^~~
/in/foo.cc:54:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (p == name.size())
        ~~^~~~~~~~~~~~~~
/in/foo.cc:67:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (p == name.size())
        ~~^~~~~~~~~~~~~~
/in/foo.cc:74:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < output.size(); i++) {
                  ~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 5ms 256.0 KiB
#2 Runtime Error 5ms 256.0 KiB
#3 Runtime Error 2ms 356.0 KiB
#4 Runtime Error 1ms 256.0 KiB
#5 Runtime Error 3ms 380.0 KiB
#6 Runtime Error 3ms 256.0 KiB
#7 Runtime Error 3ms 384.0 KiB
#8 Runtime Error 3ms 256.0 KiB
#9 Runtime Error 3ms 364.0 KiB
#10 Runtime Error 3ms 336.0 KiB

信息

递交者
类型
递交
题目
Find a girl friend
语言
C++
递交时间
2017-06-28 23:32:26
评测时间
2017-06-28 23:32:26
评测机
分数
0
总耗时
35ms
峰值内存
384.0 KiB