用户输出
Yes
4 2 2
Special Judge 信息
AC!
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#23873 | #2043. 线段树 | Accepted | 100 | 371 ms | 2548 K | C++ 17 (Clang) / 1.5 K | 192022211822 | 2024-12-18 15:14:22 |
// #include<iostream>
// #include<iomanip>
// #include<vector>
// #include<queue>
// #include<string>
// #include<map>
// #include <algorithm>
// #include<cmath>
// #include<unordered_map>
using namespace std;
const int M = 1e6 + 7;
const int N = 1e3 + 7;
int n, node;
vector<int> num;
unordered_map<int, int> m;
unordered_map<int, int> deep;
unordered_map<int, pii> lrtree;
int tree;
void
signed
用户输出
Yes
4 2 2
Special Judge 信息
AC!
系统信息
Exited with return code 0
用户输出
Yes
8 3 5 1 2 2 3
Special Judge 信息
AC!
系统信息
Exited with return code 0
用户输出
No
Special Judge 信息
AC
系统信息
Exited with return code 0
1000 262143
196459294168122057 634354265635305343 769826666322937037 727838616694226973 13432407572
<18754 bytes omitted>
YES
1152921504606846976 576460752303423488 576460752303423488 288230376151711744 288230376151711744
<3819552 bytes omitted>
用户输出
Yes
576460752303423488 288230376151711744 288230376151711744 144115188075855872 144115188075855872 144115188075855872 1441151880
<3744697 bytes omitted>
Special Judge 信息
AC!
系统信息
Exited with return code 0
1000 262143
196459294168122057 634354265635305343 769826666322937037 727838616694226973 13432407572
<18754 bytes omitted>
YES
1152921504606846976 576460752303423488 576460752303423488 288230376151711744 288230376151711744
<3819552 bytes omitted>
用户输出
Yes
576460752303423488 288230376151711744 288230376151711744 144115188075855872 144115188075855872 144115188075855872 1441151880
<3744697 bytes omitted>
Special Judge 信息
AC!
系统信息
Exited with return code 0
1000 262143
903180121091114613 611535431953358118 77828605464411109 545275249615134953 879799372887
<18765 bytes omitted>
YES
288230376151711744 144115188075855872 144115188075855872 72057594037927936 72057594037927936 72
<3707315 bytes omitted>
用户输出
Yes
576460752303423488 288230376151711744 288230376151711744 144115188075855872 144115188075855872 144115188075855872 1441151880
<3744697 bytes omitted>
Special Judge 信息
AC!
系统信息
Exited with return code 0
用户输出
Yes
1919810
Special Judge 信息
AC!
系统信息
Exited with return code 0
1000 262143
263 120 395 789 44 641 819 1894 6987 36 460 1065 112 216 151 8940694 4990 832 308 375 1
<4677 bytes omitted>
用户输出
No
Special Judge 信息
AC
系统信息
Exited with return code 0
1000 262143
2238 1591 113 2438 325528815460 171 573 218 1387 742 1295 2527 2613 43 6213263926707787
<4617 bytes omitted>
用户输出
No
Special Judge 信息
AC
系统信息
Exited with return code 0
用户输出
Yes
5 2 3 1 1 1 2
Special Judge 信息
AC!
系统信息
Exited with return code 0
1000 262143
224485016991701037 288836471541711053 342664574046288584 370246615337682648 65992527767
<18804 bytes omitted>
用户输出
No
Special Judge 信息
AC
系统信息
Exited with return code 0
YES
5000000000000000 3000000000000000 2000000000000000 1000000000000000 2000000000000000 1000000000
<25 bytes omitted>
用户输出
Yes
5000000000000000 2000000000000000 3000000000000000 1000000000000000 1000000000000000 1000000000000000 2000000000000000
Special Judge 信息
AC!
系统信息
Exited with return code 0
1000 262143
493 973 44 921 1534 1904 1425 1655 260 1564 1420 1155 1971 1079 731 1690 996 1512 1679
<4371 bytes omitted>
用户输出
No
Special Judge 信息
AC
系统信息
Exited with return code 0
1000 262143
599 1305 813 662 1286 205 1831 1229 1160 1276 814 947 1150 1023 1888 1399 1469 20 1593
<4342 bytes omitted>
用户输出
No
Special Judge 信息
AC
系统信息
Exited with return code 0
1000 262143
187372299518279260 43602130474742763 44819282172062712 812635660484197841 2263756353061
<18513 bytes omitted>
YES
7340032 3670016 3670016 1835008 1835008 1835008 1835008 917504 917504 917504 917504 917504 9175
<926754 bytes omitted>
用户输出
Yes
917504 458752 458752 229376 229376 229376 229376 114688 114688 114688 114688 114688 114688 114688 114688 57344 57344 57344 5
<672781 bytes omitted>
Special Judge 信息
AC!
系统信息
Exited with return code 0
20 262143
176 11 720896 1441792 2816 5632 22 360448 5767168 704 90112 2883584 352 1408 22528 45056
<20 bytes omitted>
YES
5767168 2883584 2883584 1441792 1441792 1441792 1441792 720896 720896 720896 720896 720896 7208
<861154 bytes omitted>
用户输出
Yes
5767168 2883584 2883584 1441792 1441792 1441792 1441792 720896 720896 720896 720896 720896 720896 720896 720896 360448 36044
<861124 bytes omitted>
Special Judge 信息
AC!
系统信息
Exited with return code 0