/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++)
     ^~~
foo.cc:24:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  printf("%d",Gun);
  ^~~~~~
foo.cc:15:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d",&x,&x,&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",&a[i].x,&a[i].y);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 422ms 624.0 KiB
#2 Accepted 424ms 584.0 KiB
#3 Accepted 426ms 596.0 KiB
#4 Accepted 425ms 608.0 KiB
#5 Accepted 433ms 576.0 KiB
#6 Accepted 128ms 524.0 KiB
#7 Accepted 122ms 536.0 KiB
#8 Accepted 121ms 528.0 KiB
#9 Accepted 121ms 536.0 KiB
#10 Accepted 121ms 532.0 KiB

信息

递交者
类型
递交
题目
P1638 抢救文件
语言
C++
递交时间
2021-08-09 16:35:02
评测时间
2021-08-09 16:35:02
评测机
分数
100
总耗时
2748ms
峰值内存
624.0 KiB