记录详情

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 /.).,+,)-(./,''-..., expect 1378061233982227.... 8ms 412.0 KiB
#4 Wrong Answer Read 1122206067710631..., expect 3406417526964407.... 16ms 424.0 KiB
#5 Wrong Answer Read 10388340/0,).-+*..., expect 2986228355078392.... 8ms 412.0 KiB

信息

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