Educational Codeforces Round 100 (Rated for Div. 2)

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
1463 Educational Codeforces Round 100 (Rated for Div. 2) FINISHED False 7200 129137111 Dec. 17, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 25986 ) A Dungeon PROGRAMMING math

B"You are playing a new computer game in which you have to fight monsters. In a dungeon you are trying to clear, you met three monsters; the first of them has a health points, the second has b health points, and the third has c . To kill the monsters, you can use a cannon that, when fired, deals 1 damage to the selected monster. Every 7 -th (i. e. shots with numbers 7 , 14 , 21 etc.) cannon shot is enhanced and deals 1 damage to all monsters, not just one of them. If some monster's current amount of health points is 0 , it can't be targeted by a regular shot and does not receive damage from an enhanced shot. You want to pass the dungeon beautifully, i. e., kill all the monsters with the same enhanced shot (i. e. after some enhanced shot, the health points of each of the monsters should become equal to 0 for the first time). Each shot must hit a monster, i. e. each shot deals damage to at least one monster. The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Each test case consists of a single line that contains three integers a , b and c ( 1 <= a, b, c <= 10^8 ) -- the number of health points each monster has. For each test case, print YES if you can kill all the monsters with the same enhanced shot. Otherwise, print NO. You may print each letter in any case (for example, YES, Yes, yes, yEs will all be recognized as positive answer). In the first test case, you can do as follows: 1 -th shot to the first monster, 2 -th shot to the second monster, 3 -th shot to the third monster, 4 -th shot to the first monster, 5 -th shot to the third monster, 6 -th shot to the third monster, and 7 -th enhanced shot will kill all the monsters. In the second test case, you can't kill monsters with the same enhanced shot, because the total number of health points of monsters is 3 , and you will kill "...

Tutorials

