记录详情

Wrong Answer

/in/foo.cc: In function 'std::vector<int> mul(std::vector<int>&, int, int)':
/in/foo.cc:8:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < num.size() || carry; i++) {
                     ~~^~~~~~~~~~~~
/in/foo.cc:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (i < num.size()) {
             ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 388.0 KiB
#2 Wrong Answer 1ms 424.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
A11-2 K进制的高精度整数
比赛
2023 程序设计与竞赛(作业7:最初的综合)
语言
C++
递交时间
2023-11-11 18:50:09
评测时间
2023-11-11 18:50:09
评测机
分数
0
总耗时
8ms
峰值内存
424.0 KiB