Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:11: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
    7 | while(2<=n<1000)
      |       ~~~~^~~~~
foo.cc:7:8: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    7 | while(2<=n<1000)
      |       ~^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 22. 5ms 384.0 KiB
#2 Wrong Answer Read 0, expect 2944. 2ms 384.0 KiB
#3 Wrong Answer Read 0, expect 12032. 6ms 512.0 KiB
#4 Wrong Answer Read 0, expect 75616. 2ms 384.0 KiB
#5 Wrong Answer Read 9, expect 302793. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1327 5-1 互质数
比赛
202112初一阶段反馈赛
语言
C++
递交时间
2021-12-11 09:54:26
评测时间
2021-12-11 09:54:26
评测机
分数
0
总耗时
18ms
峰值内存
512.0 KiB