/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:88:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   88 |     for(int i=1;i<=n;i++) printf("%d ",p[i]); puts("");
      |     ^~~
foo.cc:88:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   88 |     for(int i=1;i<=n;i++) printf("%d ",p[i]); puts("");
      |                                               ^~~~
foo.cc:96:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   96 |     for(int i=1;i<=n;i++) printf("%d ",ans2[i]); puts("");
      |     ^~~
foo.cc:96:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   96 |     for(int i=1;i<=n;i++) printf("%d ",ans2[i]); puts("");
      |                                                  ^~~~
foo.cc:71:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   71 |     freopen("ce.in","r",stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:73:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:74:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   74 |     for(int i=1;i<=n;i++) scanf("%d",&tim[i]);
      |                           ~~~~~^~~~~~~~~~~~~~
foo.cc:78:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   78 |         scanf("%d%d",&x,&y);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 512.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 4ms 384.0 KiB
#6 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#7 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#8 Wrong Answer Standard answer longer than user output. 5ms 384.0 KiB
#9 Wrong Answer Standard answer longer than user output. 3ms 384.0 KiB
#10 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1819 航空管制
语言
C++
递交时间
2022-02-15 21:41:21
评测时间
2022-02-15 21:41:21
评测机
分数
0
总耗时
29ms
峰值内存
512.0 KiB