8 Runtime Error
foo.cc: In function 'void dfs(std::vector<int>)': foo.cc:40:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 40 | if(!ins(A))return; reg int mx=0; | ^~ foo.cc:3:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3 | #define reg register | ^~~~~~~~ foo.cc:40:24: note: in expansion of macro 'reg' 40 | if(!ins(A))return; reg int mx=0; | ^~~ foo.cc:41:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | for(reg int i=0,j;i<A.size();++i)if(A[i]>mx) | ~^~~~~~~~~ foo.cc:45:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | for(j=i+1;j<A.size();++j)if(i!=j)B.push_back(A[j]); | ~^~~~~~~~~ foo.cc: At global scope: foo.cc:64:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 64 | main() | ^~~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Accepted 4 | 210ms | 267.9 MiB |
#2 | Accepted 4 | 208ms | 267.9 MiB |
#3 | Time Exceeded 0 | ≥5420ms | ≥475.6 MiB |
#4 | Runtime Error 0 | 5241ms | 490.5 MiB |
#5 | Runtime Error 0 | 5300ms | 490.4 MiB |
#6 | Time Exceeded 0 | ≥5417ms | ≥384 MiB |
#7 | Runtime Error 0 | 5204ms | 491.6 MiB |
#8 | Runtime Error 0 | 5174ms | 491.6 MiB |
#9 | Runtime Error 0 | 2855ms | 486 MiB |
#10 | Time Exceeded 0 | ≥5421ms | ≥489.5 MiB |
#11 | Runtime Error 0 | 2873ms | 486.1 MiB |
#12 | Runtime Error 0 | 2723ms | 486.1 MiB |
#13 | Runtime Error 0 | 3029ms | 485.9 MiB |
#14 | Runtime Error 0 | 2742ms | 486.1 MiB |
#15 | Runtime Error 0 | 1390ms | 486.7 MiB |
#16 | Runtime Error 0 | 2246ms | 488.6 MiB |
#17 | Runtime Error 0 | 1282ms | 486.9 MiB |
#18 | Runtime Error 0 | 1251ms | 486.4 MiB |
#19 | Runtime Error 0 | 1269ms | 487.3 MiB |
#20 | Runtime Error 0 | 325ms | 462.8 MiB |
#21 | Runtime Error 0 | 322ms | 462.8 MiB |
#22 | Runtime Error 0 | 322ms | 462.8 MiB |
#23 | Runtime Error 0 | 322ms | 462.8 MiB |
#24 | Runtime Error 0 | 318ms | 462.8 MiB |
#25 | Runtime Error 0 | 320ms | 462.8 MiB |
代码
信息
- 递交者
- 题目
- NOISX2025GFF NOISX2025GFF
- 比赛
- 【官方数据 FJ】联合省选 2025 批量测试
- 语言
- C++14(O2)
- 代码长度
- 1.6 KiB
- 递交时间
- 2025-3-6 13:05:52
- 评测时间
- 2025-3-6 15:22:57
- 分数
- 8
- 总耗时
- 61186ms
- 峰值时间
- 5421ms
- 峰值内存
- 491.6 MiB