/ 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:67: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 376.0 KiB
#2 Wrong Answer 1ms 324.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 332.0 KiB
#5 Accepted 1ms 336.0 KiB
#6 Accepted 1ms 332.0 KiB
#7 Wrong Answer 9ms 508.0 KiB
#8 Wrong Answer 9ms 504.0 KiB
#9 Wrong Answer 10ms 496.0 KiB
#10 Wrong Answer 10ms 496.0 KiB

信息

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