/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:23:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<g[x].size();i++){
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",w[i]);
              ~~~~^
/in/foo.cc:67:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(flag=0){
     ~~~~^~
/in/foo.cc:73:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(flag=0){
     ~~~~^~
# 状态 耗时 内存占用
#1 Runtime Error 10ms 13.062 MiB
#2 Runtime Error 5ms 12.684 MiB
#3 Runtime Error 5ms 12.688 MiB
#4 Runtime Error 5ms 13.305 MiB
#5 Runtime Error 6ms 12.68 MiB
#6 Runtime Error 38ms 14.184 MiB
#7 Runtime Error 34ms 15.68 MiB
#8 Runtime Error 34ms 15.809 MiB
#9 Runtime Error 38ms 16.059 MiB
#10 Runtime Error 40ms 15.859 MiB
#11 Runtime Error 41ms 16.059 MiB
#12 Runtime Error 44ms 15.812 MiB
#13 Runtime Error 60ms 15.809 MiB
#14 Runtime Error 51ms 15.809 MiB
#15 Runtime Error 38ms 15.688 MiB
#16 Runtime Error 41ms 15.684 MiB
#17 Runtime Error 60ms 15.809 MiB
#18 Runtime Error 41ms 15.812 MiB
#19 Runtime Error 62ms 16.305 MiB
#20 Runtime Error 110ms 23.559 MiB

信息

递交者
类型
递交
题目
P2004 天天爱跑步
语言
C++
递交时间
2017-09-27 16:48:30
评测时间
2017-09-27 16:48:30
评测机
分数
0
总耗时
770ms
峰值内存
23.559 MiB