记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:23:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   23 |         for(int i=0;i<b1.size();i++)
      |                     ~^~~~~~~~~~
foo.cc:28:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   28 |         for(int i=0;i<b2.size();i++)
      |                     ~^~~~~~~~~~
foo.cc:15:17: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations]
   15 |         num[i+1]=num[i]*2%mod;
      |         ~~~~~~~~^~~~~~~~~~~~~
foo.cc:14:18: note: within this loop
   14 |     for(int i=0;i<=1024;i++)
      |                 ~^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 38, expect 24. 3ms 536.0 KiB

信息

递交者
类型
自测
题目
P1566 Problem 1D. 又是高精度?!
语言
C++
递交时间
2024-04-14 17:22:12
评测时间
2024-04-14 17:22:12
评测机
分数
0
总耗时
3ms
峰值内存
536.0 KiB