Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!)

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
1774 Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!) FINISHED False 9000 60535499 Dec. 17, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1086 ) F1 Magician and Pigs (Easy Version) PROGRAMMING brute force implementation

B"This is the easy version of the problem. The only difference between the two versions is the constraint on n and x . You can make hacks only if both versions of the problem are solved. Little09 has been interested in magic for a long time, and it's so lucky that he meets a magician! The magician will perform n operations, each of them is one of the following three: A pig will die when its Health Point is less than or equal to 0 . Little09 wants to know how many living pigs there are after all the operations. Please, print the answer modulo 998 ,244 ,353 . The first line contains a single integer n ( 1 <= q n <= q 2 cdot 10^5 ) -- the number of operations. Each of the following n lines contains an operation given in the form described in the problem statement. It's guaranteed that 1 <= q x <= q 2 cdot 10^5 in operations of the first two types. Print a single integer -- the number of living pigs after all the operations, modulo 998 ,244 ,353 . In the first example, the operations are equivalent to repeating four times: create a pig with 8 Health Points and then reduce the Health Points of all living pigs by 3 . It is easy to find that there are two living pigs in the end with 2 and 5 Health Points. "...

Tutorials

Polynomial Round 2022 (Div. 1 + Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
185718589 rainboy F1 Dec. 17, 2022, 6:47 p.m. OK GNU C11 TESTS 138 78 6451200
185701073 wiIIiam555 F1 Dec. 17, 2022, 4:41 p.m. OK GNU C++14 TESTS 138 109 6451200
185716689 BaoJiaoPisu F1 Dec. 17, 2022, 6:33 p.m. OK GNU C++14 TESTS 138 109 8806400
185708510 _Guoyh_ F1 Dec. 17, 2022, 5:01 p.m. OK GNU C++14 TESTS 138 109 71270400
185740118 le0n F1 Dec. 18, 2022, 2:06 a.m. OK GNU C++14 TESTS 138 124 3993600
185703108 Kaibad F1 Dec. 17, 2022, 4:47 p.m. OK GNU C++14 TESTS 138 124 4812800
185727895 yao11617 F1 Dec. 17, 2022, 8:32 p.m. OK GNU C++14 TESTS 138 124 8396800
185708856 NoPotato F1 Dec. 17, 2022, 5:01 p.m. OK GNU C++14 TESTS 138 124 16793600
185701742 huangzirui F1 Dec. 17, 2022, 4:43 p.m. OK GNU C++14 TESTS 138 124 35328000
185710283 Nerovix F1 Dec. 17, 2022, 5:04 p.m. OK GNU C++14 TESTS 138 139 38502400
185703540 AlphaAurigae F1 Dec. 17, 2022, 4:48 p.m. OK GNU C++14 TESTS 138 140 40038400
185723051 jack112739 F1 Dec. 17, 2022, 7:30 p.m. OK GNU C++17 TESTS 138 78 12390400
185734227 realcomplex F1 Dec. 17, 2022, 10:34 p.m. OK GNU C++17 TESTS 138 109 5632000
185719246 regian0001 F1 Dec. 17, 2022, 6:53 p.m. OK GNU C++17 TESTS 138 109 32051200
185736548 Agreb F1 Dec. 17, 2022, 11:52 p.m. OK GNU C++17 TESTS 138 124 3993600
185751101 T_yunhui F1 Dec. 18, 2022, 5:46 a.m. OK GNU C++17 TESTS 139 124 6656000
185733430 stefanbalaz2 F1 Dec. 17, 2022, 10:15 p.m. OK GNU C++17 TESTS 138 124 22425600
185741946 HMAXS F1 Dec. 18, 2022, 2:53 a.m. OK GNU C++17 TESTS 138 124 25395200
185734401 Pyqe F1 Dec. 17, 2022, 10:39 p.m. OK GNU C++17 TESTS 138 124 32051200
185700088 wa_233 F1 Dec. 17, 2022, 4:38 p.m. OK GNU C++17 TESTS 138 124 48128000
185706389 HuaJun F1 Dec. 17, 2022, 4:56 p.m. OK GNU C++17 TESTS 138 139 8704000
185727148 Benq F1 Dec. 17, 2022, 8:22 p.m. OK GNU C++17 (64) TESTS 138 77 7372800
185742054 zhangboju F1 Dec. 18, 2022, 2:55 a.m. OK GNU C++17 (64) TESTS 138 77 16076800
185701200 frokaikan F1 Dec. 17, 2022, 4:41 p.m. OK GNU C++17 (64) TESTS 138 93 6451200
185704158 fatemetmhr F1 Dec. 17, 2022, 4:50 p.m. OK GNU C++17 (64) TESTS 138 93 15257600
185703009 gqf123 F1 Dec. 17, 2022, 4:46 p.m. OK GNU C++17 (64) TESTS 138 93 32051200
185716527 miagkov F1 Dec. 17, 2022, 6:32 p.m. OK GNU C++17 (64) TESTS 138 109 9625600
185700709 edenooo F1 Dec. 17, 2022, 4:40 p.m. OK GNU C++17 (64) TESTS 138 140 14745600
185719028 cuzperf F1 Dec. 17, 2022, 6:51 p.m. OK GNU C++17 (64) TESTS 138 156 9625600
185706427 loveye F1 Dec. 17, 2022, 4:56 p.m. OK GNU C++17 (64) TESTS 138 156 128204800
185717311 anpoli99 F1 Dec. 17, 2022, 6:38 p.m. OK GNU C++17 (64) TESTS 138 171 16486400
185732404 Boboge F1 Dec. 17, 2022, 9:51 p.m. OK GNU C++20 (64) TESTS 138 62 1638400
185716071 fallleaves01 F1 Dec. 17, 2022, 6:30 p.m. OK GNU C++20 (64) TESTS 138 62 2457600
185743320 siganai F1 Dec. 18, 2022, 3:27 a.m. OK GNU C++20 (64) TESTS 139 62 5324800
185703816 Septimelon F1 Dec. 17, 2022, 4:49 p.m. OK GNU C++20 (64) TESTS 138 62 5836800
185728382 DeadlyPillow F1 Dec. 17, 2022, 8:39 p.m. OK GNU C++20 (64) TESTS 138 62 9625600
185717367 fedez F1 Dec. 17, 2022, 6:38 p.m. OK GNU C++20 (64) TESTS 138 62 12185600
185717543 18985012367 F1 Dec. 17, 2022, 6:39 p.m. OK GNU C++20 (64) TESTS 138 62 29388800
185701826 Egor.Lifar F1 Dec. 17, 2022, 4:43 p.m. OK GNU C++20 (64) TESTS 138 62 34201600
185705570 Lyde F1 Dec. 17, 2022, 4:54 p.m. OK GNU C++20 (64) TESTS 138 77 9830400
185751782 CJzhouhuanyi F1 Dec. 18, 2022, 5:55 a.m. OK GNU C++20 (64) TESTS 139 78 5324800
185744201 megaspazz F1 Dec. 18, 2022, 3:47 a.m. OK Java 8 TESTS 139 1060 21913600
185744441 megaspazz F1 Dec. 18, 2022, 3:52 a.m. OK Java 8 TESTS 139 1075 21913600
185744308 megaspazz F1 Dec. 18, 2022, 3:49 a.m. OK Java 8 TESTS 139 1092 21913600
185743957 megaspazz F1 Dec. 18, 2022, 3:41 a.m. OK Java 8 TESTS 139 1092 21913600
185702954 Hakiobo F1 Dec. 17, 2022, 4:46 p.m. OK Kotlin 1.6 TESTS 138 389 6246400
185724784 danilgrig F1 Dec. 17, 2022, 7:50 p.m. OK MS C++ 2017 TESTS 138 499 8192000
185724738 danilgrig F1 Dec. 17, 2022, 7:50 p.m. OK MS C++ 2017 TESTS 138 576 9728000
185726776 danilgrig F1 Dec. 17, 2022, 8:17 p.m. OK MS C++ 2017 TESTS 138 1965 19660800
185706186 amenotiomoi F1 Dec. 17, 2022, 4:55 p.m. OK PyPy 3-64 TESTS 138 1247 43929600
185733791 WolG F1 Dec. 17, 2022, 10:23 p.m. OK PyPy 3-64 TESTS 138 1497 84172800
185734007 WolG F1 Dec. 17, 2022, 10:29 p.m. OK PyPy 3-64 TESTS 138 1622 81715200
185705757 chinerist F1 Dec. 17, 2022, 4:54 p.m. OK PyPy 3-64 TESTS 138 1668 83865600
185701295 sansen F1 Dec. 17, 2022, 4:41 p.m. OK Rust 2021 TESTS 138 156 10547200
185706581 cottoncotton F1 Dec. 17, 2022, 4:56 p.m. OK Rust 2021 TESTS 138 373 81305600

remove filters

Back to search problems