/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:51: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for (int i=1; i<=n; i++) scanf("%d%d",&p[i],&w[i]);
                                                   ^
/in/foo.cc:27:51: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:33:52: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  if (f[1][n][0]<=f[1][n][1]) printf("%d",f[1][n][0]);
                                                    ^
/in/foo.cc:34:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  else printf("%d",f[1][n][1]);
                             ^
# 状态 耗时 内存占用
#1 Accepted 2ms 344.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Wrong Answer 2ms 216.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Wrong Answer 1ms 228.0 KiB
#7 Wrong Answer 1ms 220.0 KiB
#8 Accepted 1ms 228.0 KiB
#9 Accepted 1ms 216.0 KiB
#10 Wrong Answer 2ms 232.0 KiB

信息

递交者
类型
递交
题目
P1150 关路灯
语言
C++
递交时间
2020-05-18 22:27:10
评测时间
2020-05-18 22:27:10
评测机
分数
60
总耗时
18ms
峰值内存
344.0 KiB