Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B"The Cybermen and the Daleks have long been the Doctor's main enemies. Everyone knows that both these species enjoy destroying everything they encounter. However, a little-known fact about them is that they both also love taking Turing tests! Heidi designed a series of increasingly difficult tasks for them to spend their time on, which would allow the Doctor enough time to save innocent lives! The funny part is that these tasks would be very easy for a human to solve. The first task is as follows. There are some points on the plane. All but one of them are on the boundary of an axis-aligned square (its sides are parallel to the axes). Identify that point. The first line contains an integer n ( 2 <= n <= 10 ). Each of the following 4n + 1 lines contains two integers x_i, y_i ( 0 <= q x_i, y_i <= q 50 ), describing the coordinates of the next point. It is guaranteed that there are at least n points on each side of the square and all 4n + 1 points are distinct. Print two integers -- the coordinates of the point that is not on the boundary of the square. In both examples, the square has four sides x=0 , x=2 , y=0 , y=2 . "... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
56652716 |
Craspedacusta |
C1 |
July 7, 2019, 8:01 a.m. |
OK |
FPC |
TESTS |
47 |
31 |
0 |
|
1700 |
63541918 |
chaorenhaha |
C1 |
Oct. 27, 2019, 9:37 a.m. |
OK |
FPC |
TESTS |
47 |
31 |
307200 |
|
1700 |
60757613 |
Akz_Moudud |
C1 |
Sept. 18, 2019, 9:41 a.m. |
OK |
GNU C11 |
TESTS |
47 |
31 |
0 |
|
1700 |
56654051 |
pengin_2000 |
C1 |
July 7, 2019, 8:16 a.m. |
OK |
GNU C11 |
TESTS |
47 |
31 |
0 |
|
1700 |
56652894 |
Iftekhar_Hakim_K MYNAMEISSHARIFUL |
C1 |
July 7, 2019, 8:03 a.m. |
OK |
GNU C11 |
TESTS |
47 |
31 |
0 |
|
1700 |
56649396 |
Mike_Wasowski mohammad330A Kalam |
C1 |
July 7, 2019, 7:29 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
15 |
819200 |
|
1700 |
61359376 |
zx1473619689 |
C1 |
Sept. 27, 2019, 11:38 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
60421155 |
RNS_MHB |
C1 |
Sept. 12, 2019, 6:06 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
61585164 |
Godrock_04 Tunder__Sun joker19260817 |
C1 |
Oct. 1, 2019, 4:31 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
63966533 |
vjudge1 |
C1 |
Nov. 1, 2019, 7:25 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
63525076 |
Arya_Erin |
C1 |
Oct. 27, 2019, 5 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
62972756 |
zhaoyuzhaoyu |
C1 |
Oct. 20, 2019, 7:30 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
62406112 |
darked |
C1 |
Oct. 12, 2019, 9 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
63969171 |
vjudge3 |
C1 |
Nov. 1, 2019, 8:26 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
63969450 |
vjudge3 |
C1 |
Nov. 1, 2019, 8:32 a.m. |
OK |
GNU C++11 |
TESTS |
47 |
31 |
0 |
|
1700 |
56654179 |
AniketSangwan sundesh jains8844 |
C1 |
July 7, 2019, 8:18 a.m. |
OK |
GNU C++14 |
TESTS |
47 |
15 |
0 |
|
1700 |
56657198 |
Wu-Kong |
C1 |
July 7, 2019, 8:55 a.m. |
OK |
GNU C++14 |
TESTS |
47 |
15 |
0 |
|
1700 |
56650479 |
AwakeAnay AsleepAdhyyan SleepyShashwat |
C1 |
July 7, 2019, 7:39 a.m. |
OK |
GNU C++14 |
TESTS |
47 |
15 |
0 |
|
1700 |
61331374 |
onlystar |
C1 |
Sept. 26, 2019, 3:06 p.m. |
OK |
GNU C++14 |
TESTS |
47 |
15 |
6451200 |
|
1700 |
57707278 |
icecuber |
C1 |
July 24, 2019, 8:49 p.m. |
OK |
GNU C++14 |
TESTS |
47 |
30 |
0 |
|
1700 |
58174012 |
ax333l |
C1 |
Aug. 2, 2019, 12:24 p.m. |
OK |
GNU C++14 |
TESTS |
47 |
30 |
0 |
|
1700 |
58153729 |
meeeep wakaka |
C1 |
Aug. 2, 2019, 4:20 a.m. |
OK |
GNU C++14 |
TESTS |
47 |
30 |
0 |
|
1700 |
56856797 |
SCS26 |
C1 |
July 11, 2019, 6:56 p.m. |
OK |
GNU C++14 |
TESTS |
47 |
30 |
0 |
|
1700 |
56850791 |
rohit_goyal |
C1 |
July 11, 2019, 3:38 p.m. |
OK |
GNU C++14 |
TESTS |
47 |
30 |
0 |
|
1700 |
56702416 |
marvelous25 |
C1 |
July 8, 2019, 9:43 a.m. |
OK |
GNU C++14 |
TESTS |
47 |
30 |
0 |
|
1700 |
56656243 |
dingguaguaa huxiaotaostasy Yzm007 |
C1 |
July 7, 2019, 8:42 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56655736 |
klzwii |
C1 |
July 7, 2019, 8:36 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56655023 |
vss16996 kingarp1914 Kulhari_adi |
C1 |
July 7, 2019, 8:28 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56653577 |
scnucjh |
C1 |
July 7, 2019, 8:11 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56653231 |
Romed AriaJ99 |
C1 |
July 7, 2019, 8:06 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56652596 |
zhupengfei |
C1 |
July 7, 2019, 8 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56650095 |
hos.lyric maroonrk |
C1 |
July 7, 2019, 7:35 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56662894 |
Omar_Elaraby |
C1 |
July 7, 2019, 10:25 a.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56671039 |
__Apocalypse__ |
C1 |
July 7, 2019, 1:08 p.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56673012 |
meowmeow321 |
C1 |
July 7, 2019, 2:02 p.m. |
OK |
GNU C++17 |
TESTS |
47 |
15 |
0 |
|
1700 |
56659392 |
7dan |
C1 |
July 7, 2019, 9:26 a.m. |
OK |
Java 8 |
TESTS |
47 |
108 |
0 |
|
1700 |
56652171 |
ATSTNG Musin |
C1 |
July 7, 2019, 7:55 a.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
60086504 |
LeamyCodes |
C1 |
Sept. 5, 2019, 2:47 p.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
60701012 |
bleh0.5 |
C1 |
Sept. 17, 2019, 12:25 a.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
56811206 |
alibaba |
C1 |
July 10, 2019, 4:14 p.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
56685935 |
Xylenox |
C1 |
July 7, 2019, 10:33 p.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
56654250 |
serafimkoo |
C1 |
July 7, 2019, 8:19 a.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
56653330 |
sameep17264 |
C1 |
July 7, 2019, 8:08 a.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
56652673 |
VivekRamnani KharYusuf mufaddalnaya |
C1 |
July 7, 2019, 8 a.m. |
OK |
Java 8 |
TESTS |
47 |
109 |
0 |
|
1700 |
60828990 |
dtsarun |
C1 |
Sept. 19, 2019, 5:57 a.m. |
OK |
Java 8 |
TESTS |
47 |
124 |
0 |
|
1700 |
56732227 |
Spheniscine |
C1 |
July 9, 2019, 2:22 a.m. |
OK |
Kotlin |
TESTS |
47 |
155 |
1228800 |
|
1700 |
56732156 |
Spheniscine |
C1 |
July 9, 2019, 2:18 a.m. |
OK |
Kotlin |
TESTS |
47 |
171 |
1228800 |
|
1700 |
56652474 |
dinarisio |
C1 |
July 7, 2019, 7:58 a.m. |
OK |
Mono C# |
TESTS |
47 |
62 |
3584000 |
|
1700 |
56648481 |
riantkb risujiroh idsigma |
C1 |
July 7, 2019, 7:21 a.m. |
OK |
Mono C# |
TESTS |
47 |
77 |
5017600 |
|
1700 |
62363060 |
vjudge1 |
C1 |
Oct. 11, 2019, 1:03 p.m. |
OK |
MS C++ |
TESTS |
47 |
31 |
0 |
|
1700 |
61359026 |
vjudge2 |
C1 |
Sept. 27, 2019, 11:31 a.m. |
OK |
MS C++ |
TESTS |
47 |
31 |
0 |
|
1700 |
64123662 |
vjudge3 |
C1 |
Nov. 3, 2019, 3:15 a.m. |
OK |
MS C++ |
TESTS |
47 |
31 |
0 |
|
1700 |
61369024 |
vjudge3 |
C1 |
Sept. 27, 2019, 2:24 p.m. |
OK |
MS C++ |
TESTS |
47 |
31 |
102400 |
|
1700 |
61547941 |
vjudge2 |
C1 |
Sept. 30, 2019, 11:16 a.m. |
OK |
MS C++ |
TESTS |
47 |
46 |
102400 |
|
1700 |
56659921 |
xsc |
C1 |
July 7, 2019, 9:34 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
59838930 |
DavitMarg EmilConst |
C1 |
Sept. 1, 2019, 6:11 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56696197 |
GUESSER |
C1 |
July 8, 2019, 7:06 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56659172 |
euqrry |
C1 |
July 7, 2019, 9:22 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56659138 |
querry |
C1 |
July 7, 2019, 9:22 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56658744 |
zhuhuejia111 Surf dream_dreamer |
C1 |
July 7, 2019, 9:16 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56657529 |
redimer admarkov |
C1 |
July 7, 2019, 8:59 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56654266 |
wlgh410 |
C1 |
July 7, 2019, 8:19 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56651215 |
coep1234 youx ljk0411jg |
C1 |
July 7, 2019, 7:45 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
31 |
0 |
|
1700 |
56665728 |
RANCAFE |
C1 |
July 7, 2019, 11:09 a.m. |
OK |
MS C++ 2017 |
TESTS |
47 |
46 |
0 |
|
1700 |
56766541 |
mayakin |
C1 |
July 9, 2019, 6:39 p.m. |
OK |
PHP |
TESTS |
47 |
46 |
409600 |
|
1700 |
56668463 |
littlewhywhat |
C1 |
July 7, 2019, 11:59 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
139 |
0 |
|
1700 |
62055110 |
mridullgarg |
C1 |
Oct. 7, 2019, 11:47 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
0 |
|
1700 |
56659934 |
Undying |
C1 |
July 7, 2019, 9:34 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
0 |
|
1700 |
56656378 |
Art |
C1 |
July 7, 2019, 8:44 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
0 |
|
1700 |
56653909 |
meooow algmyr pajenegod |
C1 |
July 7, 2019, 8:15 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
0 |
|
1700 |
56679104 |
ArtemGucci |
C1 |
July 7, 2019, 5:13 p.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
102400 |
|
1700 |
56678974 |
ArtemGucci |
C1 |
July 7, 2019, 5:08 p.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
102400 |
|
1700 |
56654606 |
brosucks |
C1 |
July 7, 2019, 8:23 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
102400 |
|
1700 |
56668381 |
H4Wk3ye |
C1 |
July 7, 2019, 11:57 a.m. |
OK |
PyPy 3 |
TESTS |
47 |
140 |
1331200 |
|
1700 |
57295413 |
Artem2311 |
C1 |
July 18, 2019, 6:57 p.m. |
OK |
PyPy 3 |
TESTS |
47 |
155 |
0 |
|
1700 |
58924823 |
Helli.code |
C1 |
Aug. 16, 2019, 6:55 p.m. |
OK |
Python 2 |
TESTS |
47 |
171 |
0 |
|
1700 |
56655526 |
brenner1 rennanrocha daniel.carlos |
C1 |
July 7, 2019, 8:34 a.m. |
OK |
Python 2 |
TESTS |
47 |
186 |
0 |
|
1700 |
56683371 |
Yash_agrawal19 |
C1 |
July 7, 2019, 8:06 p.m. |
OK |
Python 3 |
TESTS |
47 |
109 |
307200 |
|
1700 |
56659238 |
NickAs |
C1 |
July 7, 2019, 9:23 a.m. |
OK |
Python 3 |
TESTS |
47 |
109 |
307200 |
|
1700 |
56658213 |
spellstaker iamssk ParaSpawn |
C1 |
July 7, 2019, 9:08 a.m. |
OK |
Python 3 |
TESTS |
47 |
109 |
307200 |
|
1700 |
60670304 |
fahimnawaz7 |
C1 |
Sept. 16, 2019, 10:19 a.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
307200 |
|
1700 |
56697901 |
KAI10 |
C1 |
July 8, 2019, 7:52 a.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
307200 |
|
1700 |
56690406 |
NocturneBflat |
C1 |
July 8, 2019, 3:19 a.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
307200 |
|
1700 |
56674294 |
Yads |
C1 |
July 7, 2019, 2:41 p.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
307200 |
|
1700 |
56656692 |
vladlogik |
C1 |
July 7, 2019, 8:48 a.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
307200 |
|
1700 |
56654624 |
Peaupote |
C1 |
July 7, 2019, 8:23 a.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
307200 |
|
1700 |
56665041 |
sokolex |
C1 |
July 7, 2019, 10:59 a.m. |
OK |
Python 3 |
TESTS |
47 |
124 |
409600 |
|
1700 |
remove filters
Back to search problems