/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:127:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &n);
     ~~~~~^~~~~~~~~~
foo.cc:128:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d%d", &Sx, &Sy, &Tx, &Ty);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:130:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d%d", &ice[i].x1, &ice[i].y1, &ice[i].x2, &ice[i].y2);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 32ms 712.0 KiB
#9 Accepted 59ms 788.0 KiB
#10 Accepted 45ms 772.0 KiB

信息

递交者
类型
递交
题目
P1366 冰原探险
语言
C++
递交时间
2021-01-14 14:02:14
评测时间
2021-01-14 14:02:14
评测机
分数
100
总耗时
157ms
峰值内存
788.0 KiB