/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:42: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:42:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:45:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d",&room[i]);
                      ^
/in/foo.cc:49:58: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d%d%d",&book[i].num,&book[i].start,&book[i].end);
                                                          ^
/in/foo.cc:49:58: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:49:58: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:67:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("-1\n%d",minn);
                      ^
# 状态 耗时 内存占用
#1 Accepted 155ms 79.75 MiB
#2 Accepted 176ms 79.102 MiB
#3 Accepted 228ms 79.086 MiB
#4 Accepted 272ms 79.875 MiB
#5 Accepted 269ms 78.75 MiB
#6 Accepted 254ms 79.625 MiB
#7 Accepted 441ms 82.43 MiB
#8 Accepted 430ms 82.625 MiB
#9 Accepted 307ms 79.625 MiB
#10 Accepted 457ms 80.0 MiB
#11 Accepted 429ms 81.375 MiB
#12 Accepted 412ms 79.625 MiB
#13 Accepted 472ms 79.75 MiB
#14 Accepted 466ms 79.566 MiB
#15 Accepted 1152ms 107.137 MiB
#16 Accepted 1208ms 107.051 MiB
#17 Accepted 1355ms 107.039 MiB
#18 Accepted 1357ms 107.125 MiB
#19 Accepted 1452ms 107.125 MiB
#20 Accepted 1431ms 107.0 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2018-10-06 21:49:43
评测时间
2018-10-06 21:49:43
评测机
分数
100
总耗时
12733ms
峰值内存
107.137 MiB