/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'std::vector<int> mul(std::vector<int>&, int)':
/in/foo.cc:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for( int i = 0; i < A.size() || t; i++ ){
                     ~~^~~~~~~~~~
/in/foo.cc:20:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if( i < A.size() ) t = A[i] * b + t; // 大整数每位与乘数相乘,再加上进位
             ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<ans.size();i++)cout<<ans[i];
                 ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 404.0 KiB
#2 Wrong Answer 1ms 428.0 KiB
#3 Wrong Answer 1ms 336.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Accepted 1ms 328.0 KiB
#6 Accepted 1ms 372.0 KiB
#7 Wrong Answer 10ms 500.0 KiB
#8 Wrong Answer 10ms 512.0 KiB
#9 Wrong Answer 10ms 508.0 KiB
#10 Wrong Answer 10ms 496.0 KiB

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2024-11-13 15:43:34
评测时间
2024-11-13 15:43:34
评测机
分数
20
总耗时
51ms
峰值内存
512.0 KiB