/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int cantor(const string&)':
foo.cc:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |     for(int i = 0; i < s.size(); i ++){
      |                    ~~^~~~~~~~~~
foo.cc:26:30: 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 = i + 1; j < s.size(); j ++){
      |                            ~~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:92:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   92 |     for(int i = 0; i < start.size(); i ++)
      |                    ~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 42ms 3.25 MiB
#3 Accepted 11ms 3.125 MiB
#4 Accepted 64ms 3.375 MiB
#5 Accepted 13ms 3.0 MiB
#6 Accepted 9ms 3.0 MiB
#7 Accepted 61ms 3.367 MiB
#8 Accepted 71ms 3.375 MiB
#9 Accepted 6ms 2.25 MiB
#10 Accepted 61ms 3.375 MiB

信息

递交者
类型
递交
题目
P1337 滑动拼板
题目数据
下载
语言
C++
递交时间
2022-07-19 18:52:48
评测时间
2022-07-19 18:52:48
评测机
分数
100
总耗时
345ms
峰值内存
3.375 MiB