Codeforces Round 379 (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
734 Codeforces Round 379 (Div. 2) FINISHED False 7200 252595499 Nov. 15, 2016, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1301 ) F Anton and School PROGRAMMING bitmasks constructive algorithms implementation math 2600

B'Anton goes to school, his favorite lessons are arraystudying. He usually solves all the tasks pretty fast, but this time the teacher gave him a complicated one: given two arrays b and c of length n, find array a, such that: where a and b means bitwise AND, while a or b means bitwise OR. Usually Anton is good in arraystudying, but this problem is too hard, so Anton asks you to help. The first line of the input contains a single integers n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200 xe2 x80 x89000) -- the size of arrays b and c. The second line contains n integers bi (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89bi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- elements of the array b. Third line contains n integers ci (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ci xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- elements of the array c. If there is no solution, print xe2 x80 x89- xe2 x80 x891. Otherwise, the only line of the output should contain n non-negative integers ai -- elements of the array a. If there are multiple possible solutions, you may print any of them. '...

Tutorials

Tutorial of Codeforces Round #379 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
39675640 psk011102 F June 26, 2018, 12:39 p.m. OK GNU C++ TESTS 38 108 2457600 2600
35833629 luogu_bot5 F March 2, 2018, 11:32 a.m. OK GNU C++ TESTS 38 140 4608000 2600
34003890 xht13127 F Jan. 8, 2018, 12:57 p.m. OK GNU C++ TESTS 38 155 5324800 2600
38938425 vjudge5 F June 4, 2018, 8:20 a.m. OK GNU C++ TESTS 38 171 8294400 2600
38913002 vjudge1 F June 3, 2018, 7:23 a.m. OK GNU C++ TESTS 38 171 8294400 2600
35280766 ivanilos F Feb. 15, 2018, 3:07 a.m. OK GNU C++ TESTS 38 171 9113600 2600
39017601 vjudge3 F June 7, 2018, 11:26 a.m. OK GNU C++ TESTS 38 202 60928000 2600
41956452 BEllent F Aug. 22, 2018, 6:51 a.m. OK GNU C++ TESTS 38 202 67379200 2600
35837735 gjc1124646822 F March 2, 2018, 1:19 p.m. OK GNU C++ TESTS 38 202 69427200 2600
38946048 vjudge1 F June 4, 2018, 1:31 p.m. OK GNU C++ TESTS 38 202 70860800 2600
40983158 ReaLNero1 F July 30, 2018, 6:45 p.m. OK GNU C11 TESTS 38 62 5632000 2600
51748949 xgzc F March 23, 2019, 8:47 a.m. OK GNU C++11 TESTS 38 77 3072000 2600
63125414 yangzhenxi F Oct. 22, 2019, 12:40 p.m. OK GNU C++11 TESTS 38 77 3993600 2600
53485773 luogu_bot4 F April 29, 2019, 3:20 a.m. OK GNU C++11 TESTS 38 78 1433600 2600
53485909 luogu_bot5 F April 29, 2019, 3:30 a.m. OK GNU C++11 TESTS 38 78 1433600 2600
47858316 Anson529 F Jan. 3, 2019, 2:44 a.m. OK GNU C++11 TESTS 38 78 2457600 2600
48931763 luogu_bot1 F Jan. 25, 2019, 12:48 p.m. OK GNU C++11 TESTS 38 78 2457600 2600
47417714 newbiechdboom0 F Dec. 23, 2018, 2:31 p.m. OK GNU C++11 TESTS 38 78 3174400 2600
51621489 yybyyb F March 21, 2019, 2:32 p.m. OK GNU C++11 TESTS 38 78 3276800 2600
51261506 Jessie01 F March 13, 2019, 1:32 p.m. OK GNU C++11 TESTS 38 78 3276800 2600
51828431 lwhlwh F March 25, 2019, 3 p.m. OK GNU C++11 TESTS 38 78 9625600 2600
58216707 tbzard F Aug. 3, 2019, 11:02 a.m. OK GNU C++14 TESTS 38 155 6451200 2600
40538907 ArshiaDadras F July 19, 2018, 7:36 a.m. OK GNU C++14 TESTS 38 170 2457600 2600
62058616 LODB---D F Oct. 7, 2019, 12:55 p.m. OK GNU C++14 TESTS 38 171 2457600 2600
40539270 ArshiaDadras F July 19, 2018, 7:46 a.m. OK GNU C++14 TESTS 38 171 2457600 2600
68739903 pikmike F Jan. 13, 2020, 11:37 p.m. OK GNU C++14 TESTS 38 171 2662400 2600
68833020 tbzard F Jan. 15, 2020, 12:36 a.m. OK GNU C++14 TESTS 38 171 3174400 2600
33664620 zhaochen F Dec. 27, 2017, 8:58 a.m. OK GNU C++14 TESTS 38 171 5120000 2600
44342080 Kami02 F Oct. 15, 2018, 4:29 a.m. OK GNU C++14 TESTS 38 186 6451200 2600
61303170 Lucky_Glass F Sept. 26, 2019, 6:01 a.m. OK GNU C++14 TESTS 38 187 3174400 2600
46679035 Beast_Within F Dec. 6, 2018, 11:15 a.m. OK GNU C++14 TESTS 38 187 6451200 2600
63129200 Roundgod F Oct. 22, 2019, 1:41 p.m. OK GNU C++17 TESTS 38 156 2457600 2600
65782458 Hikori F Nov. 26, 2019, 8:38 p.m. OK GNU C++17 TESTS 38 156 3993600 2600
54057556 shysimon F May 13, 2019, 9:15 a.m. OK GNU C++17 TESTS 38 171 2457600 2600
68115187 Jester F Jan. 3, 2020, 11:10 a.m. OK GNU C++17 TESTS 38 171 2457600 2600
54057636 shysimon F May 13, 2019, 9:17 a.m. OK GNU C++17 TESTS 38 171 2457600 2600
54057593 vjudge3 F May 13, 2019, 9:16 a.m. OK GNU C++17 TESTS 38 171 2457600 2600
52547635 Osama_Alkhodairy F April 9, 2019, 11:33 p.m. OK GNU C++17 TESTS 38 171 3686400 2600
51286278 iftest614 F March 14, 2019, 7:28 a.m. OK GNU C++17 TESTS 38 171 6041600 2600
51285595 iftest614 F March 14, 2019, 7:02 a.m. OK GNU C++17 TESTS 38 171 6041600 2600
68116900 Jester F Jan. 3, 2020, 11:47 a.m. OK GNU C++17 TESTS 38 186 2457600 2600
68834614 vjudge1 F Jan. 15, 2020, 2:08 a.m. OK MS C++ TESTS 38 155 3174400 2600
48961526 vjudge2 F Jan. 26, 2019, 6:27 a.m. OK MS C++ TESTS 38 264 4812800 2600
48848956 vjudge5 F Jan. 23, 2019, 4:41 p.m. OK MS C++ TESTS 38 264 56115200 2600
50878332 mylyanyk.ivan F March 6, 2019, 7:45 a.m. OK MS C++ 2017 TESTS 38 577 4812800 2600

remove filters

Back to search problems