Good Bye 2022: 2023 is NEAR

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
1770 Good Bye 2022: 2023 is NEAR FINISHED False 9000 59412299 Dec. 30, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 676 ) F Koxia and Sequence PROGRAMMING bitmasks combinatorics math

B'Mari has three integers n , x , and y . Call an array a of n non-negative integers good if it satisfies the following conditions: The score of a good array is the value of a_1 oplus a_2 oplus ldots oplus a_n , where oplus denotes the bitwise XOR operation. Koxia wants you to find the total bitwise XOR of the scores of all good arrays. If there are no good arrays, output 0 instead. The first line of input contains three integers n , x and y ( 1 <= q n < 2^{40} , 0 <= q x < 2^{60} , 0 <= q y < 2^{20} ). Output a single integer -- the total bitwise XOR of the scores of all good arrays. In the first test case, there are 12 good arrays totally as follows. Therefore, the total bitwise xor of the scores is underbrace{1 oplus ldots oplus 1}_{9 text{ times}} oplus 3 oplus 3 oplus 3 = 2 . In the second test case, there are no good sequences. The output should be 0 . '...

Tutorials

Good Bye 2022 -- Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
187393228 rainboy F Dec. 30, 2022, 10:29 p.m. OK GNU C11 TESTS 26 93 0
187494700 triveni F Jan. 1, 2023, 5:29 a.m. OK GNU C++14 TESTS 28 62 0
187402859 cyh_toby F Dec. 31, 2022, 3:45 a.m. OK GNU C++14 TESTS 26 78 0
187401467 ptraffic1919810 F Dec. 31, 2022, 3:13 a.m. OK GNU C++14 TESTS 26 78 0
187420839 StarVeil F Dec. 31, 2022, 7:51 a.m. OK GNU C++14 TESTS 28 78 0
187417618 no_dream F Dec. 31, 2022, 7:13 a.m. OK GNU C++14 TESTS 28 78 0
187445802 Liuxizai F Dec. 31, 2022, 12:41 p.m. OK GNU C++14 TESTS 28 93 0
187432777 wbaidurrahman2000 F Dec. 31, 2022, 10:11 a.m. OK GNU C++14 TESTS 28 93 0
187425917 zhouzizhe F Dec. 31, 2022, 8:52 a.m. OK GNU C++14 TESTS 28 93 0
187403209 Big_gold_date F Dec. 31, 2022, 3:53 a.m. OK GNU C++14 TESTS 26 93 0
187468919 Potassium F Dec. 31, 2022, 5:18 p.m. OK GNU C++14 TESTS 28 93 0
187416954 zlc1114 F Dec. 31, 2022, 7:06 a.m. OK GNU C++17 TESTS 27 31 0
187402041 Chenyu_Qiu F Dec. 31, 2022, 3:27 a.m. OK GNU C++17 TESTS 26 61 0
187444938 vjudge2 F Dec. 31, 2022, 12:32 p.m. OK GNU C++17 TESTS 28 62 0
187384088 zlc1114 F Dec. 30, 2022, 7:31 p.m. OK GNU C++17 TESTS 26 62 0
187446031 KbltQaQ F Dec. 31, 2022, 12:44 p.m. OK GNU C++17 TESTS 28 62 0
187444919 xuziyuan F Dec. 31, 2022, 12:31 p.m. OK GNU C++17 TESTS 28 78 0
187393826 Khalouda F Dec. 30, 2022, 10:52 p.m. OK GNU C++17 TESTS 26 78 0
187385091 AliShahali1382 F Dec. 30, 2022, 7:44 p.m. OK GNU C++17 TESTS 26 78 0
187458831 p_s_c_ F Dec. 31, 2022, 3:13 p.m. OK GNU C++17 TESTS 28 78 0
187439756 youbot F Dec. 31, 2022, 11:32 a.m. OK GNU C++17 TESTS 28 78 7987200
187420671 bkifhr7 F Dec. 31, 2022, 7:48 a.m. OK GNU C++17 (64) TESTS 28 31 0
187491936 Alex_Wei F Jan. 1, 2023, 4:11 a.m. OK GNU C++17 (64) TESTS 28 31 0
187420637 qiuzx F Dec. 31, 2022, 7:48 a.m. OK GNU C++17 (64) TESTS 28 31 0
187407449 Bolshevik F Dec. 31, 2022, 5:15 a.m. OK GNU C++17 (64) TESTS 26 31 0
187400563 Mr_Eight F Dec. 31, 2022, 2:51 a.m. OK GNU C++17 (64) TESTS 26 31 0
187403400 Talaodi F Dec. 31, 2022, 3:57 a.m. OK GNU C++17 (64) TESTS 26 31 8396800
187458658 K-H F Dec. 31, 2022, 3:11 p.m. OK GNU C++17 (64) TESTS 28 62 0
187461193 zhangboju F Dec. 31, 2022, 3:41 p.m. OK GNU C++17 (64) TESTS 28 62 0
187490671 xiaoyaowudi F Jan. 1, 2023, 3:29 a.m. OK GNU C++17 (64) TESTS 28 62 0
187458938 K-H F Dec. 31, 2022, 3:14 p.m. OK GNU C++17 (64) TESTS 28 62 0
187427412 lzoilxy F Dec. 31, 2022, 9:09 a.m. OK GNU C++20 (64) TESTS 28 31 0
187423347 LIKE0314 F Dec. 31, 2022, 8:22 a.m. OK GNU C++20 (64) TESTS 28 31 0
187419761 leaf_normal F Dec. 31, 2022, 7:37 a.m. OK GNU C++20 (64) TESTS 28 31 0
187419420 leaf_normal F Dec. 31, 2022, 7:33 a.m. OK GNU C++20 (64) TESTS 28 31 0
187419346 leaf_normal F Dec. 31, 2022, 7:32 a.m. OK GNU C++20 (64) TESTS 28 31 0
187431914 Nero F Dec. 31, 2022, 10:02 a.m. OK GNU C++20 (64) TESTS 28 31 0
187486881 AlternatingCurrent F Jan. 1, 2023, 12:47 a.m. OK GNU C++20 (64) TESTS 28 31 0
187476001 alvingogo F Dec. 31, 2022, 6:56 p.m. OK GNU C++20 (64) TESTS 28 31 0
187463847 jinmingli F Dec. 31, 2022, 4:14 p.m. OK GNU C++20 (64) TESTS 28 31 0
187457411 He_Ren F Dec. 31, 2022, 2:56 p.m. OK GNU C++20 (64) TESTS 28 31 0
187458701 xy961218 F Dec. 31, 2022, 3:12 p.m. OK PyPy 3-64 TESTS 28 249 2355200

remove filters

Back to search problems