/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:14:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   14 | fen[j]==fen[j+1]&&ren[j]>ren[j+1])
      | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
foo.cc:5:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
    5 | freopen("score.in","r",stdin);
      | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:6:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
    6 | freopen("score.out","w",stdout);
      | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:8:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 | scanf("%d %d",&n,&m);
      | ~~~~~^~~~~~~~~~~~~~~
foo.cc:10:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 | scanf("%d %d",&ren[i],&fen[i]);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1099ms ≥256.0 KiB
#2 Runtime Error Segmentation fault 2ms 256.0 KiB
#3 Time Exceeded ≥1100ms ≥256.0 KiB
#4 Time Exceeded ≥1100ms ≥256.0 KiB
#5 Runtime Error Segmentation fault 1ms 256.0 KiB
#6 Runtime Error Segmentation fault 1ms 384.0 KiB
#7 Time Exceeded ≥1100ms ≥256.0 KiB
#8 Runtime Error Segmentation fault 2ms 256.0 KiB
#9 Runtime Error Segmentation fault 2ms 256.0 KiB
#10 Time Exceeded ≥1100ms ≥256.0 KiB

信息

递交者
类型
递交
题目
P1813 分数线划定
语言
C++
递交时间
2021-12-18 16:32:38
评测时间
2021-12-18 16:32:38
评测机
分数
0
总耗时
5511ms
峰值内存
384.0 KiB