50 Wrong Answer
foo.cc: In function 'int solve()': foo.cc:14:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct std::pair<int, int>' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 14 | memset(a,0,sizeof(a)); | ~~~~~~^~~~~~~~~~~~~~~ In file included from /nix/gcc-13.2.0/include/c++/13.2.0/bits/stl_algobase.h:64, from /nix/gcc-13.2.0/include/c++/13.2.0/algorithm:60, from /nix/gcc-13.2.0/include/c++/13.2.0/x86_64-unknown-linux-gnu/bits/stdc++.h:51, from foo.cc:1: /nix/gcc-13.2.0/include/c++/13.2.0/bits/stl_pair.h:187:12: note: 'struct std::pair<int, int>' declared here 187 | struct pair | ^~~~ foo.cc:10:19: warning: unused variable 'cnt' [-Wunused-variable] 10 | int ans=0,cnt=0; | ^~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Wrong Answer 0 | 2ms | 1.4 MiB |
#2 | Accepted 5 | 2ms | 1.4 MiB |
#3 | Wrong Answer 0 | 2ms | 1.5 MiB |
#4 | Wrong Answer 0 | 2ms | 1.4 MiB |
#5 | Accepted 5 | 3ms | 1.5 MiB |
#6 | Accepted 5 | 2ms | 1.5 MiB |
#7 | Accepted 5 | 14ms | 2 MiB |
#8 | Accepted 5 | 15ms | 2 MiB |
#9 | Accepted 5 | 2ms | 1.5 MiB |
#10 | Accepted 5 | 3ms | 1.5 MiB |
#11 | Accepted 5 | 16ms | 2 MiB |
#12 | Accepted 5 | 14ms | 2 MiB |
#13 | Wrong Answer 0 | 3ms | 1.5 MiB |
#14 | Accepted 5 | 2ms | 1.5 MiB |
#15 | Wrong Answer 0 | 16ms | 2 MiB |
#16 | Wrong Answer 0 | 14ms | 2 MiB |
#17 | Wrong Answer 0 | 3ms | 1.5 MiB |
#18 | Wrong Answer 0 | 3ms | 1.5 MiB |
#19 | Wrong Answer 0 | 16ms | 2 MiB |
#20 | Wrong Answer 0 | 17ms | 2.1 MiB |
代码
信息
- 递交者
- 题目
- NOIP2024AGF NOIP2024AGF
- 比赛
- 【官方数据 HA】 NOIP2024 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 2.1 KiB
- 递交时间
- 2024-12-6 16:31:39
- 评测时间
- 2024-12-6 16:45:26
- 分数
- 50
- 总耗时
- 151ms
- 峰值时间
- 17ms
- 峰值内存
- 2.1 MiB