/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:44:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d %d\n", ansx, ansy);
                                 ^
foo.cc:44:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
foo.cc:12:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &n);
     ~~~~~^~~~~~~~~~
foo.cc:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%lld%lld", &xx, &yy, &k, &p);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 28, expect 20. 2ms 376.0 KiB
#3 Wrong Answer Read 28, expect 24. 2ms 384.0 KiB
#4 Wrong Answer Read 1088605968, expect 1085713210. 3ms 464.0 KiB
#5 Wrong Answer Read 1092451532, expect 1110417508. 6ms 688.0 KiB
#6 Wrong Answer Read 1074379226, expect 1075018284. 16ms 1.41 MiB
#7 Wrong Answer Read 1078561145, expect 1078410055. 29ms 2.418 MiB
#8 Wrong Answer Read 1073239552, expect 1073703813. 43ms 3.203 MiB
#9 Wrong Answer Read 1068964236, expect 1063566678. 56ms 4.301 MiB
#10 Wrong Answer Read 1072803046, expect 1066952510. 68ms 4.992 MiB

信息

递交者
类型
递交
题目
P1036 安装服务器
语言
C++
递交时间
2021-10-05 21:09:37
评测时间
2021-10-05 21:09:37
评测机
分数
10
总耗时
232ms
峰值内存
4.992 MiB