/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(i=1;i<=n;i++)
 ^~~
/in/foo.cc:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  cout<<f[t];
  ^~~~
/in/foo.cc:8:10: warning: 'n' is used uninitialized in this function [-Wuninitialized]
 for(i=1;i<=n;i++) cin>>v[i]>>c[i];
         ~^~~
/in/foo.cc:13:11: warning: 't' is used uninitialized in this function [-Wuninitialized]
  cout<<f[t];
           ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 204.0 KiB
#2 Runtime Error 1ms 208.0 KiB
#3 Runtime Error 1ms 216.0 KiB
#4 Runtime Error 1ms 204.0 KiB
#5 Runtime Error 1ms 216.0 KiB
#6 Runtime Error 1ms 208.0 KiB
#7 Runtime Error 1ms 216.0 KiB
#8 Runtime Error 1ms 216.0 KiB
#9 Runtime Error 1ms 216.0 KiB
#10 Runtime Error 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1025 小飞侠的游园方案
语言
C++
递交时间
2019-05-26 16:58:52
评测时间
2019-05-26 16:58:52
评测机
分数
0
总耗时
18ms
峰值内存
220.0 KiB