记录详情

Wrong Answer

foo.cc: In function 'std::string up(std::string)':
foo.cc:7:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |         for (int i = 0; i < x.size(); i++)
      |                         ~~^~~~~~~~~~
foo.cc: In function 'std::string Mul(std::string, std::string)':
foo.cc:23:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |                 for (int i = 0; i < out.size(); i++)
      |                                 ~~^~~~~~~~~~~~
foo.cc:26:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |                 for (int j = 0; j < s2.size(); j++)
      |                                 ~~^~~~~~~~~~~
foo.cc: In function 'std::string tran_z_s(std::string)':
foo.cc:36:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |         for (int i = 0; i < x.size(); i++)
      |                         ~~^~~~~~~~~~
foo.cc: In function 'std::string tran_s_z(std::string)':
foo.cc:42:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   42 |         for (int i = 0; i < x.size(); i++)
      |                         ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Wrong Answer Read 0000000000000000..., expect 5941898266428969.... 4ms 412.0 KiB
#4 Wrong Answer Read 413548741120'0,...., expect 2131375077018650.... 8ms 412.0 KiB
#5 Wrong Answer Read 1023887360//.*+0..., expect 1024000000000000.... 16ms 412.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C++
递交时间
2023-10-28 19:41:16
评测时间
2023-10-28 19:41:16
评测机
分数
40
总耗时
39ms
峰值内存
412.0 KiB