April Fools Day Contest 2019

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.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1145 April Fools Day Contest 2019 FINISHED False 7200 222274523 April 1, 2019, 3:05 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 190 ) G AI Takeover PROGRAMMING

The recent advances in AI research has brought humanity to the point when the AIs finally attempt a takeover. Their weapon of choice? The most intellectually challenging game in the world , rock-paper-scissors ! The future of humanity looks bleak, given the existence of the robots from Ishikawa Oku Laboratory... Fortunately, the night before the competition a group of anonymous heroes broke in the lab and took all the robots out of commission! The AIs had to whip up a simple program to represent them. They only had a couple of hours to do that, so the humanity still has a fighting chance. And you are our champion! Your goal is to prove that human intelligence is vastly superior to the artificial one, i.e., to figure out the AI's strategy sufficiently quickly and win sufficiently decisively. Good luck! This is an interactive problem. Initially you are given no information about the AIs's strategy, and you have to discover it yourself. For each test, the AI selects one strategy from a pool of simple deterministic strategies and follows it throughout all rounds. There are 6 tests and 6 different strategies. On each round you choose your move and output it to the standard output stream: 'R' for rock, 'P' for paper or 'S' for scissors. At the same time the AI will choose its move (not peeking at your choice). If your move beats AI's move, you win, otherwise AI wins. Note that a tie (both you and AI choosing the same move) counts as AI victory. You will get the outcome of the round via the standard input stream: "player" if you won, or "ai" if AI won (quotation marks for clarity only). You are given 20 rounds of play: you can use the first 10 to learn the opponent's strategy, and you have to win the last 10. If you manage to win 10 rounds in row earlier than that, your solution is accepted on this test anyways. Please make sure to use the stream flushing operation after each query in order not to leave part of your output in some buffer. Here is an example of a

Tutorials

66327

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
52808386 hos.lyric G April 16, 2019, 6:51 a.m. OK D TESTS 6 31 0
64736787 luogu_bot1 G Nov. 12, 2019, 10:38 a.m. OK FPC TESTS 6 15 102400
59598766 luogu_bot3 G Aug. 28, 2019, 4:22 a.m. OK FPC TESTS 6 30 102400
65705600 luogu_bot1 G Nov. 25, 2019, 12:27 p.m. OK GNU C++11 TESTS 6 15 0
63727612 luogu_bot3 G Oct. 29, 2019, 1:07 p.m. OK GNU C++11 TESTS 6 15 0
60213386 luogu_bot3 G Sept. 7, 2019, 10:56 a.m. OK GNU C++11 TESTS 6 15 0
59553500 luogu_bot5 G Aug. 27, 2019, 4:50 a.m. OK GNU C++11 TESTS 6 15 0
58841946 luogu_bot5 G Aug. 15, 2019, 2:35 a.m. OK GNU C++11 TESTS 6 15 0
58840788 luogu_bot1 G Aug. 15, 2019, 1:53 a.m. OK GNU C++11 TESTS 6 15 0
58708058 luogu_bot1 G Aug. 13, 2019, 11:08 a.m. OK GNU C++11 TESTS 6 15 0
58672913 luogu_bot4 G Aug. 12, 2019, 3:10 p.m. OK GNU C++11 TESTS 6 15 0
58636565 Silhouette_Eternity G Aug. 12, 2019, 12:49 a.m. OK GNU C++11 TESTS 6 15 0
58388446 luogu_bot3 G Aug. 6, 2019, 12:51 p.m. OK GNU C++11 TESTS 6 15 0
56809114 didgogns G July 10, 2019, 3:13 p.m. OK GNU C++14 TESTS 6 15 0
55610372 ReaLNero1 G June 16, 2019, 5:17 a.m. OK GNU C++14 TESTS 6 15 0
54078850 XiaoWu G May 13, 2019, 11:49 p.m. OK GNU C++14 TESTS 6 15 0
52214712 apiadu G April 2, 2019, 12:01 a.m. OK GNU C++14 TESTS 6 15 0
52190695 zeus_orz G April 1, 2019, 4:26 p.m. OK GNU C++14 TESTS 6 15 0
52184855 LeoPro G April 1, 2019, 4:11 p.m. OK GNU C++14 TESTS 6 15 0
52420396 Snapman G April 6, 2019, 4:51 p.m. OK GNU C++14 TESTS 6 31 0
52236262 m_f_h G April 2, 2019, 1:53 p.m. OK GNU C++14 TESTS 6 31 0
52227268 tokitsukaze G April 2, 2019, 10:16 a.m. OK GNU C++14 TESTS 6 31 0
52227116 Nazarov_Shohrukh G April 2, 2019, 10:10 a.m. OK GNU C++14 TESTS 6 31 0
53808377 akash_aich G May 6, 2019, 3:55 a.m. OK GNU C++17 TESTS 6 15 0
53122351 fafafafafa G April 22, 2019, 12:01 p.m. OK GNU C++17 TESTS 6 15 0
52737746 luogu_bot2 G April 14, 2019, 7:20 a.m. OK GNU C++17 TESTS 6 15 0
52737676 yyfcpp G April 14, 2019, 7:18 a.m. OK GNU C++17 TESTS 6 15 0
52237189 nnv-nick G April 2, 2019, 2:13 p.m. OK GNU C++17 TESTS 6 15 0
52227536 185217 G April 2, 2019, 10:25 a.m. OK GNU C++17 TESTS 6 15 0
52211913 ac517 G April 1, 2019, 8:28 p.m. OK GNU C++17 TESTS 6 15 0
52177398 majk G April 1, 2019, 3:55 p.m. OK GNU C++17 TESTS 6 15 0
58337134 Sali_adelkhah G Aug. 5, 2019, 11:54 a.m. OK GNU C++17 TESTS 6 30 0
52201144 zoomswk G April 1, 2019, 4:53 p.m. OK GNU C++17 TESTS 6 30 0
52201420 eatmore G April 1, 2019, 4:54 p.m. OK Java 8 TESTS 6 109 0
56886262 sjx233 G July 12, 2019, 12:43 p.m. OK JavaScript TESTS 6 15 0
52284360 Helli.code G April 3, 2019, 6:51 p.m. OK PyPy 2 TESTS 6 124 0
53175350 yongwhan G April 23, 2019, 3:11 a.m. OK PyPy 3 TESTS 6 109 0
64165330 Mai-sanBestWaifu G Nov. 3, 2019, 4:04 p.m. OK PyPy 3 TESTS 6 124 0
52758032 yfo G April 14, 2019, 6:23 p.m. OK PyPy 3 TESTS 6 124 0
52330955 185217 G April 5, 2019, 5:16 a.m. OK PyPy 3 TESTS 6 124 0
52568091 NikiMinazh G April 10, 2019, 1:13 p.m. OK Python 3 TESTS 6 93 0
52340650 ArtemAA G April 5, 2019, 10:19 a.m. OK Python 3 TESTS 6 93 0
52336811 Arsenij_Smirnov G April 5, 2019, 8:26 a.m. OK Python 3 TESTS 6 93 0
52336437 progolymp064 G April 5, 2019, 8:13 a.m. OK Python 3 TESTS 6 93 0
53583054 tamahom G April 30, 2019, 4:43 p.m. OK Python 3 TESTS 6 108 0
52231053 Yee_172 G April 2, 2019, 11:55 a.m. OK Python 3 TESTS 6 108 0

remove filters

Back to search problems