/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   19 |     freopen("sortt.in","r",stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   20 |     freopen("sortt.out","w",stdout);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:22:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
foo.cc:23:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |     for(int i=1;i<=n;i++)  scanf("%lf",&a[i]);
      |                            ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 235780958048 1ms 256.0 KiB
#2 Wrong Answer 0a1 > 5846211564 1ms 384.0 KiB
#3 Wrong Answer 0a1 > 76543082898 4ms 384.0 KiB
#4 Wrong Answer 0a1 > 11718833865 3ms 384.0 KiB
#5 Wrong Answer 0a1 > 140342868635 1ms 256.0 KiB
#6 Wrong Answer 0a1 > 2320055107 1ms 256.0 KiB
#7 Wrong Answer 0a1 > 61306992880 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1535 逆序对加强版
语言
C++
递交时间
2022-03-17 20:21:54
评测时间
2022-03-17 20:21:54
评测机
分数
0
总耗时
16ms
峰值内存
384.0 KiB