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
( 3257 ) M Medical Parity PROGRAMMING dp

Nurse Mira works in an allergy clinic. For each patient Mira tests (n) allergens in a fixed order. The outcome of the tests is written down as a binary string (x) of length (n): for each allergen, 1 means a positive reaction and 0 means no reaction. To analyze how the reactions are distributed, Mira also writes a parity control string for (x). For a binary string (x) of length (n), the parity control string (y) is defined as follows. For every position (i) ((1 \le i \le n)), let (c_i) be the number of characters equal to 1 among the first (i) characters of (x) (including position (i)). The parity control string (y) is the binary string of length (n) such that (y_i = c_i \mod 2) for all (i) ((1 \le i \le n)). In other words, (y_i) is 1 if (c_i) is odd and 0 if (c_i) is even. For example, if (x = 11101), then (y = 10110). Unfortunately, when recording the data, some bits in the test result string and the parity control string may have been written incorrectly. For a given patient, Mira later finds in the system two binary strings (x') and (y') of the same length (n). They were intended to be some true test result string (x) and its parity control string (y), but some bits in (x) and (y) might have been flipped during recording. For instance, in the previous example only the 3rd bit in (y) could have been flipped, resulting in (x' = 11101) and (y' = 10010). In one bit flip , a position in one of the two strings is chosen and the bit at this position is flipped (changing 0 to 1 or 1 to 0). Mira wants to know the minimal number of bit flips that could have happened when recording the data. Formally, you are given two binary strings (x') and (y') of length (n). You want to obtain two strings (x) and (y) of length (n) from (x') and (y') by flipping some bits in (x') and (y'), so that (y) is

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
353850153 ameydongre M Dec. 17, 2025, 12:49 p.m. OK C++17 (GCC 7-32) TESTS 28 46 102400
353807260 Ananya_CodeNova M Dec. 17, 2025, 8:47 a.m. OK C++17 (GCC 7-32) TESTS 28 46 102400
353801898 hansery M Dec. 17, 2025, 8:16 a.m. OK C++17 (GCC 7-32) TESTS 28 46 102400
353844015 ovnicat nukkua zoryn M Dec. 17, 2025, 12:12 p.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353843252 YoRu-ShiKa M Dec. 17, 2025, 12:07 p.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353839582 tarunbhatia2809 M Dec. 17, 2025, 11:45 a.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353827905 iamashrur M Dec. 17, 2025, 10:42 a.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353832432 Tech_100 M Dec. 17, 2025, 11:05 a.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353928160 just_anotherguy M Dec. 18, 2025, 5:44 a.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353852462 AryFox M Dec. 17, 2025, 1:03 p.m. OK C++17 (GCC 7-32) TESTS 28 62 102400
353808274 soahcrana M Dec. 17, 2025, 8:52 a.m. OK C++20 (GCC 13-64) TESTS 28 46 1024000
353849892 HuangZekai M Dec. 17, 2025, 12:47 p.m. OK C++20 (GCC 13-64) TESTS 28 46 1024000
353820090 Adiat iamsazidh Seriously_Its_Sameer M Dec. 17, 2025, 10:03 a.m. OK C++20 (GCC 13-64) TESTS 28 46 1024000
353812114 Travor007 M Dec. 17, 2025, 9:15 a.m. OK C++20 (GCC 13-64) TESTS 28 46 1024000
353804226 jatin123258 p1k4 PQ2876 M Dec. 17, 2025, 8:29 a.m. OK C++20 (GCC 13-64) TESTS 28 46 1024000
353809228 r_20 M Dec. 17, 2025, 8:58 a.m. OK C++20 (GCC 13-64) TESTS 28 46 1126400
353847792 _Prakhar_Jain M Dec. 17, 2025, 12:35 p.m. OK C++20 (GCC 13-64) TESTS 28 46 1126400
353846201 neocp M Dec. 17, 2025, 12:25 p.m. OK C++20 (GCC 13-64) TESTS 28 46 1126400
353844754 kartikey0507 rabbio_vk M Dec. 17, 2025, 12:17 p.m. OK C++20 (GCC 13-64) TESTS 28 46 1126400
353811794 paradox M Dec. 17, 2025, 9:13 a.m. OK C++20 (GCC 13-64) TESTS 28 46 9113600
353817588 Adiba123 M Dec. 17, 2025, 9:49 a.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353850875 Abhishek_Raj1 M Dec. 17, 2025, 12:53 p.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353846812 doomer7 M Dec. 17, 2025, 12:29 p.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353843968 iitamansharma M Dec. 17, 2025, 12:12 p.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353842821 Rudra_445 M Dec. 17, 2025, 12:05 p.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353839143 Ragnar21 M Dec. 17, 2025, 11:43 a.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353827338 DemberS06 M Dec. 17, 2025, 10:39 a.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353819490 StathisKons coder3000 M Dec. 17, 2025, 10 a.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353819042 akhangisntme minhnguyen2010 nhquang2231 M Dec. 17, 2025, 9:57 a.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353814656 sudo.de M Dec. 17, 2025, 9:31 a.m. OK C++23 (GCC 14-64, msys2) TESTS 28 46 1126400
353847938 hollow_knight_27 M Dec. 17, 2025, 12:36 p.m. OK C# 8 TESTS 28 156 14848000
353804366 Gassa M Dec. 17, 2025, 8:30 a.m. OK D TESTS 28 296 24268800
353919426 ruban M Dec. 18, 2025, 3:19 a.m. OK Delphi TESTS 28 718 52940800
353919455 ruban M Dec. 18, 2025, 3:19 a.m. OK FPC TESTS 28 281 53452800
353925732 vishal122516 M Dec. 18, 2025, 5:10 a.m. OK GNU C11 TESTS 28 296 2048000
353928221 yiren429 M Dec. 18, 2025, 5:44 a.m. OK Go TESTS 28 62 5734400
353833289 Staelth M Dec. 17, 2025, 11:09 a.m. OK Go TESTS 28 578 6860800
353922990 rajkumar2007 M Dec. 18, 2025, 4:27 a.m. OK Java 21 TESTS 28 250 1126400
353810325 madhu0407 M Dec. 17, 2025, 9:05 a.m. OK Java 21 TESTS 28 250 1433600
353823775 kit27bme41 M Dec. 17, 2025, 10:21 a.m. OK Java 21 TESTS 28 265 512000
353809543 Sri_ragavi_28 M Dec. 17, 2025, 9 a.m. OK Java 21 TESTS 28 265 819200
353810817 Abinaya_123 M Dec. 17, 2025, 9:07 a.m. OK Java 21 TESTS 28 281 819200
353806345 Sanjai_007 M Dec. 17, 2025, 8:41 a.m. OK Java 21 TESTS 28 281 1638400
353811839 Gowtham_0408 M Dec. 17, 2025, 9:14 a.m. OK Java 21 TESTS 28 281 2048000
353840703 lyongwolf M Dec. 17, 2025, 11:52 a.m. OK Java 21 TESTS 28 281 11059200
353809454 ZeroDayKnight M Dec. 17, 2025, 9 a.m. OK Java 21 TESTS 28 296 614400
353813733 AMIRTHA_DAHA M Dec. 17, 2025, 9:25 a.m. OK Java 21 TESTS 28 296 716800
353809389 Priyadharshiniii M Dec. 17, 2025, 8:59 a.m. OK Java 8 TESTS 28 187 102400
353817988 Exotic.joe M Dec. 17, 2025, 9:52 a.m. OK Java 8 TESTS 28 203 0
353821409 Nishashri43 M Dec. 17, 2025, 10:09 a.m. OK Java 8 TESTS 28 203 102400
353820628 GOWTHAMI_192004 M Dec. 17, 2025, 10:05 a.m. OK Java 8 TESTS 28 203 102400
353818181 kit27.bme03 M Dec. 17, 2025, 9:53 a.m. OK Java 8 TESTS 28 203 102400
353817086 Mazhathi M Dec. 17, 2025, 9:46 a.m. OK Java 8 TESTS 28 203 102400
353816838 kit27.bme48 M Dec. 17, 2025, 9:45 a.m. OK Java 8 TESTS 28 203 102400
353815886 vishnu060605 M Dec. 17, 2025, 9:38 a.m. OK Java 8 TESTS 28 203 102400
353814073 Kaviya-25 M Dec. 17, 2025, 9:27 a.m. OK Java 8 TESTS 28 203 102400
353813732 Nancy55 M Dec. 17, 2025, 9:25 a.m. OK Java 8 TESTS 28 203 102400
353826207 arvindf232 M Dec. 17, 2025, 10:33 a.m. OK Kotlin 2.2 TESTS 28 312 28467200
353818973 ps2006 M Dec. 17, 2025, 9:57 a.m. OK PyPy 3 TESTS 28 843 9625600
353807810 MatthewCode M Dec. 17, 2025, 8:50 a.m. OK PyPy 3-64 TESTS 28 156 18841600
353824730 Rcharlie M Dec. 17, 2025, 10:25 a.m. OK PyPy 3-64 TESTS 28 171 19456000
353805709 987 M Dec. 17, 2025, 8:38 a.m. OK PyPy 3-64 TESTS 28 171 32460800
353825862 Ludis mer_on M Dec. 17, 2025, 10:31 a.m. OK PyPy 3-64 TESTS 28 187 24166400
353807262 pulakbagaria jagannathpisharody Aaravdg_07 M Dec. 17, 2025, 8:47 a.m. OK PyPy 3-64 TESTS 28 218 9932800
353840967 Not_PyPy M Dec. 17, 2025, 11:53 a.m. OK PyPy 3-64 TESTS 28 218 10137600
353825956 Yedige8 M Dec. 17, 2025, 10:32 a.m. OK PyPy 3-64 TESTS 28 234 18432000
353802897 Hasanboyman_01 M Dec. 17, 2025, 8:22 a.m. OK PyPy 3-64 TESTS 28 250 9830400
353825305 tejasyadavalli M Dec. 17, 2025, 10:28 a.m. OK PyPy 3-64 TESTS 28 281 9216000
353827664 betelcode M Dec. 17, 2025, 10:40 a.m. OK PyPy 3-64 TESTS 28 281 10752000
353815307 patelvinnu.112 kashish2210 M Dec. 17, 2025, 9:35 a.m. OK Python 3 TESTS 28 406 15360000
353816084 prohorse M Dec. 17, 2025, 9:39 a.m. OK Python 3 TESTS 28 578 4198400
353826638 Master-Yug M Dec. 17, 2025, 10:35 a.m. OK Python 3 TESTS 28 578 15564800
353814398 uii808 M Dec. 17, 2025, 9:29 a.m. OK Python 3 TESTS 28 640 4198400
353848734 F0rSAKen89 M Dec. 17, 2025, 12:40 p.m. OK Python 3 TESTS 28 703 15564800
353810669 PP2412 M Dec. 17, 2025, 9:07 a.m. OK Python 3 TESTS 28 1234 11776000
353848146 Asema208 lolkek3310 SimpleStone228 M Dec. 17, 2025, 12:37 p.m. OK Python 3 TESTS 28 1296 4096000
353833196 MdKhanBahadurSadi M Dec. 17, 2025, 11:08 a.m. OK Python 3 TESTS 28 1625 35020800
353807186 2310030104 M Dec. 17, 2025, 8:46 a.m. OK Python 3 TESTS 28 1640 27955200
353808800 Rahul5914 M Dec. 17, 2025, 8:55 a.m. OK Python 3 TESTS 28 1718 5222400
353835586 Anujbhati310 M Dec. 17, 2025, 11:22 a.m. OK Rust 2024 TESTS 28 46 11468800

remove filters

Back to search problems