| Task: | Manhattan sightseeing |
| Sender: | aalto25e_004 |
| Submission time: | 2025-10-01 17:39:13 +0300 |
| Language: | C++ (C++20) |
| Status: | READY |
| Result: | WRONG ANSWER |
| test | verdict | time | |
|---|---|---|---|
| #1 | ACCEPTED | 0.00 s | details |
| #2 | ACCEPTED | 0.00 s | details |
| #3 | ACCEPTED | 0.00 s | details |
| #4 | ACCEPTED | 0.00 s | details |
| #5 | WRONG ANSWER | 0.00 s | details |
| #6 | WRONG ANSWER | 0.00 s | details |
| #7 | ACCEPTED | 0.00 s | details |
| #8 | ACCEPTED | 0.00 s | details |
| #9 | ACCEPTED | 0.00 s | details |
| #10 | WRONG ANSWER | 0.00 s | details |
| #11 | WRONG ANSWER | 0.00 s | details |
| #12 | ACCEPTED | 0.00 s | details |
| #13 | WRONG ANSWER | 0.00 s | details |
| #14 | ACCEPTED | 0.00 s | details |
| #15 | ACCEPTED | 0.00 s | details |
| #16 | WRONG ANSWER | 0.00 s | details |
| #17 | WRONG ANSWER | 0.00 s | details |
| #18 | ACCEPTED | 0.00 s | details |
| #19 | ACCEPTED | 0.00 s | details |
| #20 | WRONG ANSWER | 0.00 s | details |
| #21 | ACCEPTED | 0.00 s | details |
| #22 | ACCEPTED | 0.00 s | details |
| #23 | ACCEPTED | 0.00 s | details |
| #24 | WRONG ANSWER | 0.00 s | details |
| #25 | WRONG ANSWER | 0.00 s | details |
| #26 | WRONG ANSWER | 0.00 s | details |
| #27 | ACCEPTED | 0.00 s | details |
| #28 | WRONG ANSWER | 0.00 s | details |
| #29 | ACCEPTED | 0.00 s | details |
| #30 | WRONG ANSWER | 0.00 s | details |
| #31 | WRONG ANSWER | 0.00 s | details |
| #32 | WRONG ANSWER | 0.00 s | details |
| #33 | ACCEPTED | 0.00 s | details |
| #34 | WRONG ANSWER | 0.00 s | details |
| #35 | WRONG ANSWER | 0.00 s | details |
| #36 | WRONG ANSWER | 0.00 s | details |
| #37 | WRONG ANSWER | 0.00 s | details |
| #38 | WRONG ANSWER | 0.00 s | details |
| #39 | WRONG ANSWER | 0.00 s | details |
| #40 | WRONG ANSWER | 0.00 s | details |
| #41 | WRONG ANSWER | 0.00 s | details |
| #42 | ACCEPTED | 0.00 s | details |
| #43 | WRONG ANSWER | 0.00 s | details |
| #44 | WRONG ANSWER | 0.00 s | details |
| #45 | WRONG ANSWER | 0.00 s | details |
| #46 | WRONG ANSWER | 0.00 s | details |
| #47 | WRONG ANSWER | 0.00 s | details |
| #48 | WRONG ANSWER | 0.00 s | details |
| #49 | WRONG ANSWER | 0.00 s | details |
| #50 | ACCEPTED | 0.00 s | details |
| #51 | WRONG ANSWER | 0.00 s | details |
| #52 | ACCEPTED | 0.00 s | details |
| #53 | WRONG ANSWER | 0.00 s | details |
| #54 | WRONG ANSWER | 0.00 s | details |
| #55 | ACCEPTED | 0.00 s | details |
| #56 | WRONG ANSWER | 0.00 s | details |
| #57 | WRONG ANSWER | 0.00 s | details |
| #58 | WRONG ANSWER | 0.00 s | details |
| #59 | WRONG ANSWER | 0.01 s | details |
| #60 | WRONG ANSWER | 0.00 s | details |
| #61 | WRONG ANSWER | 0.01 s | details |
| #62 | WRONG ANSWER | 0.01 s | details |
| #63 | ACCEPTED | 0.01 s | details |
| #64 | WRONG ANSWER | 0.01 s | details |
| #65 | WRONG ANSWER | 0.01 s | details |
| #66 | WRONG ANSWER | 0.01 s | details |
| #67 | WRONG ANSWER | 0.00 s | details |
| #68 | WRONG ANSWER | 0.10 s | details |
| #69 | WRONG ANSWER | 0.10 s | details |
| #70 | WRONG ANSWER | 0.10 s | details |
| #71 | WRONG ANSWER | 0.10 s | details |
| #72 | WRONG ANSWER | 0.10 s | details |
| #73 | WRONG ANSWER | 0.10 s | details |
| #74 | WRONG ANSWER | 0.11 s | details |
| #75 | WRONG ANSWER | 0.10 s | details |
| #76 | ACCEPTED | 0.11 s | details |
| #77 | WRONG ANSWER | 0.10 s | details |
Code
#include <algorithm>
#include <bits/stdc++.h>
#include <csetjmp>
using namespace std;
// clang-format off
template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; }
template<typename T_container, typename T = typename enable_if<!is_same<T_container, string>::value, typename T_container::value_type>::type> ostream& operator<<(ostream &os, const T_container &v) { string sep; for (const T &x : v) os << sep << x, sep = " "; return os << '}'; }
void dbg_out() { cerr << endl; }
template<typename Head, typename... Tail> void dbg_out(Head H, Tail... T) { cerr << ' ' << H; dbg_out(T...); }
template <typename T> istream &operator>>(istream &is, vector<T> &v) { T value; is >> value; v.push_back(value); return is; }
#define preamble ios::sync_with_stdio(0); cin.tie(0); dbg("INIT");
// clang-format on
#ifdef DO_DBG
#define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__)
#else
#define dbg(...)
#endif
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
template <typename T> using v = vector<T>;
template <typename T> using us = unordered_set<T>;
template <typename K, typename V> using um = unordered_map<K, V>;
constexpr int MOD = 1e9 + 7;
const int INF = 1e9;
const ld EPS = 1e-9;
#define loopi(n) for (int i = 0; i < n; i++)
#define loopj(n) for (int j = 0; j < n; j++)
#define loopk(n) for (int k = 0; k < n; k++)
#define loopz(n) for (int z = 0; z < n; z++)
#define all(v) v.begin(), v.end()
#define rall(v) v.rbegin(), v.rend()
#define sq(x) ((x) * (x))
#define basic \
ll n; \
cin >> n; \
v<ull> a; \
loopi(n) cin >> a;
int main() {
ll n;
cin >> n;
v<ll> ax;
v<ll> ay;
v<ll> a1;
loopi(n) {
ll x, y;
cin >> x >> y;
ax.push_back(x);
ay.push_back(y);
a1.push_back(x + y);
}
auto p = max_element(all(a1)) - a1.begin();
auto q = min_element(all(a1)) - a1.begin();
dbg(p, q);
auto x = (ax[p] + ax[q]) / 2;
auto y = (ay[p] + ay[q]) / 2;
loopi(n) { dbg(abs(ax[i] - x) + abs(ay[i] - y)); }
cout << x << " " << y << "\n";
}
Test details
Test 1
Verdict: ACCEPTED
| input |
|---|
| 1 7 7 |
| correct output |
|---|
| 7 7 |
| user output |
|---|
| 7 7 |
Test 2
Verdict: ACCEPTED
| input |
|---|
| 1 1 5 |
| correct output |
|---|
| 1 5 |
| user output |
|---|
| 1 5 |
Test 3
Verdict: ACCEPTED
| input |
|---|
| 2 8 1 3 3 |
| correct output |
|---|
| 5 2 |
| user output |
|---|
| 5 2 |
Test 4
Verdict: ACCEPTED
| input |
|---|
| 2 1 5 3 2 |
| correct output |
|---|
| 2 3 |
| user output |
|---|
| 2 3 |
Test 5
Verdict: WRONG ANSWER
| input |
|---|
| 3 6 3 2 3 6 1 |
| correct output |
|---|
| 4 2 |
| user output |
|---|
| 4 3 |
Test 6
Verdict: WRONG ANSWER
| input |
|---|
| 3 9 6 3 8 9 4 |
| correct output |
|---|
| 6 6 |
| user output |
|---|
| 6 7 |
Test 7
Verdict: ACCEPTED
| input |
|---|
| 3 8 7 8 6 8 7 |
| correct output |
|---|
| 8 6 |
| user output |
|---|
| 8 6 |
Test 8
Verdict: ACCEPTED
| input |
|---|
| 4 3 6 9 9 7 9 5 1 |
| correct output |
|---|
| 6 6 |
| user output |
|---|
| 7 5 |
Test 9
Verdict: ACCEPTED
| input |
|---|
| 4 3 1 2 9 8 9 6 8 |
| correct output |
|---|
| 4 6 |
| user output |
|---|
| 5 5 |
Test 10
Verdict: WRONG ANSWER
| input |
|---|
| 4 6 5 8 3 9 3 7 9 |
| correct output |
|---|
| 7 5 |
| user output |
|---|
| 6 7 |
Test 11
Verdict: WRONG ANSWER
| input |
|---|
| 4 2 8 9 7 5 1 3 7 |
| correct output |
|---|
| 5 6 |
| user output |
|---|
| 7 4 |
Test 12
Verdict: ACCEPTED
| input |
|---|
| 4 5 5 6 3 8 5 2 4 |
| correct output |
|---|
| 4 5 |
| user output |
|---|
| 5 4 |
Test 13
Verdict: WRONG ANSWER
| input |
|---|
| 4 7 3 8 7 3 2 8 6 |
| correct output |
|---|
| 6 4 |
| user output |
|---|
| 5 4 |
Test 14
Verdict: ACCEPTED
| input |
|---|
| 4 1 3 7 6 2 6 3 4 |
| correct output |
|---|
| 3 5 |
| user output |
|---|
| 4 4 |
Test 15
Verdict: ACCEPTED
| input |
|---|
| 4 7 8 3 1 2 3 3 2 |
| correct output |
|---|
| 4 5 |
| user output |
|---|
| 5 4 |
Test 16
Verdict: WRONG ANSWER
| input |
|---|
| 4 2 7 9 1 3 5 2 1 |
| correct output |
|---|
| 3 2 |
| user output |
|---|
| 5 1 |
Test 17
Verdict: WRONG ANSWER
| input |
|---|
| 4 7 7 2 2 7 3 1 8 |
| correct output |
|---|
| 4 5 |
| user output |
|---|
| 4 4 |
Test 18
Verdict: ACCEPTED
| input |
|---|
| 5 5 6 7 8 6 8 5 8 ... |
| correct output |
|---|
| 5 7 |
| user output |
|---|
| 5 7 |
Test 19
Verdict: ACCEPTED
| input |
|---|
| 5 4 9 7 9 1 2 3 9 ... |
| correct output |
|---|
| 3 6 |
| user output |
|---|
| 4 5 |
Test 20
Verdict: WRONG ANSWER
| input |
|---|
| 5 4 2 1 9 5 9 4 5 ... |
| correct output |
|---|
| 3 6 |
| user output |
|---|
| 4 5 |
Test 21
Verdict: ACCEPTED
| input |
|---|
| 5 5 1 7 8 3 2 5 6 ... |
| correct output |
|---|
| 6 4 |
| user output |
|---|
| 5 5 |
Test 22
Verdict: ACCEPTED
| input |
|---|
| 5 9 9 5 2 9 8 7 6 ... |
| correct output |
|---|
| 6 6 |
| user output |
|---|
| 7 5 |
Test 23
Verdict: ACCEPTED
| input |
|---|
| 5 2 1 8 8 2 4 9 9 ... |
| correct output |
|---|
| 5 5 |
| user output |
|---|
| 5 5 |
Test 24
Verdict: WRONG ANSWER
| input |
|---|
| 5 9 9 3 2 8 1 1 4 ... |
| correct output |
|---|
| 5 5 |
| user output |
|---|
| 6 5 |
Test 25
Verdict: WRONG ANSWER
| input |
|---|
| 5 1 3 8 3 4 9 7 5 ... |
| correct output |
|---|
| 4 4 |
| user output |
|---|
| 2 6 |
Test 26
Verdict: WRONG ANSWER
| input |
|---|
| 5 8 1 9 3 8 4 5 8 ... |
| correct output |
|---|
| 6 4 |
| user output |
|---|
| 4 6 |
Test 27
Verdict: ACCEPTED
| input |
|---|
| 5 1 4 5 5 5 1 2 3 ... |
| correct output |
|---|
| 3 3 |
| user output |
|---|
| 3 3 |
Test 28
Verdict: WRONG ANSWER
| input |
|---|
| 10 5 6 7 8 6 8 5 8 ... |
| correct output |
|---|
| 6 4 |
| user output |
|---|
| 5 5 |
Test 29
Verdict: ACCEPTED
| input |
|---|
| 10 4 9 7 9 1 2 3 9 ... |
| correct output |
|---|
| 3 6 |
| user output |
|---|
| 4 5 |
Test 30
Verdict: WRONG ANSWER
| input |
|---|
| 10 4 2 1 9 5 9 4 5 ... |
| correct output |
|---|
| 3 5 |
| user output |
|---|
| 4 5 |
Test 31
Verdict: WRONG ANSWER
| input |
|---|
| 10 5 1 7 8 3 2 5 6 ... |
| correct output |
|---|
| 5 3 |
| user output |
|---|
| 4 4 |
Test 32
Verdict: WRONG ANSWER
| input |
|---|
| 10 9 9 5 2 9 8 7 6 ... |
| correct output |
|---|
| 5 6 |
| user output |
|---|
| 5 5 |
Test 33
Verdict: ACCEPTED
| input |
|---|
| 10 2 1 8 8 2 4 9 9 ... |
| correct output |
|---|
| 4 6 |
| user output |
|---|
| 5 5 |
Test 34
Verdict: WRONG ANSWER
| input |
|---|
| 10 9 9 3 2 8 1 1 4 ... |
| correct output |
|---|
| 5 5 |
| user output |
|---|
| 6 5 |
Test 35
Verdict: WRONG ANSWER
| input |
|---|
| 10 1 3 8 3 4 9 7 5 ... |
| correct output |
|---|
| 4 4 |
| user output |
|---|
| 2 6 |
Test 36
Verdict: WRONG ANSWER
| input |
|---|
| 10 8 1 9 3 8 4 5 8 ... |
| correct output |
|---|
| 5 4 |
| user output |
|---|
| 4 6 |
Test 37
Verdict: WRONG ANSWER
| input |
|---|
| 10 1 4 5 5 5 1 2 3 ... |
| correct output |
|---|
| 2 3 |
| user output |
|---|
| 3 3 |
Test 38
Verdict: WRONG ANSWER
| input |
|---|
| 100 589284012 636562060 767928734 906523441 647212241 921212095 585063857 909729626 ... |
| correct output |
|---|
| 485094485 480883850 |
| user output |
|---|
| 477815014 488163321 |
Test 39
Verdict: WRONG ANSWER
| input |
|---|
| 100 447773962 773442532 122816 137572579 324627123 157577940 253498609 99147813 ... |
| correct output |
|---|
| 534004334 480422569 |
| user output |
|---|
| 484521934 529904968 |
Test 40
Verdict: WRONG ANSWER
| input |
|---|
| 100 468145963 198730372 27838076 590195590 467423861 520495379 451366491 344173378 ... |
| correct output |
|---|
| 505241702 553085427 |
| user output |
|---|
| 509066487 549260642 |
Test 41
Verdict: WRONG ANSWER
| input |
|---|
| 100 591414747 75940263 760367935 901888417 312356591 130275571 548496961 611293382 ... |
| correct output |
|---|
| 512794087 502710728 |
| user output |
|---|
| 525163311 490341505 |
Test 42
Verdict: ACCEPTED
| input |
|---|
| 100 967034924 587586158 185430194 918715995 767527830 653946995 749180621 641621091 ... |
| correct output |
|---|
| 467598795 543711879 |
| user output |
|---|
| 490982356 520328318 |
Test 43
Verdict: WRONG ANSWER
| input |
|---|
| 100 238363353 59249204 934941692 892631472 221963002 390559518 986350949 524427523 ... |
| correct output |
|---|
| 511067632 465512739 |
| user output |
|---|
| 510339891 466240479 |
Test 44
Verdict: WRONG ANSWER
| input |
|---|
| 100 958701283 356460601 224848374 881788059 68992860 44771412 397401947 115595477 ... |
| correct output |
|---|
| 542243492 445601576 |
| user output |
|---|
| 525301345 462543724 |
Test 45
Verdict: WRONG ANSWER
| input |
|---|
| 100 81935404 244103474 837431431 342493822 470738321 776814822 489180570 330726191 ... |
| correct output |
|---|
| 530569655 531085018 |
| user output |
|---|
| 551743174 509911499 |
Test 46
Verdict: WRONG ANSWER
| input |
|---|
| 100 937837681 11934038 257096283 933290530 405355767 570001955 876668629 249890139 ... |
| correct output |
|---|
| 489890640 449453691 |
| user output |
|---|
| 427033981 512310351 |
Test 47
Verdict: WRONG ANSWER
| input |
|---|
| 100 11139168 391337048 538883744 535937150 532332526 8099343 143698367 339543270 ... |
| correct output |
|---|
| 478577648 507747978 |
| user output |
|---|
| 502990175 483335450 |
Test 48
Verdict: WRONG ANSWER
| input |
|---|
| 200 589284012 636562060 767928734 906523441 647212241 921212095 585063857 909729626 ... |
| correct output |
|---|
| 484364945 481613390 |
| user output |
|---|
| 477815014 488163321 |
Test 49
Verdict: WRONG ANSWER
| input |
|---|
| 200 447773962 773442532 122816 137572579 324627123 157577940 253498609 99147813 ... |
| correct output |
|---|
| 528519875 485907028 |
| user output |
|---|
| 484521934 529904968 |
Test 50
Verdict: ACCEPTED
| input |
|---|
| 200 468145963 198730372 27838076 590195590 467423861 520495379 451366491 344173378 ... |
| correct output |
|---|
| 482800416 512251704 |
| user output |
|---|
| 496157585 498894535 |
Test 51
Verdict: WRONG ANSWER
| input |
|---|
| 200 591414747 75940263 760367935 901888417 312356591 130275571 548496961 611293382 ... |
| correct output |
|---|
| 492010316 481926957 |
| user output |
|---|
| 521958245 451979028 |
Test 52
Verdict: ACCEPTED
| input |
|---|
| 200 967034924 587586158 185430194 918715995 767527830 653946995 749180621 641621091 ... |
| correct output |
|---|
| 473998199 537312475 |
| user output |
|---|
| 490982356 520328318 |
Test 53
Verdict: WRONG ANSWER
| input |
|---|
| 200 238363353 59249204 934941692 892631472 221963002 390559518 986350949 524427523 ... |
| correct output |
|---|
| 535342378 489787485 |
| user output |
|---|
| 487582481 537547382 |
Test 54
Verdict: WRONG ANSWER
| input |
|---|
| 200 958701283 356460601 224848374 881788059 68992860 44771412 397401947 115595477 ... |
| correct output |
|---|
| 541418009 466378372 |
| user output |
|---|
| 480193770 527602610 |
Test 55
Verdict: ACCEPTED
| input |
|---|
| 200 81935404 244103474 837431431 342493822 470738321 776814822 489180570 330726191 ... |
| correct output |
|---|
| 471167122 531480104 |
| user output |
|---|
| 474168196 528479030 |
Test 56
Verdict: WRONG ANSWER
| input |
|---|
| 200 937837681 11934038 257096283 933290530 405355767 570001955 876668629 249890139 ... |
| correct output |
|---|
| 480355638 503030740 |
| user output |
|---|
| 466370139 517016239 |
Test 57
Verdict: WRONG ANSWER
| input |
|---|
| 200 11139168 391337048 538883744 535937150 532332526 8099343 143698367 339543270 ... |
| correct output |
|---|
| 488427758 499286474 |
| user output |
|---|
| 513586474 474127758 |
Test 58
Verdict: WRONG ANSWER
| input |
|---|
| 1000 589284012 636562060 767928734 906523441 647212241 921212095 585063857 909729626 ... |
| correct output |
|---|
| 497956378 486069415 |
| user output |
|---|
| 502058349 481967445 |
Test 59
Verdict: WRONG ANSWER
| input |
|---|
| 1000 447773962 773442532 122816 137572579 324627123 157577940 253498609 99147813 ... |
| correct output |
|---|
| 494047134 512602597 |
| user output |
|---|
| 527629910 479019822 |
Test 60
Verdict: WRONG ANSWER
| input |
|---|
| 1000 468145963 198730372 27838076 590195590 467423861 520495379 451366491 344173378 ... |
| correct output |
|---|
| 497994845 501561827 |
| user output |
|---|
| 502919056 496637615 |
Test 61
Verdict: WRONG ANSWER
| input |
|---|
| 1000 591414747 75940263 760367935 901888417 312356591 130275571 548496961 611293382 ... |
| correct output |
|---|
| 483630640 485770068 |
| user output |
|---|
| 488103963 481296746 |
Test 62
Verdict: WRONG ANSWER
| input |
|---|
| 1000 967034924 587586158 185430194 918715995 767527830 653946995 749180621 641621091 ... |
| correct output |
|---|
| 484246063 524460613 |
| user output |
|---|
| 516270500 492436175 |
Test 63
Verdict: ACCEPTED
| input |
|---|
| 1000 238363353 59249204 934941692 892631472 221963002 390559518 986350949 524427523 ... |
| correct output |
|---|
| 482084242 498558858 |
| user output |
|---|
| 502312575 478330525 |
Test 64
Verdict: WRONG ANSWER
| input |
|---|
| 1000 958701283 356460601 224848374 881788059 68992860 44771412 397401947 115595477 ... |
| correct output |
|---|
| 517911118 490640905 |
| user output |
|---|
| 493289807 515262216 |
Test 65
Verdict: WRONG ANSWER
| input |
|---|
| 1000 81935404 244103474 837431431 342493822 470738321 776814822 489180570 330726191 ... |
| correct output |
|---|
| 516584474 493117116 |
| user output |
|---|
| 488031757 521669832 |
Test 66
Verdict: WRONG ANSWER
| input |
|---|
| 1000 937837681 11934038 257096283 933290530 405355767 570001955 876668629 249890139 ... |
| correct output |
|---|
| 505395058 493501350 |
| user output |
|---|
| 503489941 495406467 |
Test 67
Verdict: WRONG ANSWER
| input |
|---|
| 1000 11139168 391337048 538883744 535937150 532332526 8099343 143698367 339543270 ... |
| correct output |
|---|
| 487882612 490398120 |
| user output |
|---|
| 476787940 501492792 |
Test 68
Verdict: WRONG ANSWER
| input |
|---|
| 100000 589284012 636562060 767928734 906523441 647212241 921212095 585063857 909729626 ... |
| correct output |
|---|
| 499279419 501141977 |
| user output |
|---|
| 501333131 499088264 |
Test 69
Verdict: WRONG ANSWER
| input |
|---|
| 100000 447773962 773442532 122816 137572579 324627123 157577940 253498609 99147813 ... |
| correct output |
|---|
| 499924856 502172257 |
| user output |
|---|
| 499929624 502167489 |
Test 70
Verdict: WRONG ANSWER
| input |
|---|
| 100000 468145963 198730372 27838076 590195590 467423861 520495379 451366491 344173378 ... |
| correct output |
|---|
| 501207411 500741195 |
| user output |
|---|
| 500514602 501434004 |
Test 71
Verdict: WRONG ANSWER
| input |
|---|
| 100000 591414747 75940263 760367935 901888417 312356591 130275571 548496961 611293382 ... |
| correct output |
|---|
| 500378568 501125669 |
| user output |
|---|
| 500509262 500994975 |
Test 72
Verdict: WRONG ANSWER
| input |
|---|
| 100000 967034924 587586158 185430194 918715995 767527830 653946995 749180621 641621091 ... |
| correct output |
|---|
| 501286586 498468528 |
| user output |
|---|
| 498491978 501263136 |
Test 73
Verdict: WRONG ANSWER
| input |
|---|
| 100000 238363353 59249204 934941692 892631472 221963002 390559518 986350949 524427523 ... |
| correct output |
|---|
| 500851969 501496653 |
| user output |
|---|
| 500299206 502049416 |
Test 74
Verdict: WRONG ANSWER
| input |
|---|
| 100000 958701283 356460601 224848374 881788059 68992860 44771412 397401947 115595477 ... |
| correct output |
|---|
| 501129059 499760141 |
| user output |
|---|
| 498880965 502008234 |
Test 75
Verdict: WRONG ANSWER
| input |
|---|
| 100000 81935404 244103474 837431431 342493822 470738321 776814822 489180570 330726191 ... |
| correct output |
|---|
| 501369501 501175764 |
| user output |
|---|
| 499952464 502592801 |
Test 76
Verdict: ACCEPTED
| input |
|---|
| 100000 937837681 11934038 257096283 933290530 405355767 570001955 876668629 249890139 ... |
| correct output |
|---|
| 499822684 498958448 |
| user output |
|---|
| 499882947 498898185 |
Test 77
Verdict: WRONG ANSWER
| input |
|---|
| 100000 11139168 391337048 538883744 535937150 532332526 8099343 143698367 339543270 ... |
| correct output |
|---|
| 500231553 501043880 |
| user output |
|---|
| 500994437 500280996 |
