/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:118:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:120:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d%d",&n,&m);
                    ^
/in/foo.cc:120:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:125:50: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d%d%d",&edge[i].x,&edge[i].y,&edge[i].v);
                                                  ^
/in/foo.cc:125:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:125:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:133:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("Cost: %d\n",ans);
                         ^
/in/foo.cc:151:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("Cost: %d",minn);
                        ^
# 状态 耗时 内存占用
#1 Accepted 19ms 6.5 MiB
#2 Wrong Answer 19ms 7.074 MiB
#3 Wrong Answer 5ms 6.379 MiB
#4 Wrong Answer 6ms 6.566 MiB
#5 Wrong Answer 7ms 6.562 MiB
#6 Wrong Answer 16ms 6.613 MiB
#7 Wrong Answer 22ms 6.566 MiB
#8 Wrong Answer 54ms 6.566 MiB
#9 Wrong Answer 59ms 6.562 MiB
#10 Accepted 74ms 6.562 MiB

信息

递交者
类型
递交
题目
P1070 新年趣事之游戏
语言
C++
递交时间
2019-09-25 21:06:23
评测时间
2019-09-25 21:06:23
评测机
分数
20
总耗时
285ms
峰值内存
7.074 MiB