/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&W,&N);
                     ^
/in/foo.cc:7:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for (int i=1; i<=N; i++) scanf("%d",&w[i]);
                                            ^
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Wrong Answer 2ms 256.0 KiB
#4 Runtime Error 2ms 256.0 KiB
#5 Runtime Error 1ms 256.0 KiB
#6 Wrong Answer 1ms 160.0 KiB
#7 Wrong Answer 1ms 256.0 KiB
#8 Runtime Error 1ms 256.0 KiB
#9 Runtime Error 1ms 256.0 KiB
#10 Wrong Answer 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1071 新年趣事之打牌
语言
C++
递交时间
2017-04-10 12:52:17
评测时间
2017-04-10 12:52:17
评测机
分数
20
总耗时
18ms
峰值内存
256.0 KiB