2023-2024 ICPC, NERC, Northern Eurasia Onsite (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
1912 2023-2024 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 29370299 Dec. 13, 2023, 7:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 946 ) E Evaluate It and Back Again PROGRAMMING constructive algorithms implementation math 2200

B"Aidan and Nadia are long-time friends with a shared passion for mathematics. Each of them has a favorite number: Aidan's favorite number is p , and Nadia's is q . To commemorate their friendship, their friends want to make a present: a plaque with an arithmetic expression whose value is equal to their favorite numbers. At first glance, it sounds impossible, but the answer is simple: Aidan reads left-to-right, while Nadia reads right-to-left, so the same expression can have different values for them. For example, if 2023-12-13 is written on the plaque, then Aidan would calculate the result as 2023-12-13 = 1998 , and Nadia would calculate it as 31-21-3202=-3192 . Find an arithmetic expression that, when read left-to-right, evaluates to p , and, when read right-to-left, evaluates to q . Its length must be at most 1000 characters. It's guaranteed that such an expression exists for all valid inputs. The first line of the input contains two integers p and q ( -10^{18} <= p, q <= 10^{18} ). Print the expression without spaces or line breaks. It can only contain digits 0 through 9, '+', '-', and '*' characters. The expression must contain at most 1000 characters. Leading zeros in numbers are not allowed (the only exception is the notation '0' representing the number 0 ) in both the expression and its reverse. Use of unary '+' or '-' is not allowed. The expression must be well-formed in both directions. The calculation uses the standard operator precedence. "...

Tutorials

