Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:5: warning: comparison of constant '1000000' with boolean expression is always true [-Wbool-compare]
 1<=n<=1000000&&-1000000<=a<=1000000;
 ~~~~^~~~~~~~~
foo.cc:6:2: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 1<=n<=1000000&&-1000000<=a<=1000000;
 ~^~~
foo.cc:6:27: warning: comparison of constant '1000000' with boolean expression is always true [-Wbool-compare]
 1<=n<=1000000&&-1000000<=a<=1000000;
                ~~~~~~~~~~~^~~~~~~~~
foo.cc:6:24: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 1<=n<=1000000&&-1000000<=a<=1000000;
                ~~~~~~~~^~~
foo.cc:6:14: warning: statement has no effect [-Wunused-value]
 1<=n<=1000000&&-1000000<=a<=1000000;
 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Wrong Answer Read 1e+06, expect 1000000. 1ms 384.0 KiB
#3 Accepted 2ms 476.0 KiB

信息

递交者
类型
递交
题目
P2363 1.5.13:乘方计算
语言
C++
递交时间
2021-11-11 20:37:19
评测时间
2021-11-11 20:37:19
评测机
分数
70
总耗时
5ms
峰值内存
476.0 KiB