/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  scanf("%d%d%d%d%d%d%d%d%d",&l1,&l2,&l3,&c1,&c2,&c3,&n,&s,&t);
                             ~~~                             ^
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 8 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 9 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 10 has type 'long int*' [-Wformat=]
/in/foo.cc:9:7: warning: unused variable 'i' [-Wunused-variable]
  long i,j;
       ^
/in/foo.cc:9:9: warning: unused variable 'j' [-Wunused-variable]
  long i,j;
         ^
# 状态 耗时 内存占用
#1 Accepted 2ms 1.18 MiB
#2 Accepted 3ms 1.188 MiB
#3 Accepted 4ms 1.191 MiB
#4 Accepted 10ms 1.309 MiB
#5 Accepted 24ms 1.184 MiB
#6 Accepted 33ms 1.184 MiB
#7 Accepted 43ms 1.188 MiB
#8 Accepted 69ms 1.309 MiB
#9 Accepted 84ms 1.191 MiB
#10 Accepted 84ms 1.305 MiB

信息

递交者
类型
递交
题目
P1292 火车票
语言
C++
递交时间
2017-09-23 16:35:41
评测时间
2017-09-23 16:35:41
评测机
分数
100
总耗时
361ms
峰值内存
1.309 MiB