Educational Codeforces Round 100 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
101588031 Louiii27 A Dec. 17, 2020, 6:18 p.m. OK GNU C11 TESTS 2 30 0
101583981 srlabib A Dec. 17, 2020, 5:19 p.m. OK GNU C11 TESTS 2 46 0
101579728 Showrav.Ansary A Dec. 17, 2020, 4:41 p.m. OK GNU C11 TESTS 2 46 0
101604393 neily A Dec. 18, 2020, 3:27 a.m. OK GNU C11 TESTS 82 46 0
101606798 aditta_saikat A Dec. 18, 2020, 4:31 a.m. OK GNU C11 TESTS 82 46 0
101611481 ujjwalavishek A Dec. 18, 2020, 5:58 a.m. OK GNU C11 TESTS 82 46 0
101605119 Bold_Eagle A Dec. 18, 2020, 3:46 a.m. OK GNU C11 TESTS 82 62 0
101607854 athirai_s A Dec. 18, 2020, 4:56 a.m. OK GNU C11 TESTS 82 62 0
101585007 it_vineh_ A Dec. 17, 2020, 5:34 p.m. OK GNU C11 TESTS 2 62 0
101581131 labib_1907108 A Dec. 17, 2020, 4:51 p.m. OK GNU C11 TESTS 2 77 0
101570629 ihaveaworld A Dec. 17, 2020, 4:16 p.m. OK GNU C++11 TESTS 2 15 0
101587805 qinqizhou A Dec. 17, 2020, 6:14 p.m. OK GNU C++11 TESTS 2 15 0
101579662 Sinonon A Dec. 17, 2020, 4:41 p.m. OK GNU C++11 TESTS 2 15 0
101570885 pyyyyyy A Dec. 17, 2020, 4:16 p.m. OK GNU C++11 TESTS 2 15 0
101569652 zc12138 A Dec. 17, 2020, 4:13 p.m. OK GNU C++11 TESTS 2 15 0
101581734 UriAv A Dec. 17, 2020, 4:56 p.m. OK GNU C++11 TESTS 2 15 3993600
101574914 sadstone A Dec. 17, 2020, 4:27 p.m. OK GNU C++11 TESTS 2 30 0
101582536 wenzhuan A Dec. 17, 2020, 5:03 p.m. OK GNU C++11 TESTS 2 30 0
101588862 aman_arora A Dec. 17, 2020, 6:32 p.m. OK GNU C++11 TESTS 2 30 0
101611504 zjh2017 A Dec. 18, 2020, 5:58 a.m. OK GNU C++11 TESTS 82 31 0
101586786 ngqp2k A Dec. 17, 2020, 6 p.m. OK GNU C++14 TESTS 2 15 0
101588277 coder2001 A Dec. 17, 2020, 6:22 p.m. OK GNU C++14 TESTS 2 15 0
101587639 Dan13llljws A Dec. 17, 2020, 6:12 p.m. OK GNU C++14 TESTS 2 15 0
101587340 Niloy071 A Dec. 17, 2020, 6:07 p.m. OK GNU C++14 TESTS 2 15 0
101586718 Henagon A Dec. 17, 2020, 5:59 p.m. OK GNU C++14 TESTS 2 15 0
101586075 chandanagrawal23 A Dec. 17, 2020, 5:49 p.m. OK GNU C++14 TESTS 2 15 0
101586041 mtewathia99 A Dec. 17, 2020, 5:49 p.m. OK GNU C++14 TESTS 2 15 0
101585690 ramisa.alam A Dec. 17, 2020, 5:43 p.m. OK GNU C++14 TESTS 2 15 0
101585643 WrongAnswerInfinity A Dec. 17, 2020, 5:43 p.m. OK GNU C++14 TESTS 2 15 0
101585063 noobchoder69 A Dec. 17, 2020, 5:34 p.m. OK GNU C++14 TESTS 2 15 0
101582619 sam1999 A Dec. 17, 2020, 5:04 p.m. OK GNU C++17 TESTS 2 0 0
101585482 yashjain0333 A Dec. 17, 2020, 5:40 p.m. OK GNU C++17 TESTS 2 0 0
101584205 bpavan122 A Dec. 17, 2020, 5:22 p.m. OK GNU C++17 TESTS 2 0 0
101587505 MLEonTesTinF A Dec. 17, 2020, 6:10 p.m. OK GNU C++17 TESTS 2 15 0
101587722 kapsel A Dec. 17, 2020, 6:13 p.m. OK GNU C++17 TESTS 2 15 0
101588377 Shivraj7 A Dec. 17, 2020, 6:24 p.m. OK GNU C++17 TESTS 2 15 0
101588451 singleLOOP A Dec. 17, 2020, 6:25 p.m. OK GNU C++17 TESTS 2 15 0
101588672 alankritanand001 A Dec. 17, 2020, 6:29 p.m. OK GNU C++17 TESTS 2 15 0
101588961 crystaalroo A Dec. 17, 2020, 6:34 p.m. OK GNU C++17 TESTS 2 15 0
101589709 sarthak_sethi A Dec. 17, 2020, 6:48 p.m. OK GNU C++17 TESTS 2 15 0
101581651 zlt1117 A Dec. 17, 2020, 4:55 p.m. OK GNU C++17 (64) TESTS 2 0 102400
101582820 Anisur_rahaman A Dec. 17, 2020, 5:06 p.m. OK GNU C++17 (64) TESTS 2 15 0
101586821 AsiBasi A Dec. 17, 2020, 6:01 p.m. OK GNU C++17 (64) TESTS 2 15 0
101585588 RTKING A Dec. 17, 2020, 5:42 p.m. OK GNU C++17 (64) TESTS 2 15 0
101585260 MixxCP3 A Dec. 17, 2020, 5:37 p.m. OK GNU C++17 (64) TESTS 2 15 0
101585032 YannLiu A Dec. 17, 2020, 5:34 p.m. OK GNU C++17 (64) TESTS 2 15 0
101583899 Moen1578 A Dec. 17, 2020, 5:18 p.m. OK GNU C++17 (64) TESTS 2 15 0
101583310 f2016941 A Dec. 17, 2020, 5:11 p.m. OK GNU C++17 (64) TESTS 2 15 0
101582589 ProfessorChaos A Dec. 17, 2020, 5:04 p.m. OK GNU C++17 (64) TESTS 2 15 0
101586166 Arceus03 A Dec. 17, 2020, 5:51 p.m. OK GNU C++17 (64) TESTS 2 15 0
101581678 eR6 A Dec. 17, 2020, 4:55 p.m. OK Go TESTS 2 46 0
101591822 N_o_o_B A Dec. 17, 2020, 7:30 p.m. OK Haskell TESTS 82 62 102400
101571632 seungq92 A Dec. 17, 2020, 4:18 p.m. OK Java 11 TESTS 2 171 0
101570219 SaberXpro A Dec. 17, 2020, 4:15 p.m. OK Java 11 TESTS 2 171 0
101597730 liubenjamin A Dec. 17, 2020, 10:22 p.m. OK Java 11 TESTS 82 186 0
101588210 singhdhanwant A Dec. 17, 2020, 6:21 p.m. OK Java 11 TESTS 2 186 0
101573046 TuM0xA A Dec. 17, 2020, 4:22 p.m. OK Java 11 TESTS 2 186 0
101585828 decoder_1671 A Dec. 17, 2020, 5:45 p.m. OK Java 11 TESTS 2 186 10240000
101611076 tirtho2107 A Dec. 18, 2020, 5:52 a.m. OK Java 11 TESTS 82 187 0
101582938 Codeispower A Dec. 17, 2020, 5:07 p.m. OK Java 11 TESTS 2 202 0
101607976 abhijeetkhamkar30 A Dec. 18, 2020, 4:59 a.m. OK Java 11 TESTS 82 218 0
101595045 catforce A Dec. 17, 2020, 8:50 p.m. OK Java 11 TESTS 82 218 0
101575744 XiangLi A Dec. 17, 2020, 4:29 p.m. OK Java 8 TESTS 2 93 0
101589628 rachitpts.2454 A Dec. 17, 2020, 6:46 p.m. OK Java 8 TESTS 2 108 0
101583706 MagentaCobra A Dec. 17, 2020, 5:16 p.m. OK Java 8 TESTS 2 108 0
101574757 sharapat.alikhan A Dec. 17, 2020, 4:26 p.m. OK Java 8 TESTS 2 109 0
101610824 swapnilganguly1234 A Dec. 18, 2020, 5:48 a.m. OK Java 8 TESTS 82 109 0
101605543 Dhananjay.07 A Dec. 18, 2020, 3:58 a.m. OK Java 8 TESTS 82 109 0
101599819 sushant-kun A Dec. 18, 2020, 12:18 a.m. OK Java 8 TESTS 82 109 0
101593169 kocko A Dec. 17, 2020, 8:01 p.m. OK Java 8 TESTS 82 109 0
101589584 rachitpts.2454 A Dec. 17, 2020, 6:45 p.m. OK Java 8 TESTS 2 109 0
101607841 dewanshnigam A Dec. 18, 2020, 4:56 a.m. OK Java 8 TESTS 82 124 0
101573049 FutureAnge1 A Dec. 17, 2020, 4:22 p.m. OK JavaScript TESTS 2 31 1331200
101599430 Spheniscine A Dec. 17, 2020, 11:58 p.m. OK Kotlin TESTS 82 140 1126400
101586933 Krantzy A Dec. 17, 2020, 6:02 p.m. OK Kotlin TESTS 2 217 102400
101603923 chan10 A Dec. 18, 2020, 3:14 a.m. OK Kotlin TESTS 82 217 204800
101610371 vaishnavanil7th A Dec. 18, 2020, 5:42 a.m. OK Kotlin TESTS 82 233 102400
101603866 chan10 A Dec. 18, 2020, 3:13 a.m. OK Kotlin TESTS 82 234 102400
101583433 abram_solieman A Dec. 17, 2020, 5:13 p.m. OK MS C++ TESTS 2 61 0
101601777 haiton2606 A Dec. 18, 2020, 1:55 a.m. OK MS C++ TESTS 82 61 0
101609130 minhphuong14 A Dec. 18, 2020, 5:22 a.m. OK MS C++ 2017 TESTS 82 31 0
101608009 samcpp A Dec. 18, 2020, 4:59 a.m. OK MS C++ 2017 TESTS 82 46 0
101576030 peachy A Dec. 17, 2020, 4:30 p.m. OK MS C++ 2017 TESTS 2 46 0
101598942 tawfekhesham A Dec. 17, 2020, 11:31 p.m. OK MS C++ 2017 TESTS 82 61 0
101586439 ustaritz A Dec. 17, 2020, 5:55 p.m. OK MS C++ 2017 TESTS 2 61 0
101586496 vladnoov A Dec. 17, 2020, 5:56 p.m. OK MS C++ 2017 TESTS 2 62 0
101593101 alibabaand40haramies A Dec. 17, 2020, 8 p.m. OK MS C++ 2017 TESTS 82 62 0
101584153 Daniil_s2016 A Dec. 17, 2020, 5:21 p.m. OK MS C++ 2017 TESTS 2 62 0
101586996 aniket568 A Dec. 17, 2020, 6:03 p.m. OK MS C++ 2017 TESTS 2 77 0
101581422 vir7196 A Dec. 17, 2020, 4:53 p.m. OK MS C++ 2017 TESTS 2 77 0
101595558 danatai A Dec. 17, 2020, 9:03 p.m. OK .NET Core C# TESTS 82 124 3072000
101583894 henrychenOutlook A Dec. 17, 2020, 5:18 p.m. OK Node.js TESTS 2 187 5120000
101584011 henrychenOutlook A Dec. 17, 2020, 5:20 p.m. OK Node.js TESTS 2 202 5120000
101582552 henrychenOutlook A Dec. 17, 2020, 5:03 p.m. OK Node.js TESTS 2 202 5222400
101594513 shadman_shihab A Dec. 17, 2020, 8:36 p.m. OK Node.js TESTS 82 217 4710400
101604724 Udayan A Dec. 18, 2020, 3:36 a.m. OK PyPy 2 TESTS 82 280 2457600
101579059 thinkersloop A Dec. 17, 2020, 4:37 p.m. OK PyPy 3 TESTS 2 171 4300800
101611678 TheVan A Dec. 18, 2020, 6:01 a.m. OK PyPy 3 TESTS 82 171 5939200
101578048 sanjeevkumar113f A Dec. 17, 2020, 4:34 p.m. OK PyPy 3 TESTS 2 186 5222400
101607910 rajbit A Dec. 18, 2020, 4:57 a.m. OK PyPy 3 TESTS 82 186 6553600
101587443 aadiupadhyay A Dec. 17, 2020, 6:09 p.m. OK PyPy 3 TESTS 2 202 4505600
101585758 upadhyay.aaditya2001 A Dec. 17, 2020, 5:44 p.m. OK PyPy 3 TESTS 2 202 4505600
101581288 alterego_14 A Dec. 17, 2020, 4:52 p.m. OK PyPy 3 TESTS 2 202 4608000
101591245 jamerrq A Dec. 17, 2020, 7:18 p.m. OK PyPy 3 TESTS 82 202 7168000
101608454 codershuvo A Dec. 18, 2020, 5:09 a.m. OK PyPy 3 TESTS 82 218 6144000
101610924 sonu11134 A Dec. 18, 2020, 5:50 a.m. OK PyPy 3 TESTS 82 218 6451200
101583964 eugalt A Dec. 17, 2020, 5:19 p.m. OK Python 3 TESTS 2 93 819200
101584026 arnav2004 A Dec. 17, 2020, 5:20 p.m. OK Python 3 TESTS 2 108 307200
101599480 ya_ne_xoxol_ya_kiborg A Dec. 18, 2020, 12:01 a.m. OK Python 3 TESTS 82 109 819200
101594367 4rchon A Dec. 17, 2020, 8:32 p.m. OK Python 3 TESTS 82 124 307200
101599486 ya_ne_xoxol_ya_kiborg A Dec. 18, 2020, 12:01 a.m. OK Python 3 TESTS 82 139 1126400
101603387 jainil4801 A Dec. 18, 2020, 2:59 a.m. OK Python 3 TESTS 82 140 409600
101609196 subhajitdas A Dec. 18, 2020, 5:23 a.m. OK Python 3 TESTS 82 140 921600
101588329 kriker A Dec. 17, 2020, 6:23 p.m. OK Python 3 TESTS 2 155 0
101579347 manas17 A Dec. 17, 2020, 4:39 p.m. OK Python 3 TESTS 2 155 0
101611195 Gauranshu A Dec. 18, 2020, 5:54 a.m. OK Python 3 TESTS 82 155 819200
101601670 xc31 A Dec. 18, 2020, 1:50 a.m. OK Rust TESTS 82 233 0

remove filters

Back to search problems