Accepted

foo.cc: In function ‘int main()’:
foo.cc:6:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
    6 |     for(int i = 1; i <= n; i++)x *= 2;
      |                    ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P2329 1.3.20:计算2的幂
语言
C++
递交时间
2025-04-10 21:29:54
评测时间
2025-04-10 21:29:54
评测机
分数
100
总耗时
9ms
峰值内存
504.0 KiB