/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for(int i=1;i<=n;i++)
        ^~~
/in/foo.cc:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             y=i+1;
             ^
/in/foo.cc:18:21: warning: 'i' is used uninitialized in this function [-Wuninitialized]
             dp[i][j]=dp[x][j-1]+dp[y][j-1];
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:16:13: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if(x==0)x=n;
             ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 232.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 224.0 KiB
#6 Wrong Answer 1ms 220.0 KiB
#7 Accepted 1ms 232.0 KiB
#8 Wrong Answer 1ms 220.0 KiB
#9 Wrong Answer 1ms 228.0 KiB
#10 Wrong Answer 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1485 传球游戏
语言
C++
递交时间
2020-11-03 17:55:51
评测时间
2020-11-03 17:55:51
评测机
分数
20
总耗时
13ms
峰值内存
232.0 KiB