Accepted

foo.cc: In function ‘int main()’:
foo.cc:6:26: 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 3ms 536.0 KiB
#2 Accepted 3ms 324.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 3ms 764.0 KiB

信息

递交者
类型
递交
题目
P2329 1.3.20:计算2的幂
语言
C++
递交时间
2024-08-18 17:31:49
评测时间
2024-08-18 17:31:49
评测机
分数
100
总耗时
13ms
峰值内存
764.0 KiB