记录详情

Accepted

foo.cc: In function 'void getab(long long int, int)':
foo.cc:39:12: warning: unused variable 'j' [-Wunused-variable]
     int i, j;
            ^
foo.cc: In function 'int main()':
foo.cc:53:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &n);
     ~~~~~^~~~~~~~~~
foo.cc:54:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(i = 1; i <= n; i++) scanf("%d", &d[i].v);
                             ~~~~~^~~~~~~~~~~~~~~
foo.cc:73:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lld%d", &x, &m);
     ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:83:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%lld", &j, &x);
         ~~~~~^~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 400.0 KiB
#2 Accepted 2ms 416.0 KiB
#3 Accepted 2ms 412.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 416.0 KiB
#6 Accepted 2ms 408.0 KiB
#7 Accepted 3ms 404.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 412.0 KiB
#10 Accepted 2ms 512.0 KiB
#11 Accepted 6ms 824.0 KiB
#12 Accepted 7ms 804.0 KiB
#13 Accepted 5ms 788.0 KiB
#14 Accepted 8ms 868.0 KiB
#15 Accepted 69ms 14.422 MiB
#16 Accepted 73ms 14.617 MiB
#17 Accepted 215ms 24.109 MiB
#18 Accepted 194ms 26.395 MiB
#19 Accepted 225ms 29.402 MiB
#20 Accepted 240ms 29.656 MiB

信息

递交者
类型
递交
题目
P1070 开车旅行
语言
C++
递交时间
2021-04-01 20:50:35
评测时间
2021-04-01 20:50:35
评测机
分数
100
总耗时
1071ms
峰值内存
29.656 MiB