记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:13:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   13 |         for (int i = 0; i < s2.size(); i++)
      |                         ~~^~~~~~~~~~~
foo.cc:16:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   16 |         for (int i = s1.size() - count; i < s1.size(); i++)
      |                                         ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read , expect 0. 3ms 768.0 KiB

信息

递交者
类型
自测
题目
P1564 Problem 1B. p进制数1
语言
C++
递交时间
2024-04-10 23:22:42
评测时间
2024-04-10 23:22:42
评测机
分数
0
总耗时
3ms
峰值内存
768.0 KiB