/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:29:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
     scanf("%d%d", &n, &m);
                         ^
foo.cc:29:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
foo.cc:30:51: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
     for(int i = 0; i < n; ++i) { scanf("%d", &r[i]); }
                                                   ^
foo.cc:31:69: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
     for(int i = 0; i < m; ++i) { scanf("%d%d%d", &d[i], &s[i], &t[i]); }
                                                                     ^
foo.cc:31:69: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
foo.cc:31:69: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
foo.cc:40:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
     else { printf("-1\n%d\n", minn); }
                                   ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 10 ,应为 7 6ms 10.039 MiB
#2 Wrong Answer 读取到 2 ,应为 3 7ms 9.992 MiB
#3 Wrong Answer 读取到 52 ,应为 109 12ms 13.164 MiB
#4 Wrong Answer 读取到 269 ,应为 335 13ms 10.051 MiB
#5 Wrong Answer 读取到 1000 ,应为 987 9ms 14.441 MiB
#6 Wrong Answer 读取到 464 ,应为 927 9ms 12.441 MiB
#7 Wrong Answer 读取到 5367 ,应为 9896 70ms 15.531 MiB
#8 Wrong Answer 读取到 11317 ,应为 19804 71ms 14.359 MiB
#9 Wrong Answer 读取到 21484 ,应为 33367 65ms 15.902 MiB
#10 Wrong Answer 读取到 21713 ,应为 50205 69ms 12.746 MiB
#11 Wrong Answer 读取到 47821 ,应为 49641 73ms 15.93 MiB
#12 Wrong Answer 读取到 100000 ,应为 66852 67ms 12.684 MiB
#13 Wrong Answer 读取到 -1 ,应为 0 73ms 15.527 MiB
#14 Wrong Answer 读取到 33101 ,应为 67240 78ms 14.352 MiB
#15 Wrong Answer 读取到 112270 ,应为 199770 651ms 38.613 MiB
#16 Wrong Answer 读取到 212032 ,应为 333815 687ms 38.609 MiB
#17 Wrong Answer 读取到 211774 ,应为 500176 739ms 38.613 MiB
#18 Wrong Answer 读取到 332183 ,应为 666672 783ms 38.609 MiB
#19 Wrong Answer 读取到 1000000 ,应为 835446 596ms 38.57 MiB
#20 Wrong Answer 读取到 1000000 ,应为 911313 523ms 38.516 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2020-11-02 14:50:44
评测时间
2020-11-02 14:50:44
评测机
分数
0
总耗时
4610ms
峰值内存
38.613 MiB