/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void Get_String(int)':
/in/foo.cc:106:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while(c=getchar())
                   ^
/in/foo.cc:100:8: warning: variable 't' set but not used [-Wunused-but-set-variable]
  int p,t,z=k,x,d=FIND(now+1,Root);
        ^
/in/foo.cc:100:10: warning: unused variable 'z' [-Wunused-variable]
  int p,t,z=k,x,d=FIND(now+1,Root);
          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:158:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
      while(c=getchar())
                      ^
/in/foo.cc: In function 'int FIND(int, int)':
/in/foo.cc:96:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 463ms 51.832 MiB
#2 Accepted 20ms 10.25 MiB
#3 Runtime Error 148ms 44.246 MiB
#4 Accepted 212ms 46.93 MiB
#5 Accepted 221ms 47.004 MiB
#6 Accepted 163ms 34.941 MiB
#7 Accepted 137ms 33.0 MiB
#8 Accepted 153ms 34.457 MiB
#9 Accepted 278ms 35.375 MiB
#10 Accepted 314ms 35.125 MiB

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2017-11-24 20:34:06
评测时间
2017-11-24 20:34:06
评测机
分数
90
总耗时
2114ms
峰值内存
51.832 MiB