Task: | Wide delivery |
Sender: | AleksandrPolitov |
Submission time: | 2024-10-07 17:08:08 +0300 |
Language: | C++ (C++20) |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | ACCEPTED | 0.01 s | details |
#2 | ACCEPTED | 0.01 s | details |
#3 | ACCEPTED | 0.01 s | details |
#4 | ACCEPTED | 0.01 s | details |
#5 | ACCEPTED | 0.01 s | details |
#6 | ACCEPTED | 0.01 s | details |
#7 | ACCEPTED | 0.01 s | details |
#8 | ACCEPTED | 0.01 s | details |
#9 | ACCEPTED | 0.01 s | details |
#10 | WRONG ANSWER | 0.01 s | details |
#11 | WRONG ANSWER | 0.01 s | details |
#12 | ACCEPTED | 0.01 s | details |
#13 | ACCEPTED | 0.01 s | details |
#14 | WRONG ANSWER | 0.01 s | details |
#15 | ACCEPTED | 0.01 s | details |
#16 | ACCEPTED | 0.01 s | details |
#17 | ACCEPTED | 0.01 s | details |
#18 | ACCEPTED | 0.01 s | details |
#19 | WRONG ANSWER | 0.01 s | details |
#20 | WRONG ANSWER | 0.01 s | details |
#21 | WRONG ANSWER | 0.01 s | details |
#22 | ACCEPTED | 0.01 s | details |
#23 | ACCEPTED | 0.01 s | details |
#24 | WRONG ANSWER | 0.01 s | details |
#25 | WRONG ANSWER | 0.01 s | details |
#26 | WRONG ANSWER | 0.01 s | details |
#27 | WRONG ANSWER | 0.01 s | details |
#28 | ACCEPTED | 0.01 s | details |
#29 | WRONG ANSWER | 0.01 s | details |
#30 | WRONG ANSWER | 0.01 s | details |
#31 | WRONG ANSWER | 0.01 s | details |
#32 | WRONG ANSWER | 0.01 s | details |
#33 | WRONG ANSWER | 0.01 s | details |
#34 | WRONG ANSWER | 0.01 s | details |
#35 | WRONG ANSWER | 0.01 s | details |
#36 | WRONG ANSWER | 0.01 s | details |
#37 | WRONG ANSWER | 0.01 s | details |
#38 | WRONG ANSWER | 0.01 s | details |
#39 | WRONG ANSWER | 0.01 s | details |
#40 | WRONG ANSWER | 0.01 s | details |
#41 | WRONG ANSWER | 0.01 s | details |
#42 | WRONG ANSWER | 0.01 s | details |
#43 | WRONG ANSWER | 0.01 s | details |
#44 | WRONG ANSWER | 0.01 s | details |
#45 | WRONG ANSWER | 0.01 s | details |
#46 | WRONG ANSWER | 0.01 s | details |
#47 | WRONG ANSWER | 0.01 s | details |
#48 | WRONG ANSWER | 0.01 s | details |
#49 | WRONG ANSWER | 0.01 s | details |
#50 | WRONG ANSWER | 0.01 s | details |
#51 | WRONG ANSWER | 0.01 s | details |
#52 | WRONG ANSWER | 0.01 s | details |
#53 | WRONG ANSWER | 0.01 s | details |
#54 | WRONG ANSWER | 0.01 s | details |
#55 | WRONG ANSWER | 0.01 s | details |
#56 | WRONG ANSWER | 0.01 s | details |
#57 | WRONG ANSWER | 0.01 s | details |
#58 | WRONG ANSWER | 0.01 s | details |
#59 | WRONG ANSWER | 0.01 s | details |
#60 | WRONG ANSWER | 0.12 s | details |
#61 | WRONG ANSWER | 0.12 s | details |
#62 | WRONG ANSWER | 0.12 s | details |
#63 | WRONG ANSWER | 0.12 s | details |
#64 | WRONG ANSWER | 0.15 s | details |
#65 | WRONG ANSWER | 0.10 s | details |
#66 | WRONG ANSWER | 0.15 s | details |
#67 | WRONG ANSWER | 0.09 s | details |
#68 | WRONG ANSWER | 0.15 s | details |
#69 | WRONG ANSWER | 0.09 s | details |
Code
#ifdef ONPC #define _GLIBCXX_DEBUG #endif #include <bits/stdc++.h> #define char unsigned char #define rep(i, a, b) for(int i=a; i< (b); ++i) #define all(x) begin(x), end(x) #define sz(x) (int)(x).size() #define eb emplace_back #define mp make_pair #define mt make_tuple #define fi first #define se second #define pb push_back #define LSOne(S) ((S) & -(S)) using namespace std; // mt19937 rnd(239); mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count()); template <typename T> int sgn(T x) { return (T(0) < x) - (x < T(0)); } typedef long double T; typedef complex<T> pt; #define x real() #define y imag() template<class T> istream& operator>> (istream& is, complex<T>& p) { T value; is >> value; p.real(value); is >> value; p.imag(value); return is; } typedef long long ll; typedef long double ld; using pi = pair<ll, ll>; using vi = vector<ll>; template <class T> using pq = priority_queue<T>; template <class T> using pqg = priority_queue<T, vector<T>, greater<T>>; int popcnt(int x) { return __builtin_popcount(x); } int popcnt(ll x) { return __builtin_popcountll(x); } #define MIN(v) *min_element(all(v)) #define MAX(v) *max_element(all(v)) #define LB(c, x) distance((c).begin(), lower_bound(all(c), (x))) #define UB(c, x) distance((c).begin(), upper_bound(all(c), (x))) void __print(int x) {cerr << x;} void __print(long x) {cerr << x;} void __print(long long x) {cerr << x;} void __print(unsigned x) {cerr << x;} void __print(unsigned long x) {cerr << x;} void __print(unsigned long long x) {cerr << x;} void __print(float x) {cerr << x;} void __print(double x) {cerr << x;} void __print(long double x) {cerr << x;} void __print(char x) {cerr << '\'' << x << '\'';} void __print(const char *x) {cerr << '\"' << x << '\"';} void __print(const string &x) {cerr << '\"' << x << '\"';} void __print(bool x) {cerr << (x ? "true" : "false");} template<typename T, typename V> void __print(const pair<T, V> &x) {cerr << '{'; __print(x.first); cerr << ", "; __print(x.second); cerr << '}';} template<typename T> void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i: x) cerr << (f++ ? ", " : ""), __print(i); cerr << "}";} void _print() {cerr << "]\n";} template <typename T, typename... V> void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);} #ifdef DEBUG #define dbg(x...) cerr << "\e[91m"<<__func__<<":"<<__LINE__<<" [" << #x << "] = ["; _print(x); cerr << "\e[39m" << endl; #else #define dbg(x...) #endif template<typename S, typename T = S> void chmin(S &s, T t) {s = s < t ? s : t;} template<typename S, typename T = S> void chmax(S &s, T t) {s = s > t ? s : t;} const int INF = 1e9; // 10^9 = 1B is < 2^31-1 const ll LLINF = 4e18; // 4*10^18 is < 2^63-1 const double EPS = 1e-9; const ll MOD = 1e9+7; const int N=1e5+10; vector<pair<ll,ll>> adj[N]; bool vis[N]; ll res[N]; void dfs(int node, int prev) { if(vis[node]) return; vis[node]=true; for(auto &w:adj[node]) { ll b=w.fi, c=w.se; res[b]=max(res[b], min(res[node], c)); if(!vis[b]) dfs(b, node); } } int solve() { int n, m; std::cin >> n >> m; for (int i = 0; i < m; i++) { int a,b; std::cin >> a >> b; a--; b--; //std::cout << a << " " << b << std::endl; ll w; std::cin >> w; adj[a].pb({b, w}); adj[b].pb({a, w}); } //vector<ll> res(n, 0); res[0]=LLINF; //vector<bool> vis(n, false); dfs(0, -1); for (int i = 1; i < n; i++) { std::cout << res[i] << " "; } std::cout << std::endl; return 0; //return 0; if(false){ vector<bool> vis(n, false); vector<ll> dist(n, LLINF); dist[0]=LLINF; priority_queue<pair<ll, ll>> pq; pq.push({0, 0}); while(!pq.empty()) { ll a=pq.top().se; pq.pop(); if(vis[a]) continue; vis[a]=true; for(auto &w:adj[a]) { //std::cout << w.fi << " " << w.se << std::endl; //continue; ll b=w.fi, c=w.se; //std::cout << a << " " << b << " " << c << std::endl; //continue; if(min(dist[a], c)>dist[b] || dist[b]==LLINF) { dist[b]=min(dist[a], c); pq.push({-dist[b], b}); } } //std::cout << a << ": "; //for (int i = 1; i < n; i++) { //std::cout << dist[i] << " "; //} //std::cout << std::endl; } } for (int i = 1; i < n; i++) { std::cout << res[i] << " "; } std::cout << std::endl; return 0; } int32_t main() { ios::sync_with_stdio(0); cin.tie(0); int TET = 1; //cin >> TET; for (int i = 1; i <= TET; i++) { #ifdef ONPC cout << "TEST CASE#" << i << endl; #endif if (solve()) { break; } #ifdef ONPC cout << "__________________________" << endl; #endif } #ifdef ONPC cerr << endl << "finished in " << clock() * 1.0 / CLOCKS_PER_SEC << " sec" << endl; #endif }
Test details
Test 1
Verdict: ACCEPTED
input |
---|
2 1 1 2 10 |
correct output |
---|
10 |
user output |
---|
10 |
Test 2
Verdict: ACCEPTED
input |
---|
3 2 1 3 2 2 3 3 |
correct output |
---|
2 2 |
user output |
---|
2 2 |
Test 3
Verdict: ACCEPTED
input |
---|
3 2 1 2 7 2 3 9 |
correct output |
---|
7 7 |
user output |
---|
7 7 |
Test 4
Verdict: ACCEPTED
input |
---|
3 2 1 2 7 1 3 5 |
correct output |
---|
7 5 |
user output |
---|
7 5 |
Test 5
Verdict: ACCEPTED
input |
---|
3 2 1 3 5 2 3 1 |
correct output |
---|
1 5 |
user output |
---|
1 5 |
Test 6
Verdict: ACCEPTED
input |
---|
4 5 1 2 6 1 3 6 1 4 7 2 3 7 ... |
correct output |
---|
6 6 7 |
user output |
---|
6 6 7 |
Test 7
Verdict: ACCEPTED
input |
---|
4 6 1 2 10 1 3 2 1 4 4 2 3 4 ... |
correct output |
---|
10 4 7 |
user output |
---|
10 4 7 |
Test 8
Verdict: ACCEPTED
input |
---|
4 5 1 2 5 1 3 1 2 3 3 2 4 2 ... |
correct output |
---|
5 3 3 |
user output |
---|
5 3 3 |
Test 9
Verdict: ACCEPTED
input |
---|
4 5 1 2 5 1 3 1 2 3 3 2 4 2 ... |
correct output |
---|
5 3 3 |
user output |
---|
5 3 3 |
Test 10
Verdict: WRONG ANSWER
input |
---|
5 8 1 2 1 1 5 7 2 3 1 2 4 4 ... |
correct output |
---|
7 7 7 7 |
user output |
---|
1 1 1 7 |
Test 11
Verdict: WRONG ANSWER
input |
---|
5 10 1 2 9 1 3 8 1 4 10 1 5 9 ... |
correct output |
---|
9 9 10 9 |
user output |
---|
9 8 10 9 |
Test 12
Verdict: ACCEPTED
input |
---|
5 5 1 2 5 1 3 5 2 5 5 3 5 4 ... |
correct output |
---|
5 5 4 5 |
user output |
---|
5 5 4 5 |
Test 13
Verdict: ACCEPTED
input |
---|
5 4 1 5 3 2 4 2 2 5 6 3 4 6 |
correct output |
---|
3 2 2 3 |
user output |
---|
3 2 2 3 |
Test 14
Verdict: WRONG ANSWER
input |
---|
5 10 1 2 2 1 3 1 1 4 2 1 5 3 ... |
correct output |
---|
3 3 3 3 |
user output |
---|
2 2 2 3 |
Test 15
Verdict: ACCEPTED
input |
---|
5 4 1 5 3 2 4 4 3 4 10 3 5 10 |
correct output |
---|
3 3 3 3 |
user output |
---|
3 3 3 3 |
Test 16
Verdict: ACCEPTED
input |
---|
5 10 1 2 8 1 3 2 1 4 9 1 5 4 ... |
correct output |
---|
8 8 9 8 |
user output |
---|
8 8 9 8 |
Test 17
Verdict: ACCEPTED
input |
---|
5 5 1 5 8 2 3 5 2 5 10 3 4 4 ... |
correct output |
---|
8 6 4 8 |
user output |
---|
8 6 4 8 |
Test 18
Verdict: ACCEPTED
input |
---|
5 4 1 3 9 1 5 4 2 3 6 2 4 9 |
correct output |
---|
6 9 6 4 |
user output |
---|
6 9 6 4 |
Test 19
Verdict: WRONG ANSWER
input |
---|
5 6 1 2 2 1 3 4 1 4 9 2 3 4 ... |
correct output |
---|
4 8 9 4 |
user output |
---|
2 4 9 2 |
Test 20
Verdict: WRONG ANSWER
input |
---|
10 30 1 2 2 1 4 7 1 7 3 1 9 7 ... |
correct output |
---|
7 7 7 7 7 7 7 7 7 |
user output |
---|
2 2 7 2 2 3 2 7 4 |
Test 21
Verdict: WRONG ANSWER
input |
---|
10 45 1 2 1 1 3 10 1 4 10 1 5 5 ... |
correct output |
---|
9 10 10 8 9 9 9 9 9 |
user output |
---|
1 10 10 5 5 6 4 8 6 |
Test 22
Verdict: ACCEPTED
input |
---|
10 15 1 2 6 1 5 5 2 3 5 2 6 9 ... |
correct output |
---|
6 5 1 5 6 5 2 5 1 |
user output |
---|
6 5 1 5 6 5 2 5 1 |
Test 23
Verdict: ACCEPTED
input |
---|
10 11 1 2 1 1 8 2 2 4 1 3 6 3 ... |
correct output |
---|
1 1 1 1 1 1 2 1 1 |
user output |
---|
1 1 1 1 1 1 2 1 1 |
Test 24
Verdict: WRONG ANSWER
input |
---|
10 42 1 2 10 1 3 10 1 4 10 1 5 2 ... |
correct output |
---|
10 10 10 9 10 10 10 8 10 |
user output |
---|
10 10 10 8 3 10 2 6 10 |
Test 25
Verdict: WRONG ANSWER
input |
---|
10 11 1 3 4 1 7 6 1 8 5 2 8 3 ... |
correct output |
---|
3 4 5 3 3 6 5 6 3 |
user output |
---|
2 4 2 2 2 6 5 1 2 |
Test 26
Verdict: WRONG ANSWER
input |
---|
10 44 1 2 7 1 3 8 1 4 9 1 5 10 ... |
correct output |
---|
9 8 9 10 9 9 9 9 9 |
user output |
---|
7 8 9 10 6 7 9 3 3 |
Test 27
Verdict: WRONG ANSWER
input |
---|
10 17 1 3 8 1 4 7 1 5 3 1 10 10 ... |
correct output |
---|
6 8 7 7 7 8 6 4 10 |
user output |
---|
3 8 7 3 3 6 3 3 10 |
Test 28
Verdict: ACCEPTED
input |
---|
10 9 1 7 9 1 9 3 2 3 5 2 7 1 ... |
correct output |
---|
1 1 3 3 3 9 3 3 3 |
user output |
---|
1 1 3 3 3 9 3 3 3 |
Test 29
Verdict: WRONG ANSWER
input |
---|
10 22 1 2 7 1 3 5 1 5 8 1 7 10 ... |
correct output |
---|
9 9 9 9 10 10 9 9 10 |
user output |
---|
7 7 7 8 1 10 4 2 1 |
Test 30
Verdict: WRONG ANSWER
input |
---|
100 319 1 37 596623826 1 67 998074506 1 68 9921450 1 71 719317411 ... |
correct output |
---|
809139202 779101021 809139202 ... |
user output |
---|
12270137 12270137 12270137 122... Truncated |
Test 31
Verdict: WRONG ANSWER
input |
---|
100 266 1 23 218517540 1 24 983124839 1 31 8592846 1 89 688876470 ... |
correct output |
---|
847611626 667780838 619621653 ... |
user output |
---|
16126507 16678726 16126507 161... Truncated |
Test 32
Verdict: WRONG ANSWER
input |
---|
100 274 1 16 840345805 1 19 904448220 1 38 716537090 1 48 994458105 ... |
correct output |
---|
689140135 768509869 779139365 ... |
user output |
---|
1654353 44287503 1654353 44287... Truncated |
Test 33
Verdict: WRONG ANSWER
input |
---|
100 320 1 2 662868746 1 13 500034126 1 18 920268074 1 28 358826234 ... |
correct output |
---|
718105196 718105196 718105196 ... |
user output |
---|
662868746 42264034 192200269 5... Truncated |
Test 34
Verdict: WRONG ANSWER
input |
---|
100 487 1 6 372811120 1 12 326784229 1 62 767189702 1 63 813226706 ... |
correct output |
---|
827543856 832678805 832678805 ... |
user output |
---|
43145419 372811120 43145419 37... Truncated |
Test 35
Verdict: WRONG ANSWER
input |
---|
100 188 1 26 137494118 1 37 131337951 1 41 826708914 1 70 649947068 ... |
correct output |
---|
649947068 640735040 649947068 ... |
user output |
---|
31107187 31107187 31107187 311... Truncated |
Test 36
Verdict: WRONG ANSWER
input |
---|
100 457 1 7 326353330 1 14 910706862 1 16 631528656 1 22 681300057 ... |
correct output |
---|
820829965 702130526 896049001 ... |
user output |
---|
24204770 24204770 199474902 19... Truncated |
Test 37
Verdict: WRONG ANSWER
input |
---|
100 129 1 38 471910939 1 41 761706427 1 78 839382115 2 3 563011796 ... |
correct output |
---|
507939807 507939807 507939807 ... |
user output |
---|
7670036 7670036 137597705 7670... Truncated |
Test 38
Verdict: WRONG ANSWER
input |
---|
100 450 1 12 923504277 1 26 536204827 1 34 975212858 1 40 448475892 ... |
correct output |
---|
875938306 871669886 869664776 ... |
user output |
---|
695800839 19678190 97227686 24... Truncated |
Test 39
Verdict: WRONG ANSWER
input |
---|
100 103 1 56 527185407 1 74 697438766 2 31 224913296 2 54 924311238 ... |
correct output |
---|
37347058 37347058 8745675 3734... |
user output |
---|
37347058 37347058 8745675 3734... Truncated |
Test 40
Verdict: WRONG ANSWER
input |
---|
200 639 1 68 550240781 1 74 374173245 1 117 548283610 1 128 794673670 ... |
correct output |
---|
717510768 717510768 717510768 ... |
user output |
---|
2902555 106747540 106747540 29... Truncated |
Test 41
Verdict: WRONG ANSWER
input |
---|
200 533 1 61 325205605 1 65 319257144 1 116 525067592 1 124 29641733 ... |
correct output |
---|
637193247 637193247 637193247 ... |
user output |
---|
11128538 11128538 34706631 111... Truncated |
Test 42
Verdict: WRONG ANSWER
input |
---|
200 548 1 19 327701857 1 111 865795841 1 124 520305720 1 126 36803011 ... |
correct output |
---|
614189792 727936226 716643678 ... |
user output |
---|
24812412 24812412 24812412 248... Truncated |
Test 43
Verdict: WRONG ANSWER
input |
---|
200 640 1 3 435247294 1 56 85483517 1 67 895163010 1 117 900338510 ... |
correct output |
---|
766582321 702388421 749350380 ... |
user output |
---|
8179220 435247294 8179220 1930... Truncated |
Test 44
Verdict: WRONG ANSWER
input |
---|
200 974 1 12 787274018 1 24 668226402 1 37 916647978 1 60 654136658 ... |
correct output |
---|
766542739 853023687 809142552 ... |
user output |
---|
13661044 76273748 178988636 76... Truncated |
Test 45
Verdict: WRONG ANSWER
input |
---|
200 377 1 75 609995697 1 133 644237757 1 159 703362524 2 86 532732048 ... |
correct output |
---|
532732048 613334611 703362524 ... |
user output |
---|
5265075 5265075 185414200 8085... Truncated |
Test 46
Verdict: WRONG ANSWER
input |
---|
200 915 1 41 304105798 1 43 990074041 1 44 323946311 1 82 686995848 ... |
correct output |
---|
878680360 818270725 878680360 ... |
user output |
---|
29184014 49083533 29184014 291... Truncated |
Test 47
Verdict: WRONG ANSWER
input |
---|
200 260 1 50 433414357 1 82 889544848 1 146 629986792 2 3 199714786 ... |
correct output |
---|
260814459 247423049 458545197 ... |
user output |
---|
6632210 6632210 6632210 663221... Truncated |
Test 48
Verdict: WRONG ANSWER
input |
---|
200 899 1 12 792915326 1 30 38447351 1 52 548163329 1 58 605992493 ... |
correct output |
---|
839528481 701642263 839528481 ... |
user output |
---|
7793162 127558344 7793162 7793... Truncated |
Test 49
Verdict: WRONG ANSWER
input |
---|
200 207 1 139 75253797 1 186 378941690 2 31 682441131 2 193 520226255 ... |
correct output |
---|
76471569 76471569 24553207 245... |
user output |
---|
8745675 8745675 8745675 245532... Truncated |
Test 50
Verdict: WRONG ANSWER
input |
---|
1000 3195 1 31 992737593 1 101 443344367 1 145 880813289 1 218 632539546 ... |
correct output |
---|
708044511 801259894 665475214 ... |
user output |
---|
15407282 11089515 2975290 1540... Truncated |
Test 51
Verdict: WRONG ANSWER
input |
---|
1000 2667 1 142 559482382 1 290 288767892 1 303 701355423 1 523 235314604 ... |
correct output |
---|
665661624 483591462 665661624 ... |
user output |
---|
4979325 3700665 4979325 370066... Truncated |
Test 52
Verdict: WRONG ANSWER
input |
---|
1000 2743 1 13 406970444 1 265 434163074 1 507 790586661 1 543 122643984 ... |
correct output |
---|
601182566 390173081 730820742 ... |
user output |
---|
2918388 229376214 2918388 2918... Truncated |
Test 53
Verdict: WRONG ANSWER
input |
---|
1000 3203 1 48 328382050 1 262 604204040 1 408 103365525 1 418 456341860 ... |
correct output |
---|
604204040 604204040 604204040 ... |
user output |
---|
16393334 289540 16393334 39235... Truncated |
Test 54
Verdict: WRONG ANSWER
input |
---|
1000 4869 1 98 54871649 1 209 884297355 1 419 142420586 1 517 947321320 ... |
correct output |
---|
563349106 845725704 796515650 ... |
user output |
---|
54871649 15656446 4661898 1646... Truncated |
Test 55
Verdict: WRONG ANSWER
input |
---|
1000 1887 1 201 609895505 1 614 994564074 2 92 165705474 2 711 453568020 ... |
correct output |
---|
453568020 559219929 559219929 ... |
user output |
---|
7607418 62782259 7607418 62782... Truncated |
Test 56
Verdict: WRONG ANSWER
input |
---|
1000 4572 1 46 405238648 1 162 702406672 1 511 821029191 1 534 389746325 ... |
correct output |
---|
798643164 798643164 798643164 ... |
user output |
---|
291296 291296 291296 291296 29... Truncated |
Test 57
Verdict: WRONG ANSWER
input |
---|
1000 1304 1 270 132981930 1 275 840378812 1 608 292432241 2 213 71100983 ... |
correct output |
---|
221855990 272712489 411330140 ... |
user output |
---|
198555 198555 198555 198555 19... Truncated |
Test 58
Verdict: WRONG ANSWER
input |
---|
1000 4494 1 2 512116733 1 33 536320623 1 133 974053720 1 148 283425443 ... |
correct output |
---|
652786316 858166875 858166875 ... |
user output |
---|
512116733 10520705 10520705 15... Truncated |
Test 59
Verdict: WRONG ANSWER
input |
---|
1000 1040 1 757 59516440 1 965 648284414 2 629 401122994 2 710 908626707 ... |
correct output |
---|
22302054 22302054 22302054 223... |
user output |
---|
6270616 66057 66057 66057 6605... Truncated |
Test 60
Verdict: WRONG ANSWER
input |
---|
100000 154882 1 33511 978867794 1 62596 904646466 1 95787 49335302 2 5482 670103920 ... |
correct output |
---|
443566431 443566431 233851994 ... |
user output |
---|
14847 14847 14847 639796 14847... Truncated |
Test 61
Verdict: WRONG ANSWER
input |
---|
100000 141702 1 2516 205209909 1 57052 401636362 2 40643 139232145 2 61512 543549089 ... |
correct output |
---|
139232145 205209909 205209909 ... |
user output |
---|
10759 1179162 10759 2236288 15... Truncated |
Test 62
Verdict: WRONG ANSWER
input |
---|
100000 143600 1 10252 585278633 1 27842 719546578 1 32959 489910952 1 99072 899597141 ... |
correct output |
---|
499599525 499599525 499599525 ... |
user output |
---|
20789 20789 6744 20789 20789 6... Truncated |
Test 63
Verdict: WRONG ANSWER
input |
---|
100000 155080 1 18730 347172856 1 62992 566295906 1 88597 621768522 2 45171 787774115 ... |
correct output |
---|
564607240 367457395 227107693 ... |
user output |
---|
8860 26898 26898 26898 8860 23... Truncated |
Test 64
Verdict: WRONG ANSWER
input |
---|
100000 196705 1 17467 687033132 1 24019 674209470 1 37432 745030271 1 43793 812959110 ... |
correct output |
---|
696430342 515151655 701369436 ... |
user output |
---|
19239 14669 14669 14669 19239 ... Truncated |
Test 65
Verdict: WRONG ANSWER
input |
---|
100000 122199 1 55264 348027668 1 97680 952735621 2 24158 324882355 2 58809 663110970 ... |
correct output |
---|
249264997 155608338 397132612 ... |
user output |
---|
8199 1291 178010 811310 1291 8... Truncated |
Test 66
Verdict: WRONG ANSWER
input |
---|
100000 189288 1 13135 578257724 1 26546 844229453 1 98245 997403805 2 8642 862417615 ... |
correct output |
---|
626438651 487556033 633684516 ... |
user output |
---|
44108 44108 149286 149286 4410... Truncated |
Test 67
Verdict: WRONG ANSWER
input |
---|
100000 107630 1 56075 414317534 1 95761 53615582 2 16544 826029134 2 58165 246076722 ... |
correct output |
---|
53615582 53615582 53615582 536... |
user output |
---|
172509 12 12 12 69 41374 17250... Truncated |
Test 68
Verdict: WRONG ANSWER
input |
---|
100000 187345 1 55230 772133163 1 72992 175103260 2 4680 820511816 2 60050 304027047 ... |
correct output |
---|
631015331 546315776 528478244 ... |
user output |
---|
69188 69188 29331 109371 29331... Truncated |
Test 69
Verdict: WRONG ANSWER
input |
---|
100000 101036 1 31139 432550553 1 32626 97199921 2 59835 174305501 2 71346 929083000 ... |
correct output |
---|
2032871 2032871 2032871 203287... |
user output |
---|
20739 20739 26322 20739 20739 ... Truncated |