Tutorials (PDF)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
237121964 Lynkcat houzhiyuan123 Chinese_zjc_ E Dec. 14, 2023, 5:40 a.m. OK GNU C++14 TESTS 177 15 0 2200
237121928 Yui_Yagi E Dec. 14, 2023, 5:40 a.m. OK GNU C++14 TESTS 177 15 0 2200
237110178 QQH E Dec. 14, 2023, 1:56 a.m. OK GNU C++14 TESTS 177 15 0 2200
237106779 liuhengxi E Dec. 14, 2023, 12:02 a.m. OK GNU C++14 TESTS 177 15 0 2200
237039361 mayiwei xueshen666 E Dec. 13, 2023, 12:19 p.m. OK GNU C++14 TESTS 177 15 0 2200
237034793 DJ2006 duanyuu E Dec. 13, 2023, noon OK GNU C++14 TESTS 177 15 0 2200
237013282 YXHuang bunH2O xsap E Dec. 13, 2023, 10:21 a.m. OK GNU C++14 TESTS 177 15 0 2200
237009877 whdywjd Max_s_xaM Sirantic E Dec. 13, 2023, 10:05 a.m. OK GNU C++14 TESTS 177 15 0 2200
237009473 paul2008 jucason_xu pp_orange E Dec. 13, 2023, 10:01 a.m. OK GNU C++14 TESTS 177 15 0 2200
237002549 fjashufi AcceptedPower Raymond_7 E Dec. 13, 2023, 9:26 a.m. OK GNU C++14 TESTS 177 15 0 2200
237040660 _Rise E Dec. 13, 2023, 12:29 p.m. OK GNU C++17 TESTS 177 15 0 2200
237039395 GJ.Ro E Dec. 13, 2023, 12:20 p.m. OK GNU C++17 TESTS 177 15 0 2200
237030138 yyf_0404 E Dec. 13, 2023, 11:39 a.m. OK GNU C++17 TESTS 177 15 0 2200
237022153 ShJ armoking limage E Dec. 13, 2023, 11:08 a.m. OK GNU C++17 TESTS 177 15 0 2200
237002764 BaoJiaoPisu vodacbaoan KhiNaoTotNghiep E Dec. 13, 2023, 9:27 a.m. OK GNU C++17 TESTS 177 15 0 2200
237097516 ywjylx E Dec. 13, 2023, 8:31 p.m. OK GNU C++17 TESTS 177 15 102400 2200
237016961 fried-chicken E Dec. 13, 2023, 10:38 a.m. OK GNU C++17 TESTS 177 15 307200 2200
237010051 pooty E Dec. 13, 2023, 10:07 a.m. OK GNU C++17 TESTS 177 15 307200 2200
237003370 Na2a SimB4 Temirulan E Dec. 13, 2023, 9:33 a.m. OK GNU C++17 TESTS 177 15 512000 2200
236993681 fried-chicken E Dec. 13, 2023, 8:39 a.m. OK GNU C++17 TESTS 177 30 307200 2200
237106714 Sparkle_Twilight E Dec. 13, 2023, 11:59 p.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237105588 songke123 E Dec. 13, 2023, 11:18 p.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237105497 songke123 E Dec. 13, 2023, 11:14 p.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237036040 phtniit E Dec. 13, 2023, 12:10 p.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237030829 yuvrajKharayat Sanat Ryshi E Dec. 13, 2023, 11:45 a.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237024730 Linx Bucketsmith E Dec. 13, 2023, 11:12 a.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237024304 Irmuun.Ch E Dec. 13, 2023, 11:10 a.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237021918 jinqihao2026 leihonglongyin zwh2008 E Dec. 13, 2023, 11:06 a.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237017735 fs20091003 E Dec. 13, 2023, 10:45 a.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237016608 Melacau bzzzz zzpcd E Dec. 13, 2023, 10:35 a.m. OK GNU C++17 (64) TESTS 177 15 0 2200
237121112 ljr1234 E Dec. 14, 2023, 5:29 a.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237120897 ljr1234 E Dec. 14, 2023, 5:26 a.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237108355 Survivor_winner E Dec. 14, 2023, 12:56 a.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237105585 ganeid E Dec. 13, 2023, 11:17 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237102277 Radewoosh E Dec. 13, 2023, 9:45 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237092855 ganeid E Dec. 13, 2023, 7:28 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237085959 alavrov E Dec. 13, 2023, 6:11 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237085571 Mantra7 E Dec. 13, 2023, 6:07 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237085427 JustasZ E Dec. 13, 2023, 6:06 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237041099 OIerGuge1030 3_CelL t0LJR1st E Dec. 13, 2023, 12:32 p.m. OK GNU C++20 (64) TESTS 177 15 0 2200
237029383 yvbf E Dec. 13, 2023, 11:33 a.m. OK Java 8 TESTS 177 109 0 2200
237000192 arvindf232 E Dec. 13, 2023, 9:16 a.m. OK Kotlin 1.6 TESTS 177 218 1228800 2200
237010843 Sulfox CSHwang thecold E Dec. 13, 2023, 10:14 a.m. OK PyPy 3 TESTS 177 218 5324800 2200
237091967 yeezy_na_izi E Dec. 13, 2023, 7:17 p.m. OK PyPy 3-64 TESTS 177 62 0 2200
237039760 toperperperper SamuelLH phillotunru1 E Dec. 13, 2023, 12:23 p.m. OK PyPy 3-64 TESTS 177 62 0 2200
237003704 yuki_keshiki cpchenpi E Dec. 13, 2023, 9:36 a.m. OK PyPy 3-64 TESTS 177 62 0 2200
237085975 MadRat_0 E Dec. 13, 2023, 6:12 p.m. OK PyPy 3-64 TESTS 177 77 0 2200
237005610 Heltion E Dec. 13, 2023, 9:41 a.m. OK PyPy 3-64 TESTS 177 77 0 2200
237002667 huangxw E Dec. 13, 2023, 9:27 a.m. OK PyPy 3-64 TESTS 177 78 1843200 2200
237009167 forxen kiwiHM Mackerel_Pike E Dec. 13, 2023, 9:59 a.m. OK Python 3 TESTS 177 46 102400 2200
237089279 najmiddinweb E Dec. 13, 2023, 6:45 p.m. OK Python 3 TESTS 177 61 1228800 2200
237080978 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080969 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080966 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080932 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080886 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080882 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080878 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080764 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080718 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200
237080678 E Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 2200

remove filters

Back to search problems