0 Runtime Error
foo.cc: In function 'std::string add(std::string, std::string)': foo.cc:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 9 | for(int i=0;i<x.size();i++) | ~^~~~~~~~~ foo.cc:13:22: 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<y.size();i++) | ~^~~~~~~~~ foo.cc: In function 'int main()': foo.cc:79:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for(int j=0;j<s.size();j++) | ~^~~~~~~~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Runtime Error 0 | 1101ms | 125.4 MiB |
#2 | Runtime Error 0 | 1101ms | 129.5 MiB |
#3 | Runtime Error 0 | 1101ms | 129.3 MiB |
#4 | Runtime Error 0 | 1101ms | 129.2 MiB |
#5 | Runtime Error 0 | 1100ms | 129.4 MiB |
#6 | Runtime Error 0 | 1100ms | 124.9 MiB |
#7 | Runtime Error 0 | 1100ms | 129.2 MiB |
#8 | Runtime Error 0 | 1100ms | 129.6 MiB |
#9 | Runtime Error 0 | 1101ms | 130 MiB |
#10 | Runtime Error 0 | 1100ms | 128.8 MiB |
代码
信息
- 递交者
- 题目
- CSPJ2024GFC 小木棍
- 比赛
- 【官方数据】CSP-J 2024 GD 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 1.4 KiB
- 递交时间
- 2024-11-4 21:21:13
- 评测时间
- 2024-11-5 3:05:33
- 分数
- 0
- 总耗时
- 11004ms
- 峰值时间
- 1101ms
- 峰值内存
- 130 MiB