2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred)

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
2181 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 10446923 Dec. 17, 2025, 8:05 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 3665 ) A Alphabet City PROGRAMMING binary search math strings

Al is an urban designer in Alphabet City, and today their task is to prepare signs for (n) city streets. In Alphabet City, the street signs simply consist of the street names composed of capital identically stamped English metal letters. For instance, if, during nighttime, someone sneakily exchanges the first letters on NERC street and on NEF street, the next day nobody will see the difference as the letter 'N' is identical on both signs. Al is planning to put (m) signs on each street, and they have already ordered the required number of brass letters for each of the street names from the metallurgical plant. However, one hour before the order arrived, Al got a call from the plant's manager with a devastating piece of news: they lost one of the items from the list of street names! To mitigate the issue, Al decided for now to put as many signs as possible on each street whose order was not lost, and, with the leftover letters, to prepare at least one sign for the street whose order was lost. Formally, if (s_1, \ldots, s_n) are the street names, and (\ell) is the index of the missing item from the order, Al is interested in the maximum integer (k) such that it is possible, from all the letters of (m) copies of (s_1, \ldots, s_{\ell - 1}, s_{\ell + 1}, \ldots, s_n), to compose (k) copies of (s_1, \ldots, s_{\ell - 1}, s_{\ell + 1}, \ldots, s_n) and additionally at least one copy of (s_\ell), or to determine that such a composition is impossible for any non-negative (k). Al still does not know which of the items was lost. Write a program that, given (m) and all street names, for each (\ell \in \{1, 2, \ldots, n\}) prints the maximum value of (k), or (-1) if such a composition is impossible. The first line consists of two integers (n) and (m), denoting the number of streets in Alphabet City for which the signs are needed and the number of copies of each street name that Al initially ordered ($$

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
353822987 11Gaurav1 A Dec. 17, 2025, 10:17 a.m. OK C++17 (GCC 7-32) TESTS 81 78 1024000
353809271 mohammadhabib A Dec. 17, 2025, 8:58 a.m. OK C++17 (GCC 7-32) TESTS 81 78 1024000
353819005 Cycle_Trikstr A Dec. 17, 2025, 9:57 a.m. OK C++17 (GCC 7-32) TESTS 81 78 1126400
353801305 potato167 A Dec. 17, 2025, 8:12 a.m. OK C++17 (GCC 7-32) TESTS 81 78 1126400
353800721 hansery A Dec. 17, 2025, 8:07 a.m. OK C++17 (GCC 7-32) TESTS 81 78 16793600
353801141 pink_crocodile A Dec. 17, 2025, 8:10 a.m. OK C++17 (GCC 7-32) TESTS 81 78 16793600
353851449 sinhaanushka015 mannat_kathuria A Dec. 17, 2025, 12:57 p.m. OK C++17 (GCC 7-32) TESTS 81 93 1024000
353817907 sresth__iitr A Dec. 17, 2025, 9:51 a.m. OK C++17 (GCC 7-32) TESTS 81 93 1024000
353828207 prabhakar.07.07.07 A Dec. 17, 2025, 10:43 a.m. OK C++17 (GCC 7-32) TESTS 81 93 1126400
353803166 MadhavCoding Utkarsh59 neal27 A Dec. 17, 2025, 8:23 a.m. OK C++17 (GCC 7-32) TESTS 81 93 1126400
353801870 FFTotoro A Dec. 17, 2025, 8:15 a.m. OK C++20 (GCC 13-64) TESTS 81 62 2560000
353802215 Irmuun.Ch A Dec. 17, 2025, 8:17 a.m. OK C++20 (GCC 13-64) TESTS 81 62 2560000
353802080 Mitsukasa_Ayase kiana810 namespace_std A Dec. 17, 2025, 8:17 a.m. OK C++20 (GCC 13-64) TESTS 81 62 20889600
353809680 SmuggingSpon A Dec. 17, 2025, 9:01 a.m. OK C++20 (GCC 13-64) TESTS 81 78 2560000
353922404 MJSaif A Dec. 18, 2025, 4:16 a.m. OK C++20 (GCC 13-64) TESTS 81 78 2560000
353840513 posieDON99 A Dec. 17, 2025, 11:51 a.m. OK C++20 (GCC 13-64) TESTS 81 78 2560000
353816304 Xiaohan66ccff A Dec. 17, 2025, 9:41 a.m. OK C++20 (GCC 13-64) TESTS 81 78 2560000
353800692 Hachikoo A Dec. 17, 2025, 8:07 a.m. OK C++20 (GCC 13-64) TESTS 81 78 2560000
353826083 Aman_27p A Dec. 17, 2025, 10:33 a.m. OK C++20 (GCC 13-64) TESTS 81 78 2662400
353802047 adam.jq.xu sqrteipi meisgood A Dec. 17, 2025, 8:16 a.m. OK C++20 (GCC 13-64) TESTS 81 78 6451200
353804763 Mr_Turtle_ A Dec. 17, 2025, 8:33 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 46 2764800
353804114 BlueCrowner A Dec. 17, 2025, 8:29 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 46 34918400
353838165 Rsclet duchuan75 A Dec. 17, 2025, 11:37 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 2662400
353819560 akshitgupta_ grd.roshan7 rautelaaditya16 A Dec. 17, 2025, 10 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 2662400
353804694 giakhangdt A Dec. 17, 2025, 8:32 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 2662400
353803742 bramar2 A Dec. 17, 2025, 8:27 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 2662400
353804240 SeeYouu psy__Duck Naah_ID_WIN A Dec. 17, 2025, 8:29 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 2764800
353828953 utpalsen A Dec. 17, 2025, 10:47 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 17100800
353806358 Gapryong_Kim A Dec. 17, 2025, 8:41 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 18739200
353923990 zkxxxx A Dec. 18, 2025, 4:44 a.m. OK C++23 (GCC 14-64, msys2) TESTS 81 62 20889600
353845957 hollow_knight_27 A Dec. 17, 2025, 12:24 p.m. OK C# 8 TESTS 81 234 40345600
353802414 Gassa A Dec. 17, 2025, 8:19 a.m. OK D TESTS 81 312 115609600
353815144 1435730 A Dec. 17, 2025, 9:34 a.m. OK GNU C11 TESTS 81 125 4812800
353807565 kit27bme41 A Dec. 17, 2025, 8:48 a.m. OK GNU C11 TESTS 81 843 21401600
353804004 Sai_21081980 A Dec. 17, 2025, 8:28 a.m. OK GNU C11 TESTS 81 890 21401600
353826664 kkalksiidjdjlkf A Dec. 17, 2025, 10:35 a.m. OK GNU C11 TESTS 81 1687 24883200
353806158 afeefmuradbro A Dec. 17, 2025, 8:40 a.m. OK GNU C11 TESTS 81 1687 43929600
353812396 Anujbhati310 A Dec. 17, 2025, 9:17 a.m. OK Go TESTS 81 187 52633600
353848800 Staelth A Dec. 17, 2025, 12:41 p.m. OK Go TESTS 81 562 56115200
353803755 apoorvamaguluri22 A Dec. 17, 2025, 8:27 a.m. OK Java 21 TESTS 81 312 16896000
353822164 TR.HACKER A Dec. 17, 2025, 10:13 a.m. OK Java 21 TESTS 81 312 40960000
353831754 arvind9724 A Dec. 17, 2025, 11:01 a.m. OK Java 21 TESTS 81 328 6860800
353828375 arvind9724 A Dec. 17, 2025, 10:44 a.m. OK Java 21 TESTS 81 328 6963200
353802585 akash_006 A Dec. 17, 2025, 8:20 a.m. OK Java 21 TESTS 81 328 42496000
353801673 Sachin6782 A Dec. 17, 2025, 8:14 a.m. OK Java 21 TESTS 81 343 40652800
353803960 LOSER225 leen05 abhishekjhaji2004 A Dec. 17, 2025, 8:28 a.m. OK Java 21 TESTS 81 343 41062400
353802306 n.sundar15022006 A Dec. 17, 2025, 8:18 a.m. OK Java 21 TESTS 81 343 41676800
353850436 Ayush8874 A Dec. 17, 2025, 12:51 p.m. OK Java 21 TESTS 81 375 40345600
353801018 Kanikellaglory A Dec. 17, 2025, 8:10 a.m. OK Java 21 TESTS 81 375 40448000
353816677 Nishashri43 A Dec. 17, 2025, 9:44 a.m. OK Java 8 TESTS 81 234 39833600
353808694 kit27.bme1 A Dec. 17, 2025, 8:55 a.m. OK Java 8 TESTS 81 250 39833600
353818381 kit27.bme22 A Dec. 17, 2025, 9:54 a.m. OK Java 8 TESTS 81 265 39833600
353814544 GOWTHAMI_192004 A Dec. 17, 2025, 9:30 a.m. OK Java 8 TESTS 81 265 39833600
353824284 barsha_369 A Dec. 17, 2025, 10:23 a.m. OK Java 8 TESTS 81 296 39731200
353808665 yangyang520 A Dec. 17, 2025, 8:55 a.m. OK Java 8 TESTS 81 312 39731200
353806713 ZeroToMythic A Dec. 17, 2025, 8:43 a.m. OK Java 8 TESTS 81 328 39833600
353806524 Manishdharshini0425 A Dec. 17, 2025, 8:42 a.m. OK Java 8 TESTS 81 328 39833600
353802011 Arun_20055 A Dec. 17, 2025, 8:16 a.m. OK Java 8 TESTS 81 328 39833600
353806794 Nancy55 A Dec. 17, 2025, 8:44 a.m. OK Java 8 TESTS 81 343 41369600
353840287 _maz A Dec. 17, 2025, 11:49 a.m. OK JavaScript TESTS 81 1546 79872000
353827653 arvindf232 A Dec. 17, 2025, 10:40 a.m. OK Kotlin 2.2 TESTS 81 406 25395200
353825870 oskar18j A Dec. 17, 2025, 10:31 a.m. OK PyPy 3 TESTS 81 468 50483200
353809424 dhanushraagav80 A Dec. 17, 2025, 8:59 a.m. OK PyPy 3 TESTS 81 765 51814400
353843111 Mahir_Uddin A Dec. 17, 2025, 12:06 p.m. OK PyPy 3 TESTS 81 859 51712000
353817457 mavr A Dec. 17, 2025, 9:48 a.m. OK PyPy 3 TESTS 81 875 68198400
353800841 RR_GROUP A Dec. 17, 2025, 8:08 a.m. OK PyPy 3 TESTS 81 921 50892800
353845647 ACPC_Revenge A Dec. 17, 2025, 12:22 p.m. OK PyPy 3 TESTS 81 984 12390400
353812298 ps2006 A Dec. 17, 2025, 9:16 a.m. OK PyPy 3 TESTS 81 1031 81715200
353843260 Mahir_Uddin A Dec. 17, 2025, 12:07 p.m. OK PyPy 3 TESTS 81 1187 51200000
353803863 16777216 A Dec. 17, 2025, 8:27 a.m. OK PyPy 3-64 TESTS 81 281 24064000
353825523 Yedige8 A Dec. 17, 2025, 10:30 a.m. OK PyPy 3-64 TESTS 81 296 50176000
353821305 tejasyadavalli A Dec. 17, 2025, 10:08 a.m. OK PyPy 3-64 TESTS 81 296 90112000
353803386 gugudu2086 Duty2013 Grigoryan_Andrey A Dec. 17, 2025, 8:25 a.m. OK PyPy 3-64 TESTS 81 296 97177600
353840362 garuda_07 A Dec. 17, 2025, 11:50 a.m. OK PyPy 3-64 TESTS 81 312 92262400
353840600 garuda_07 A Dec. 17, 2025, 11:51 a.m. OK PyPy 3-64 TESTS 81 359 25292800
353834992 yahya04 A Dec. 17, 2025, 11:19 a.m. OK PyPy 3-64 TESTS 81 359 28876800
353831706 alexabrock A Dec. 17, 2025, 11:01 a.m. OK PyPy 3-64 TESTS 81 359 91238400
353800705 vk135 A Dec. 17, 2025, 8:07 a.m. OK PyPy 3-64 TESTS 81 375 94924800
353808026 susshhshsh A Dec. 17, 2025, 8:51 a.m. OK PyPy 3-64 TESTS 81 390 97484800
353848866 fardeenrafi37 A Dec. 17, 2025, 12:41 p.m. OK Python 2 TESTS 81 2890 47718400
353828928 SharkOuttie13 A Dec. 17, 2025, 10:47 a.m. OK Python 3 TESTS 81 515 22835200
353846745 taxir A Dec. 17, 2025, 12:29 p.m. OK Python 3 TESTS 81 531 77721600
353815851 Umbralerr KobayashiTohru JiomLan A Dec. 17, 2025, 9:38 a.m. OK Python 3 TESTS 81 578 56422400
353843117 himanshuchitoria A Dec. 17, 2025, 12:06 p.m. OK Python 3 TESTS 81 593 70860800
353807821 uii808 A Dec. 17, 2025, 8:50 a.m. OK Python 3 TESTS 81 593 71680000
353840856 mariganesh A Dec. 17, 2025, 11:53 a.m. OK Python 3 TESTS 81 593 78950400
353808307 abhinav_26104 rajarshidattapy A Dec. 17, 2025, 8:52 a.m. OK Python 3 TESTS 81 609 78233600
353814049 Bhogavalli-abhi A Dec. 17, 2025, 9:27 a.m. OK Python 3 TESTS 81 609 79769600
353812394 2310030302_klh A Dec. 17, 2025, 9:17 a.m. OK Python 3 TESTS 81 625 79769600
353810911 akhil_0938 A Dec. 17, 2025, 9:08 a.m. OK Python 3 TESTS 81 625 79769600
353841627 x0710 A Dec. 17, 2025, 11:57 a.m. OK Rust 2024 TESTS 81 109 41062400
353829195 chataign A Dec. 17, 2025, 10:48 a.m. OK Rust 2024 TESTS 81 171 14233600

remove filters

Back to search problems