/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%I64d%I64d%I64d",&n,&m,&p);
                             ~~      ^
/in/foo.cc:17:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:17:37: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:22:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
         scanf("%I64d%I64d",&x,&y);
                            ~~   ^
/in/foo.cc:22:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:38:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%I64d\n",ans);
                         ^
# 状态 耗时 内存占用
#1 Runtime Error 6ms 444.0 KiB
#2 Runtime Error 7ms 448.0 KiB
#3 Runtime Error 7ms 444.0 KiB
#4 Runtime Error 3ms 448.0 KiB
#5 Runtime Error 4ms 448.0 KiB
#6 Runtime Error 4ms 448.0 KiB
#7 Runtime Error 4ms 576.0 KiB
#8 Runtime Error 3ms 448.0 KiB
#9 Runtime Error 4ms 448.0 KiB
#10 Runtime Error 3ms 444.0 KiB

信息

递交者
类型
递交
题目
P1238 容易的网络游戏
语言
C++
递交时间
2017-09-19 14:27:51
评测时间
2017-09-19 14:27:51
评测机
分数
0
总耗时
50ms
峰值内存
576.0 KiB