2024-2025 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
2052 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 42157523 Dec. 15, 2024, 7:35 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 1506 ) E Expression Correction PROGRAMMING

Eve is studying mathematics in school. They've already learned how to perform addition and subtraction of decimal numbers and are practicing it by solving fun puzzles. The specific type of the puzzle they are solving is described below. They are given an equality with addition and subtraction which may or may not be a correct one. They have to verify the equality, and if it is not a correct one, then they have to tell if it is possible to turn it into a correct one by moving one digit to a different place in the equality. Let us formally define the equality in this puzzle: Number is a string of at least one and at most 10 decimal digits (' 0 ' to ' 9 ') that has no extra leading zeroes (the only number that is allowed to start with the zero digit is " 0 "). Expression is a string composed of one or more numbers, as defined above, that are separated with addition (' + ') or subtraction (' - ') operators. Equality is a string composed of an expression, as defined above, followed by an equals sign (' = '), followed by another expression. Correct equality is an equality where both expressions on the left and right hand sides of the equals sign evaluate to the same decimal number according to the standard arithmetic. Note that while all the numbers in the expression are positive, the evaluated number can be negative. Also, the evaluated number can be longer than 10 digits. Moving a digit in an equality means removing a digit from any position in the string and inserting it into another position so that the resulting string is again an equality. The puzzle is pretty straightforward once you know how to add and subtract decimal numbers, but it is tenuous. It is easy to get distracted and make a mistake while performing computation. Your task is to write a program that solves the expression correction puzzle to help Eve. The input file consists of a single line — an equality as defined in the problem statement. The total length of the input string does not exceed

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
296553969 og.kostya E Dec. 15, 2024, 10:40 a.m. OK C# 10 TESTS 130 124 3174400
296768772 bidzilya E Dec. 15, 2024, 8:14 p.m. OK C++17 (GCC 7-32) TESTS 130 62 102400
296548225 kaitwang meower E Dec. 15, 2024, 10:04 a.m. OK C++17 (GCC 7-32) TESTS 130 62 102400
296542318 MyK_00L MrBrionix E Dec. 15, 2024, 9:25 a.m. OK C++17 (GCC 7-32) TESTS 130 62 102400
296763812 harsha_.05_ E Dec. 15, 2024, 7:11 p.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296759549 JustNoobkkk E Dec. 15, 2024, 6:26 p.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296759410 JustNoobkkk E Dec. 15, 2024, 6:25 p.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296570549 Spad2e E Dec. 15, 2024, 12:48 p.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296564696 Eun_ha codecommander E Dec. 15, 2024, 12:22 p.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296559135 harsha_.05_ E Dec. 15, 2024, 11:32 a.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296552789 bnxcvd Black_King1 E Dec. 15, 2024, 10:28 a.m. OK C++17 (GCC 7-32) TESTS 130 77 102400
296534880 amirhoseinfar1385 E Dec. 15, 2024, 8:42 a.m. OK C++20 (GCC 13-64) TESTS 130 62 0
296560862 Mousa_Aboubaker Albara_Abdulhafith E Dec. 15, 2024, 11:47 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296556586 Eslam_Saleh E Dec. 15, 2024, 11:07 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296556243 Maeda.anHiep chUoNgnn E Dec. 15, 2024, 11:04 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296552634 Dell_Know E Dec. 15, 2024, 10:26 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296542892 huangyuhan123456 cfls_dpfs HD0X_____ E Dec. 15, 2024, 9:31 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296537651 GuilhermeCdM Cabralbonzao E Dec. 15, 2024, 8:57 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296536605 byebye75 E Dec. 15, 2024, 8:48 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296533831 nkamzabek sstrong 998kover E Dec. 15, 2024, 8:33 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296532422 Divine_Spark E Dec. 15, 2024, 8:21 a.m. OK C++20 (GCC 13-64) TESTS 130 62 102400
296553199 YipChip Woxuanyi E Dec. 15, 2024, 10:32 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 62 0
296553902 yvbf E Dec. 15, 2024, 10:40 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 62 102400
296548300 kittu_162 iLoveDinosaurs karan_garg_12 E Dec. 15, 2024, 10:04 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 62 102400
296539312 happyboy_2725 cuigod E Dec. 15, 2024, 9:12 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 62 102400
296537399 dbsptl sqrteipi E Dec. 15, 2024, 8:54 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 62 102400
296537069 _RUSLVN_ An1kv balushe4ka E Dec. 15, 2024, 8:51 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 62 102400
296779663 kolomig0r E Dec. 16, 2024, 12:45 a.m. OK C++23 (GCC 14-64, msys2) TESTS 130 77 102400
296769994 aryan12 E Dec. 15, 2024, 8:32 p.m. OK C++23 (GCC 14-64, msys2) TESTS 130 77 102400
296762086 GooddkNight E Dec. 15, 2024, 6:51 p.m. OK C++23 (GCC 14-64, msys2) TESTS 130 77 102400
296756647 Zeyush E Dec. 15, 2024, 6:02 p.m. OK C++23 (GCC 14-64, msys2) TESTS 130 77 102400
296551832 kamranm E Dec. 15, 2024, 10:18 a.m. OK Java 8 TESTS 130 312 109260800
296553623 awoo E Dec. 15, 2024, 10:37 a.m. OK PyPy 3 TESTS 130 468 5836800
296538291 qq11123334 E Dec. 15, 2024, 9:02 a.m. OK PyPy 3 TESTS 130 515 9011200
296537997 Kaey Virv TheScrasse E Dec. 15, 2024, 9 a.m. OK PyPy 3-64 TESTS 130 140 2355200
296779818 constkir E Dec. 16, 2024, 12:50 a.m. OK PyPy 3-64 TESTS 130 140 3072000
296780570 constkir E Dec. 16, 2024, 1:17 a.m. OK PyPy 3-64 TESTS 130 155 3072000
296532965 jenil0108 UzuHa_NaruSuke nishanthravichandran12 E Dec. 15, 2024, 8:26 a.m. OK PyPy 3-64 TESTS 130 156 3276800
296540394 sushmanth.dampur8780 E Dec. 15, 2024, 9:21 a.m. OK PyPy 3-64 TESTS 130 202 3891200
296545388 lcyxds shleodai E Dec. 15, 2024, 9:56 a.m. OK PyPy 3-64 TESTS 130 202 5120000
296531591 JKadirov Sirojiddin CPython.uz E Dec. 15, 2024, 8:15 a.m. OK PyPy 3-64 TESTS 130 203 5324800
296534751 Schmoov Haksell E Dec. 15, 2024, 8:41 a.m. OK PyPy 3-64 TESTS 130 218 6348800
296531306 czxsguhyb E Dec. 15, 2024, 8:12 a.m. OK PyPy 3-64 TESTS 130 234 5120000
296539624 CodeLegendX E Dec. 15, 2024, 9:14 a.m. OK PyPy 3-64 TESTS 130 249 7168000
296551553 Messi E Dec. 15, 2024, 10:15 a.m. OK Python 3 TESTS 130 202 0
296554191 dumdum123 E Dec. 15, 2024, 10:43 a.m. OK Python 3 TESTS 130 234 0
296787476 aminealist E Dec. 16, 2024, 3:58 a.m. OK Python 3 TESTS 130 265 0
296560119 Nurmyrat E Dec. 15, 2024, 11:41 a.m. OK Python 3 TESTS 130 312 409600
296540393 r314 Alenochka E Dec. 15, 2024, 9:21 a.m. OK Python 3 TESTS 130 343 0
296579503 Qedir_4002 E Dec. 15, 2024, 2:07 p.m. OK Python 3 TESTS 130 374 0
296579274 Qedir_4002 E Dec. 15, 2024, 2:05 p.m. OK Python 3 TESTS 130 374 0
296552712 SarahLynn s.seraj.shafie AA_Surely E Dec. 15, 2024, 10:27 a.m. OK Python 3 TESTS 130 390 0
296548704 amalverma hewhocodes sohamrane301 E Dec. 15, 2024, 10:09 a.m. OK Python 3 TESTS 130 452 409600
296552101 awqssl qianshiyo henryyyh E Dec. 15, 2024, 10:21 a.m. OK Python 3 TESTS 130 577 0
296539639 freak93 E Dec. 15, 2024, 9:14 a.m. OK Rust 2021 TESTS 130 62 102400
296567762 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567731 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567645 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567596 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567578 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567569 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567481 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567474 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567414 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0
296567390 E Dec. 15, 2024, 12:24 p.m. OK Unknown TESTS 0 0 0

remove filters

Back to search problems