/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:25:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d",&r,&a,&t);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:26:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for (int i=1;i<=a;i++) scanf("%lf %lf",&door[i].x,&door[i].y);
                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:29:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lf %lf %lf",&sx,&sy,&v);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 48ms 1.406 MiB
#2 Accepted 10ms 1.359 MiB
#3 Accepted 7ms 516.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Accepted 3ms 696.0 KiB
#6 Accepted 5ms 560.0 KiB
#7 Accepted 7ms 436.0 KiB

信息

递交者
类型
递交
题目
P1212 Way Selection
语言
C++
递交时间
2021-11-15 22:14:56
评测时间
2021-11-15 22:14:56
评测机
分数
100
总耗时
84ms
峰值内存
1.406 MiB