Educational Codeforces Round 96 (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
1430 Educational Codeforces Round 96 (Rated for Div. 2) FINISHED False 7200 134945711 Oct. 11, 2020, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 21021 ) A Number of Apartments PROGRAMMING brute force dp math

B"Recently a new building with a new layout was constructed in Monocarp's hometown. According to this new layout, the building consists of three types of apartments: three-room, five-room, and seven-room apartments. It's also known that each room of each apartment has exactly one window. In other words, a three-room apartment has three windows, a five-room -- five windows, and a seven-room -- seven windows. Monocarp went around the building and counted n windows. Now he is wondering, how many apartments of each type the building may have. Unfortunately, Monocarp only recently has learned to count, so he is asking you to help him to calculate the possible quantities of three-room, five-room, and seven-room apartments in the building that has n windows. If there are multiple answers, you can print any of them. Here are some examples: Th first line contains one integer t ( 1 <= t <= 1000 ) -- the number of test cases. The only line of each test case contains one integer n ( 1 <= n <= 1000 ) -- the number of windows in the building. For each test case, if a building with the new layout and the given number of windows just can't exist, print -1 . Otherwise, print three non-negative integers -- the possible number of three-room, five-room, and seven-room apartments. If there are multiple answers, print any of them. "...

Tutorials

