/ 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 404.0 KiB
#2 Wrong Answer 1ms 324.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 380.0 KiB
#6 Wrong Answer 1ms 376.0 KiB
#7 Wrong Answer 10ms 504.0 KiB
#8 Wrong Answer 10ms 500.0 KiB
#9 Wrong Answer 10ms 492.0 KiB
#10 Wrong Answer 10ms 468.0 KiB

信息

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