100 Accepted
foo.cc: In function 'void Solve()': foo.cc:49:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int j = 0; j < tmp.size(); j++){ | ~~^~~~~~~~~~~~ foo.cc:61:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 61 | if(s[0][u] > 1 || s[0][u] == 1 && p != nw[0][u]) num[j] = 1; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ foo.cc:76:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 76 | for(int j = 0; j < e[i].size(); j++){ | ~~^~~~~~~~~~~~~ foo.cc:48:18: warning: unused variable 'j' [-Wunused-variable] 48 | for(int i = 1, j = 1; i <= maxx; i++){ | ^ foo.cc:83:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | for(int i = 0; i < tmp.size(); i++){ | ~~^~~~~~~~~~~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Accepted 5 | 6ms | 4.5 MiB |
#2 | Accepted 5 | 2ms | 1.1 MiB |
#3 | Accepted 5 | 2ms | 1.4 MiB |
#4 | Accepted 5 | 7ms | 4.5 MiB |
#5 | Accepted 5 | 7ms | 4.5 MiB |
#6 | Accepted 5 | 1696ms | 10.5 MiB |
#7 | Accepted 5 | 7ms | 4.5 MiB |
#8 | Accepted 5 | 7ms | 4.5 MiB |
#9 | Accepted 5 | 1489ms | 10.6 MiB |
#10 | Accepted 5 | 1342ms | 10.4 MiB |
#11 | Accepted 5 | 7ms | 4.5 MiB |
#12 | Accepted 5 | 7ms | 4.5 MiB |
#13 | Accepted 5 | 1558ms | 10.9 MiB |
#14 | Accepted 5 | 1366ms | 10.8 MiB |
#15 | Accepted 5 | 6ms | 4.5 MiB |
#16 | Accepted 5 | 7ms | 4.5 MiB |
#17 | Accepted 5 | 7ms | 4.5 MiB |
#18 | Accepted 5 | 1489ms | 10.3 MiB |
#19 | Accepted 5 | 1452ms | 10.4 MiB |
#20 | Accepted 5 | 1572ms | 10.6 MiB |
代码
信息
- 递交者
- 题目
- CSPJ2024GFD 接龙
- 比赛
- 【官方数据】CSP-J 2024 HN 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 2.4 KiB
- 递交时间
- 2024-11-5 22:50:06
- 评测时间
- 2024-11-5 22:50:20
- 分数
- 100
- 总耗时
- 12034ms
- 峰值时间
- 1696ms
- 峰值内存
- 10.9 MiB