Codeforces Round 676 (Div. 2)

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
1421 Codeforces Round 676 (Div. 2) FINISHED False 7200 134168063 Oct. 18, 2020, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 30242 ) A XORwice PROGRAMMING bitmasks greedy math

B"In order to celebrate Twice's 5th anniversary, Tzuyu and Sana decided to play a game. Tzuyu gave Sana two integers a and b and a really important quest. In order to complete the quest, Sana has to output the smallest possible value of ( a oplus x ) + ( b oplus x ) for any given x , where oplus denotes the bitwise XOR operation. Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 10^{4} ). Description of the test cases follows. The only line of each test case contains two integers a and b ( 1 <= a, b <= 10^{9} ). For each testcase, output the smallest possible value of the given expression. For the first test case Sana can choose x=4 and the value will be ( 6 oplus 4 ) + ( 12 oplus 4 ) = 2 + 8 = 10 . It can be shown that this is the smallest possible value. "...

Tutorials

Codeforces Round #676 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
95914025 fpc_coder A Oct. 18, 2020, 2:38 p.m. OK FPC TESTS 22 62 0
95914089 fpc_coder A Oct. 18, 2020, 2:39 p.m. OK FPC TESTS 22 62 0
95908038 Shafayet_Ullah A Oct. 18, 2020, 1:20 p.m. OK GNU C11 TESTS 22 61 0
95927614 nkp A Oct. 18, 2020, 6:23 p.m. OK GNU C11 TESTS 22 62 0
95899827 MohammadMajdy4 A Oct. 18, 2020, 11:41 a.m. OK GNU C11 TESTS 22 62 0
95930870 jjlowercase A Oct. 18, 2020, 7:40 p.m. OK GNU C11 TESTS 22 62 0
95933867 0_0perplexed A Oct. 18, 2020, 9:06 p.m. OK GNU C11 TESTS 22 62 0
95913862 zoo868e A Oct. 18, 2020, 2:36 p.m. OK GNU C11 TESTS 22 62 0
95915120 scheung A Oct. 18, 2020, 2:53 p.m. OK GNU C11 TESTS 22 62 0
95928712 Xacman A Oct. 18, 2020, 6:46 p.m. OK GNU C11 TESTS 22 62 0
95923225 dhaval_418 A Oct. 18, 2020, 4:59 p.m. OK GNU C11 TESTS 22 62 0
95923568 rakesh_roy_plabon A Oct. 18, 2020, 5:05 p.m. OK GNU C11 TESTS 22 62 0
95939506 rcxkk A Oct. 19, 2020, 1:39 a.m. OK GNU C++11 TESTS 22 15 0
95916291 ljfty A Oct. 18, 2020, 3:08 p.m. OK GNU C++11 TESTS 22 30 0
95908106 Ritalc A Oct. 18, 2020, 1:20 p.m. OK GNU C++11 TESTS 22 30 0
95937285 autistic_boy A Oct. 18, 2020, 11:41 p.m. OK GNU C++11 TESTS 22 30 0
95944520 ljfty A Oct. 19, 2020, 4:30 a.m. OK GNU C++11 TESTS 22 31 0
95942797 Werner_Yin A Oct. 19, 2020, 3:36 a.m. OK GNU C++11 TESTS 22 31 0
95941529 luogu_bot3 A Oct. 19, 2020, 2:58 a.m. OK GNU C++11 TESTS 22 31 0
95948061 MengWH A Oct. 19, 2020, 5:54 a.m. OK GNU C++11 TESTS 22 31 0
95946258 jiufeng A Oct. 19, 2020, 5:14 a.m. OK GNU C++11 TESTS 22 31 0
95945945 K0u1e A Oct. 19, 2020, 5:07 a.m. OK GNU C++11 TESTS 22 31 0
95931950 __drifturious__ A Oct. 18, 2020, 8:08 p.m. OK GNU C++14 TESTS 22 31 0
95937725 scuzt A Oct. 19, 2020, 12:08 a.m. OK GNU C++14 TESTS 22 31 0
95941174 g.kalyan04 A Oct. 19, 2020, 2:47 a.m. OK GNU C++14 TESTS 22 31 0
95942325 marcOS A Oct. 19, 2020, 3:22 a.m. OK GNU C++14 TESTS 22 31 0
95944688 abiramee A Oct. 19, 2020, 4:34 a.m. OK GNU C++14 TESTS 22 31 0
95946778 optimistic_191051 A Oct. 19, 2020, 5:26 a.m. OK GNU C++14 TESTS 22 31 0
95946944 optimistic_191051 A Oct. 19, 2020, 5:30 a.m. OK GNU C++14 TESTS 22 31 0
95936323 RAKESHGON A Oct. 18, 2020, 10:46 p.m. OK GNU C++14 TESTS 22 31 0
95932859 __drifturious__ A Oct. 18, 2020, 8:34 p.m. OK GNU C++14 TESTS 22 31 0
95932729 Devil A Oct. 18, 2020, 8:31 p.m. OK GNU C++14 TESTS 22 31 0
95948186 les.beknur A Oct. 19, 2020, 5:56 a.m. OK GNU C++17 TESTS 22 31 0
95944712 PaliLo A Oct. 19, 2020, 4:34 a.m. OK GNU C++17 TESTS 22 31 0
95947985 sj2108 A Oct. 19, 2020, 5:52 a.m. OK GNU C++17 TESTS 22 31 0
95947126 inhome A Oct. 19, 2020, 5:34 a.m. OK GNU C++17 TESTS 22 31 0
95947025 sksinghal17 A Oct. 19, 2020, 5:32 a.m. OK GNU C++17 TESTS 22 31 0
95946996 mr_robot101 A Oct. 19, 2020, 5:31 a.m. OK GNU C++17 TESTS 22 31 0
95945281 shivam_1507_ A Oct. 19, 2020, 4:50 a.m. OK GNU C++17 TESTS 22 31 0
95943778 lukasdeimos A Oct. 19, 2020, 4:07 a.m. OK GNU C++17 TESTS 22 31 0
95943687 jamil314 A Oct. 19, 2020, 4:05 a.m. OK GNU C++17 TESTS 22 31 0
95943582 Monster_ZCCC A Oct. 19, 2020, 4:01 a.m. OK GNU C++17 TESTS 22 31 0
95935781 SubJudge1 A Oct. 18, 2020, 10:20 p.m. OK GNU C++17 (64) TESTS 22 31 0
95938157 Tzak A Oct. 19, 2020, 12:31 a.m. OK GNU C++17 (64) TESTS 22 31 0
95938801 N1ukash A Oct. 19, 2020, 1:07 a.m. OK GNU C++17 (64) TESTS 22 31 0
95938915 vjudge3 A Oct. 19, 2020, 1:12 a.m. OK GNU C++17 (64) TESTS 22 31 0
95938965 DanielMontes A Oct. 19, 2020, 1:14 a.m. OK GNU C++17 (64) TESTS 22 31 0
95939090 Marckess A Oct. 19, 2020, 1:21 a.m. OK GNU C++17 (64) TESTS 22 31 0
95943156 12tqian A Oct. 19, 2020, 3:47 a.m. OK GNU C++17 (64) TESTS 22 31 0
95944820 pradnesh1 A Oct. 19, 2020, 4:38 a.m. OK GNU C++17 (64) TESTS 22 31 0
95945382 johny23 A Oct. 19, 2020, 4:52 a.m. OK GNU C++17 (64) TESTS 22 31 0
95946703 ganpa A Oct. 19, 2020, 5:25 a.m. OK GNU C++17 (64) TESTS 22 31 0
95930652 nkp A Oct. 18, 2020, 7:35 p.m. OK Go TESTS 22 93 0
95914862 sushant-kun A Oct. 18, 2020, 2:49 p.m. OK Java 11 TESTS 22 187 0
95942232 devesh08 A Oct. 19, 2020, 3:19 a.m. OK Java 11 TESTS 22 202 0
95936656 Agnimandur A Oct. 18, 2020, 11:03 p.m. OK Java 11 TESTS 22 202 0
95923386 skittles1412 A Oct. 18, 2020, 5:02 p.m. OK Java 11 TESTS 22 202 0
95918592 devesh08 A Oct. 18, 2020, 3:41 p.m. OK Java 11 TESTS 22 202 0
95912239 bobbilyking A Oct. 18, 2020, 2:15 p.m. OK Java 11 TESTS 22 202 0
95901427 vineet_001 A Oct. 18, 2020, 11:54 a.m. OK Java 11 TESTS 22 202 0
95903499 chris_11 A Oct. 18, 2020, 12:20 p.m. OK Java 11 TESTS 22 218 0
95903732 a1000 A Oct. 18, 2020, 12:23 p.m. OK Java 11 TESTS 22 233 0
95905114 gssakash A Oct. 18, 2020, 12:41 p.m. OK Java 11 TESTS 22 234 0
95945487 DemonSlayer18 A Oct. 19, 2020, 4:55 a.m. OK Java 8 TESTS 22 109 0
95940298 rogernadal A Oct. 19, 2020, 2:17 a.m. OK Java 8 TESTS 22 109 0
95925942 Whiplash99 A Oct. 18, 2020, 5:47 p.m. OK Java 8 TESTS 22 124 0
95925798 Whiplash99 A Oct. 18, 2020, 5:44 p.m. OK Java 8 TESTS 22 124 0
95918922 akhilg224 A Oct. 18, 2020, 3:46 p.m. OK Java 8 TESTS 22 124 0
95904010 T_Nady A Oct. 18, 2020, 12:27 p.m. OK Java 8 TESTS 22 124 0
95930990 AWahba A Oct. 18, 2020, 7:44 p.m. OK Java 8 TESTS 22 124 0
95945604 rohanyeahyeah A Oct. 19, 2020, 4:58 a.m. OK Java 8 TESTS 22 124 0
95945540 maanit_s A Oct. 19, 2020, 4:57 a.m. OK Java 8 TESTS 22 124 0
95934461 Oom A Oct. 18, 2020, 9:27 p.m. OK Java 8 TESTS 22 124 0
95889320 Hyrulia A Oct. 18, 2020, 10:33 a.m. OK Kotlin TESTS 22 171 0
95946390 i_am_legend1 A Oct. 19, 2020, 5:17 a.m. OK Kotlin TESTS 22 233 102400
95913163 wbars A Oct. 18, 2020, 2:27 p.m. OK Kotlin TESTS 22 249 0
95904599 TRR A Oct. 18, 2020, 12:35 p.m. OK Mono C# TESTS 22 124 2867200
95919627 tomasz.masternak A Oct. 18, 2020, 3:57 p.m. OK Mono C# TESTS 22 140 6758400
95897031 S_aj A Oct. 18, 2020, 11:02 a.m. OK MS C++ TESTS 22 78 0
95913649 TianZai A Oct. 18, 2020, 2:33 p.m. OK MS C++ 2017 TESTS 22 77 0
95900612 semihpirpir A Oct. 18, 2020, 11:47 a.m. OK MS C++ 2017 TESTS 22 77 0
95893004 yehfela A Oct. 18, 2020, 10:48 a.m. OK MS C++ 2017 TESTS 22 77 0
95924827 ASHWGA A Oct. 18, 2020, 5:27 p.m. OK MS C++ 2017 TESTS 22 77 0
95939034 yousef_elmahdy A Oct. 19, 2020, 1:18 a.m. OK MS C++ 2017 TESTS 22 77 0
95902761 hardgame A Oct. 18, 2020, 12:10 p.m. OK MS C++ 2017 TESTS 22 77 102400
95902690 hardgame A Oct. 18, 2020, 12:09 p.m. OK MS C++ 2017 TESTS 22 77 102400
95943348 nekr137 A Oct. 19, 2020, 3:53 a.m. OK MS C++ 2017 TESTS 22 78 0
95907960 htija A Oct. 18, 2020, 1:18 p.m. OK MS C++ 2017 TESTS 22 78 0
95902889 hardgame A Oct. 18, 2020, 12:12 p.m. OK MS C++ 2017 TESTS 22 78 102400
95919390 smallIQ A Oct. 18, 2020, 3:53 p.m. OK Node.js TESTS 22 264 9113600
95920382 smallIQ A Oct. 18, 2020, 4:10 p.m. OK Node.js TESTS 22 264 9113600
95888033 henrychenOutlook A Oct. 18, 2020, 10:28 a.m. OK Node.js TESTS 22 280 8806400
95912878 beethoven97 A Oct. 18, 2020, 2:23 p.m. OK PyPy 2 TESTS 22 249 3379200
95924910 kaleabasfaw2010 A Oct. 18, 2020, 5:28 p.m. OK PyPy 3 TESTS 22 186 2867200
95899619 manhar A Oct. 18, 2020, 11:40 a.m. OK PyPy 3 TESTS 22 187 2867200
95937778 ecnerwala A Oct. 19, 2020, 12:11 a.m. OK PyPy 3 TESTS 22 187 4608000
95900140 Nifer A Oct. 18, 2020, 11:43 a.m. OK PyPy 3 TESTS 22 187 4608000
95923061 june_waves A Oct. 18, 2020, 4:56 p.m. OK PyPy 3 TESTS 22 202 3072000
95911902 Bovniova A Oct. 18, 2020, 2:10 p.m. OK PyPy 3 TESTS 22 202 4300800
95926061 shantol A Oct. 18, 2020, 5:49 p.m. OK PyPy 3 TESTS 22 218 4608000
95899397 manish.17 A Oct. 18, 2020, 11:39 a.m. OK PyPy 3 TESTS 22 233 3379200
95915251 Izumi___Sagiri A Oct. 18, 2020, 2:54 p.m. OK PyPy 3 TESTS 22 234 5222400
95901550 ss7890 A Oct. 18, 2020, 11:55 a.m. OK PyPy 3 TESTS 22 249 4505600
95909990 ankitamehta A Oct. 18, 2020, 1:45 p.m. OK Python 2 TESTS 22 171 204800
95900682 SoSooding A Oct. 18, 2020, 11:48 a.m. OK Python 2 TESTS 22 249 204800
95904264 dineshreddy01 A Oct. 18, 2020, 12:30 p.m. OK Python 3 TESTS 22 140 409600
95886269 IRun_Man A Oct. 18, 2020, 10:22 a.m. OK Python 3 TESTS 22 155 307200
95890564 sifat16 A Oct. 18, 2020, 10:38 a.m. OK Python 3 TESTS 22 155 1228800
95913873 AdarshSrivastav A Oct. 18, 2020, 2:36 p.m. OK Python 3 TESTS 22 171 819200
95900087 nikhilsiwach28 A Oct. 18, 2020, 11:43 a.m. OK Python 3 TESTS 22 186 0
95890737 KanhuKeNanu A Oct. 18, 2020, 10:39 a.m. OK Python 3 TESTS 22 186 0
95947377 deepcoder_B A Oct. 19, 2020, 5:40 a.m. OK Python 3 TESTS 22 186 2150400
95943784 maukaHAI A Oct. 19, 2020, 4:07 a.m. OK Python 3 TESTS 22 186 2150400
95931847 MrShocoladka A Oct. 18, 2020, 8:06 p.m. OK Python 3 TESTS 22 187 0
95931369 ShagunG A Oct. 18, 2020, 7:54 p.m. OK Python 3 TESTS 22 187 0
95938062 CPX99 A Oct. 19, 2020, 12:27 a.m. OK Ruby TESTS 22 499 1126400
95938007 CPX99 A Oct. 19, 2020, 12:24 a.m. OK Ruby TESTS 22 514 307200
95937946 CPX99 A Oct. 19, 2020, 12:21 a.m. OK Ruby TESTS 22 514 307200
95937914 CPX99 A Oct. 19, 2020, 12:20 a.m. OK Ruby TESTS 22 514 921600
95937890 CPX99 A Oct. 19, 2020, 12:18 a.m. OK Ruby TESTS 22 514 1024000

remove filters

Back to search problems