记录详情

Wrong Answer

foo.cc: In function 'std::vector<int> mul(std::vector<int>&, LL)':
foo.cc:11:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size()||t;i++)
                 ~^~~~~~~~~
foo.cc:13:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(i<A.size())t+=A[i]*b;
            ~^~~~~~~~~
foo.cc: In function 'std::vector<int> sub(std::vector<int>&, std::vector<int>&)':
foo.cc:23:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0, t = 0; i < A.size(); i ++ )
                            ~~^~~~~~~~~~
foo.cc:26:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (i < B.size()) t -= B[i];
             ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 440.0 KiB
#2 Accepted 1ms 412.0 KiB
#3 Accepted 1ms 412.0 KiB
#4 Accepted 1ms 404.0 KiB
#5 Accepted 1ms 416.0 KiB
#6 Wrong Answer Read -741532707, expect 911465402. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1289 B. It's my own Invention
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 14:37:28
评测时间
2021-11-21 14:37:28
评测机
分数
110
总耗时
10ms
峰值内存
440.0 KiB