Educational Codeforces Round 96 — Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
95269000 ._._ A Oct. 11, 2020, 2:07 p.m. OK GNU C11 TESTS 13 15 0
95266813 fahimalhasan2019 A Oct. 11, 2020, 1:40 p.m. OK GNU C11 TESTS 13 31 0
95290205 AlpacanChicken A Oct. 11, 2020, 5:45 p.m. OK GNU C11 TESTS 13 31 0
95295651 naveenharsha053 A Oct. 11, 2020, 7:20 p.m. OK GNU C11 TESTS 13 31 0
95310162 hokou A Oct. 12, 2020, 3:39 a.m. OK GNU C11 TESTS 13 31 0
95287897 chowdhuryshashwoto A Oct. 11, 2020, 5:10 p.m. OK GNU C11 TESTS 13 31 819200
95282450 ashishsah51 A Oct. 11, 2020, 4:11 p.m. OK GNU C11 TESTS 13 46 0
95284204 Yash_s3135 A Oct. 11, 2020, 4:33 p.m. OK GNU C11 TESTS 13 46 0
95262247 Edd1e0_0 A Oct. 11, 2020, 12:46 p.m. OK GNU C11 TESTS 13 46 0
95301377 Lavmecodes A Oct. 11, 2020, 9:46 p.m. OK GNU C++11 TESTS 13 15 0
95312993 GGMU A Oct. 12, 2020, 4:55 a.m. OK GNU C++11 TESTS 13 15 0
95316333 Accepted_Zhs A Oct. 12, 2020, 6:02 a.m. OK GNU C++11 TESTS 13 15 0
95312138 ljfty A Oct. 12, 2020, 4:33 a.m. OK GNU C++11 TESTS 13 15 0
95309533 Snpilola A Oct. 12, 2020, 3:21 a.m. OK GNU C++11 TESTS 13 15 0
95307345 Ajij120386 A Oct. 12, 2020, 2:17 a.m. OK GNU C++11 TESTS 13 15 0
95306911 fr200110217102 A Oct. 12, 2020, 2:01 a.m. OK GNU C++11 TESTS 13 15 0
95305760 CTP_314 A Oct. 12, 2020, 1:16 a.m. OK GNU C++11 TESTS 13 15 0
95304118 Luogu_Minion2005 A Oct. 11, 2020, 11:50 p.m. OK GNU C++11 TESTS 13 15 0
95302142 vlam21 A Oct. 11, 2020, 10:14 p.m. OK GNU C++11 TESTS 13 15 0
95294538 nishuz A Oct. 11, 2020, 6:59 p.m. OK GNU C++14 TESTS 13 15 0
95316143 stl A Oct. 12, 2020, 5:58 a.m. OK GNU C++14 TESTS 13 15 0
95305705 turkoarias A Oct. 12, 2020, 1:13 a.m. OK GNU C++14 TESTS 13 15 0
95255499 _Deku A Oct. 11, 2020, 11:31 a.m. OK GNU C++14 TESTS 13 15 0
95276271 ankur_singh_777 A Oct. 11, 2020, 2:51 p.m. OK GNU C++14 TESTS 13 15 0
95284556 obaydullahmhs A Oct. 11, 2020, 4:38 p.m. OK GNU C++14 TESTS 13 15 0
95294273 M23102000 A Oct. 11, 2020, 6:54 p.m. OK GNU C++14 TESTS 13 15 0
95307338 hieulc2012004 A Oct. 12, 2020, 2:17 a.m. OK GNU C++14 TESTS 13 15 819200
95312697 kanand_98 A Oct. 12, 2020, 4:48 a.m. OK GNU C++14 TESTS 13 30 0
95312853 sauravkumar_ A Oct. 12, 2020, 4:52 a.m. OK GNU C++14 TESTS 13 30 0
95257795 Gur27 A Oct. 11, 2020, 11:54 a.m. OK GNU C++17 TESTS 13 15 0
95305245 houghstc A Oct. 12, 2020, 12:51 a.m. OK GNU C++17 TESTS 13 15 0
95305091 mahabur_ A Oct. 12, 2020, 12:43 a.m. OK GNU C++17 TESTS 13 15 0
95293924 fahadkhaanz A Oct. 11, 2020, 6:48 p.m. OK GNU C++17 TESTS 13 15 0
95277069 adarsh_19 A Oct. 11, 2020, 3:02 p.m. OK GNU C++17 TESTS 13 15 0
95271022 _pallab_99 A Oct. 11, 2020, 2:33 p.m. OK GNU C++17 TESTS 13 15 0
95263178 shardbearerxii A Oct. 11, 2020, 12:57 p.m. OK GNU C++17 TESTS 13 15 0
95283379 orangesTO A Oct. 11, 2020, 4:23 p.m. OK GNU C++17 TESTS 13 15 102400
95306436 tanmay.raj.29 A Oct. 12, 2020, 1:41 a.m. OK GNU C++17 TESTS 13 15 204800
95315573 akashchandrakar A Oct. 12, 2020, 5:47 a.m. OK GNU C++17 TESTS 13 30 0
95301123 madlogic A Oct. 11, 2020, 9:38 p.m. OK GNU C++17 (64) TESTS 13 15 0
95314260 vjudge3 A Oct. 12, 2020, 5:22 a.m. OK GNU C++17 (64) TESTS 13 15 0
95313835 adi2710 A Oct. 12, 2020, 5:13 a.m. OK GNU C++17 (64) TESTS 13 15 0
95310456 harshit15 A Oct. 12, 2020, 3:48 a.m. OK GNU C++17 (64) TESTS 13 15 0
95307131 S4M4R A Oct. 12, 2020, 2:09 a.m. OK GNU C++17 (64) TESTS 13 15 0
95305340 Jame___boy A Oct. 12, 2020, 12:55 a.m. OK GNU C++17 (64) TESTS 13 15 0
95304966 Jame___boy A Oct. 12, 2020, 12:37 a.m. OK GNU C++17 (64) TESTS 13 15 0
95303958 rko27 A Oct. 11, 2020, 11:42 p.m. OK GNU C++17 (64) TESTS 13 15 0
95291897 tyler A Oct. 11, 2020, 6:12 p.m. OK GNU C++17 (64) TESTS 13 15 0
95290860 indubitable A Oct. 11, 2020, 5:56 p.m. OK GNU C++17 (64) TESTS 13 15 0
95295709 amit_chas A Oct. 11, 2020, 7:22 p.m. OK Java 11 TESTS 13 187 0
95260659 vamsikonakandla123 A Oct. 11, 2020, 12:27 p.m. OK Java 11 TESTS 13 187 0
95269775 skittles1412 A Oct. 11, 2020, 2:17 p.m. OK Java 11 TESTS 13 202 0
95256943 akman10 A Oct. 11, 2020, 11:45 a.m. OK Java 11 TESTS 13 202 0
95315740 bishal141119 A Oct. 12, 2020, 5:50 a.m. OK Java 11 TESTS 13 217 0
95276064 Mhmmd.itani A Oct. 11, 2020, 2:49 p.m. OK Java 11 TESTS 13 217 0
95270260 Eng.Zayady A Oct. 11, 2020, 2:23 p.m. OK Java 11 TESTS 13 218 0
95313879 gssakash A Oct. 12, 2020, 5:14 a.m. OK Java 11 TESTS 13 218 0
95257568 kostasanemozalis A Oct. 11, 2020, 11:52 a.m. OK Java 11 TESTS 13 218 0
95250794 varchd250295 A Oct. 11, 2020, 11:03 a.m. OK Java 11 TESTS 13 218 0
95309431 hars1234 A Oct. 12, 2020, 3:18 a.m. OK Java 8 TESTS 13 108 0
95295416 rachitpts.2454 A Oct. 11, 2020, 7:16 p.m. OK Java 8 TESTS 13 108 0
95293450 nattu179 A Oct. 11, 2020, 6:40 p.m. OK Java 8 TESTS 13 108 0
95290542 a.wang A Oct. 11, 2020, 5:50 p.m. OK Java 8 TESTS 13 108 0
95265413 kalzor A Oct. 11, 2020, 1:23 p.m. OK Java 8 TESTS 13 108 0
95261604 stevenz A Oct. 11, 2020, 12:38 p.m. OK Java 8 TESTS 13 108 0
95259498 ay_08 A Oct. 11, 2020, 12:14 p.m. OK Java 8 TESTS 13 108 0
95296449 RichardBot7000 A Oct. 11, 2020, 7:38 p.m. OK Java 8 TESTS 13 109 0
95294455 antkhorin A Oct. 11, 2020, 6:57 p.m. OK Java 8 TESTS 13 109 0
95289895 aearly A Oct. 11, 2020, 5:40 p.m. OK Java 8 TESTS 13 109 0
95258692 Mirimax A Oct. 11, 2020, 12:05 p.m. OK Kotlin TESTS 13 124 0
95265052 Gauravsingh5 A Oct. 11, 2020, 1:18 p.m. OK Kotlin TESTS 13 155 0
95290888 wbars A Oct. 11, 2020, 5:57 p.m. OK Kotlin TESTS 13 187 512000
95282762 tomasz.masternak A Oct. 11, 2020, 4:16 p.m. OK Mono C# TESTS 13 78 4096000
95299650 Maissen A Oct. 11, 2020, 8:51 p.m. OK MS C++ TESTS 13 31 0
95270529 Zorch A Oct. 11, 2020, 2:27 p.m. OK MS C++ TESTS 13 31 102400
95293381 JanPro A Oct. 11, 2020, 6:38 p.m. OK MS C++ 2017 TESTS 13 30 0
95306041 Yuxiang A Oct. 12, 2020, 1:26 a.m. OK MS C++ 2017 TESTS 13 31 0
95271274 Pathlessbark8 A Oct. 11, 2020, 2:36 p.m. OK MS C++ 2017 TESTS 13 31 0
95257205 Sebi_Ripa A Oct. 11, 2020, 11:48 a.m. OK MS C++ 2017 TESTS 13 31 0
95257049 qiuyawen A Oct. 11, 2020, 11:47 a.m. OK MS C++ 2017 TESTS 13 31 0
95256133 man.yasakov A Oct. 11, 2020, 11:37 a.m. OK MS C++ 2017 TESTS 13 31 0
95253791 htija A Oct. 11, 2020, 11:17 a.m. OK MS C++ 2017 TESTS 13 31 0
95247419 14long A Oct. 11, 2020, 10:54 a.m. OK MS C++ 2017 TESTS 13 31 0
95256710 r9alt A Oct. 11, 2020, 11:43 a.m. OK MS C++ 2017 TESTS 13 31 0
95308390 HippyTD A Oct. 12, 2020, 2:49 a.m. OK MS C++ 2017 TESTS 13 31 0
95256548 sarvagya8 A Oct. 11, 2020, 11:41 a.m. OK Node.js TESTS 13 108 1331200
95277000 toxahak A Oct. 11, 2020, 3:01 p.m. OK Node.js TESTS 13 124 1331200
95248050 Zara_thustra A Oct. 11, 2020, 10:56 a.m. OK Node.js TESTS 13 249 17612800
95261784 Anuranjan_Pandey A Oct. 11, 2020, 12:40 p.m. OK PyPy 3 TESTS 13 140 2048000
95314108 Nifer A Oct. 12, 2020, 5:19 a.m. OK PyPy 3 TESTS 13 155 2764800
95281675 Bovniova A Oct. 11, 2020, 4:01 p.m. OK PyPy 3 TESTS 13 155 3276800
95261742 dk5f95 A Oct. 11, 2020, 12:40 p.m. OK PyPy 3 TESTS 13 156 2560000
95305711 tdpencil A Oct. 12, 2020, 1:13 a.m. OK PyPy 3 TESTS 13 156 2867200
95258786 Nifer A Oct. 11, 2020, 12:06 p.m. OK PyPy 3 TESTS 13 156 2867200
95304027 june_waves A Oct. 11, 2020, 11:45 p.m. OK PyPy 3 TESTS 13 170 2048000
95258329 Nifer A Oct. 11, 2020, noon OK PyPy 3 TESTS 13 170 2764800
95290168 chill_house A Oct. 11, 2020, 5:44 p.m. OK PyPy 3 TESTS 13 170 2969600
95300657 atg_coder27 A Oct. 11, 2020, 9:22 p.m. OK PyPy 3 TESTS 13 171 409600
95296167 elistark A Oct. 11, 2020, 7:32 p.m. OK Python 2 TESTS 13 155 0
95279689 zdbtxdy A Oct. 11, 2020, 3:36 p.m. OK Python 2 TESTS 13 264 102400
95300436 nurligenovtemirlan A Oct. 11, 2020, 9:15 p.m. OK Python 3 TESTS 13 93 307200
95300015 Sabbir_saif A Oct. 11, 2020, 9:01 p.m. OK Python 3 TESTS 13 93 307200
95261015 strivetodeath A Oct. 11, 2020, 12:31 p.m. OK Python 3 TESTS 13 93 307200
95289786 LintuStorm A Oct. 11, 2020, 5:38 p.m. OK Python 3 TESTS 13 108 0
95303035 IngaleAnkur10 A Oct. 11, 2020, 10:53 p.m. OK Python 3 TESTS 13 108 307200
95290267 shubham_1305 A Oct. 11, 2020, 5:46 p.m. OK Python 3 TESTS 13 108 307200
95257406 swagsy2000 A Oct. 11, 2020, 11:50 a.m. OK Python 3 TESTS 13 108 307200
95254537 Big_Hero_Coder A Oct. 11, 2020, 11:23 a.m. OK Python 3 TESTS 13 108 307200
95315548 _chanchal A Oct. 12, 2020, 5:47 a.m. OK Python 3 TESTS 13 109 0
95311749 softcoded A Oct. 12, 2020, 4:22 a.m. OK Python 3 TESTS 13 109 0
95294047 fahadkhaanz A Oct. 11, 2020, 6:50 p.m. OK Rust TESTS 13 46 0
95292073 Marcis A Oct. 11, 2020, 6:16 p.m. OK Scala TESTS 13 451 0
95279294 IvanDyachenko A Oct. 11, 2020, 3:31 p.m. OK Scala TESTS 13 452 0

remove filters

Back to search problems