8VC Venture Cup 2016 - Final Round

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
627 8VC Venture Cup 2016 - Final Round FINISHED False 7200 275140199 Feb. 28, 2016, 6:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4244 ) A XOR Equation PROGRAMMING dp math 1800

B'Two positive integers a and b have a sum of s and a bitwise XOR of x. How many possible values are there for the ordered pair (a, xe2 x80 x89b)? The first line of the input contains two integers s and x (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89s xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891012, 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891012), the sum and bitwise xor of the pair of positive integers, respectively. Print a single integer, the number of solutions to the given conditions. If no solutions exist, print 0. In the first sample, we have the following solutions: (2, xe2 x80 x897), (3, xe2 x80 x896), (6, xe2 x80 x893), (7, xe2 x80 x892). In the second sample, the only solutions are (1, xe2 x80 x892) and (2, xe2 x80 x891). '...

Tutorials

8VC Venture Cup 2016 — Final Round Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
65917741 vjudge1 A Nov. 28, 2019, 3:13 p.m. OK Clang++17 Diagnostics TESTS 71 46 0 1800
16408824 Gassa A Feb. 28, 2016, 6:24 p.m. OK D TESTS 71 15 0 1800
30853739 longtuong A Sept. 30, 2017, 3:17 a.m. OK FPC TESTS 71 15 0 1800
19289719 Kuroni A July 20, 2016, 11:52 p.m. OK FPC TESTS 71 15 102400 1800
17104385 MakeAnEffort A April 1, 2016, 4:45 p.m. OK FPC TESTS 71 15 1740800 1800
64698968 luogu_bot5 A Nov. 11, 2019, 2:13 p.m. OK FPC TESTS 71 31 0 1800
30854343 KagamiharaNadeshiko A Sept. 30, 2017, 4:10 a.m. OK FPC TESTS 71 31 102400 1800
24533170 Joker_98 A Feb. 8, 2017, 5:43 p.m. OK GNU C TESTS 71 15 1843200 1800
17133460 hrazvan A April 2, 2016, 4:04 p.m. OK GNU C TESTS 71 15 2048000 1800
16895975 anothervjudge A March 23, 2016, 6:10 p.m. OK GNU C TESTS 71 15 2048000 1800
36996544 OMG_link A April 5, 2018, 12:02 p.m. OK GNU C TESTS 71 15 3276800 1800
19908556 TsReaper A Aug. 16, 2016, 1:47 p.m. OK GNU C TESTS 71 30 1843200 1800
16830401 mjbjtu A March 20, 2016, 3:29 a.m. OK GNU C TESTS 71 30 2048000 1800
17991540 vjudge5 A May 19, 2016, 1:14 p.m. OK GNU C TESTS 71 31 2048000 1800
30853298 KonaeAkira A Sept. 30, 2017, 2:34 a.m. OK GNU C++ TESTS 71 15 0 1800
30635054 cwhao A Sept. 23, 2017, 8:14 a.m. OK GNU C++ TESTS 71 15 0 1800
27880703 vjudge2 A June 18, 2017, 8:55 a.m. OK GNU C++ TESTS 71 15 0 1800
27880668 vjudge4 A June 18, 2017, 8:54 a.m. OK GNU C++ TESTS 71 15 0 1800
27447357 zhan8855 A May 30, 2017, 11:48 a.m. OK GNU C++ TESTS 71 15 0 1800
21791007 blown A Oct. 26, 2016, 9:54 a.m. OK GNU C++ TESTS 71 15 0 1800
20957934 King_George A Sept. 27, 2016, 11:50 p.m. OK GNU C++ TESTS 71 15 0 1800
20772630 vjudge5 A Sept. 20, 2016, 10:11 a.m. OK GNU C++ TESTS 71 15 0 1800
20769534 vjudge2 A Sept. 20, 2016, 6:40 a.m. OK GNU C++ TESTS 71 15 0 1800
20734790 vjudge1 A Sept. 18, 2016, 12:52 p.m. OK GNU C++ TESTS 71 15 0 1800
31980887 zd11024 A Nov. 2, 2017, 1:09 p.m. OK GNU C++11 TESTS 71 15 0 1800
30853813 GuluTheFish A Sept. 30, 2017, 3:24 a.m. OK GNU C++11 TESTS 71 15 0 1800
30096321 bogdan10bos A Sept. 5, 2017, 10:11 a.m. OK GNU C++11 TESTS 71 15 0 1800
27913470 ubiratan37 A June 19, 2017, 9:52 p.m. OK GNU C++11 TESTS 71 15 0 1800
27695803 yelghareeb A June 9, 2017, 8:03 p.m. OK GNU C++11 TESTS 71 15 0 1800
27335944 kamal01sharma A May 25, 2017, 12:12 p.m. OK GNU C++11 TESTS 71 15 0 1800
27179905 daidew A May 17, 2017, 1 p.m. OK GNU C++11 TESTS 71 15 0 1800
22856491 jarvis11 A Dec. 10, 2016, 1:23 p.m. OK GNU C++11 TESTS 71 15 0 1800
22098520 srinu37 A Nov. 7, 2016, 4:46 p.m. OK GNU C++11 TESTS 71 15 0 1800
21791155 pimukthee A Oct. 26, 2016, 10:03 a.m. OK GNU C++11 TESTS 71 15 0 1800
46307792 dragonsoul A Nov. 28, 2018, 11:31 a.m. OK GNU C++14 TESTS 71 15 0 1800
32103521 kryden A Nov. 6, 2017, 6:46 p.m. OK GNU C++14 TESTS 71 15 0 1800
32101193 vjudge5 A Nov. 6, 2017, 4:51 p.m. OK GNU C++14 TESTS 71 15 0 1800
31714362 bonfire A Oct. 25, 2017, 2:48 p.m. OK GNU C++14 TESTS 71 15 0 1800
30871113 okaems A Sept. 30, 2017, 3:56 p.m. OK GNU C++14 TESTS 71 15 0 1800
30853397 ssnsarang2023 A Sept. 30, 2017, 2:44 a.m. OK GNU C++14 TESTS 71 15 0 1800
30853212 GreymaneSilverfang A Sept. 30, 2017, 2:25 a.m. OK GNU C++14 TESTS 71 15 0 1800
30853037 FallingStar A Sept. 30, 2017, 2:07 a.m. OK GNU C++14 TESTS 71 15 0 1800
30838977 Markellonchik A Sept. 29, 2017, 6:53 p.m. OK GNU C++14 TESTS 71 15 0 1800
30378117 NiroBC A Sept. 16, 2017, 7:14 a.m. OK GNU C++14 TESTS 71 15 0 1800
35982449 erosjbc A March 6, 2018, 6:02 a.m. OK GNU C++17 TESTS 71 15 2048000 1800
35757150 Vahan1 A Feb. 27, 2018, 9:38 a.m. OK GNU C++17 TESTS 71 15 2867200 1800
69515026 ST_C A Jan. 25, 2020, 11:42 a.m. OK GNU C++17 TESTS 71 30 0 1800
64054108 m.hasan01 A Nov. 2, 2019, 12:01 a.m. OK GNU C++17 TESTS 71 30 0 1800
59253850 Cruiying A Aug. 22, 2019, 5:37 a.m. OK GNU C++17 TESTS 71 30 0 1800
58143929 yizhibaiwuya A Aug. 1, 2019, 7:40 p.m. OK GNU C++17 TESTS 71 30 0 1800
57178093 vjudge1 A July 17, 2019, 6:19 a.m. OK GNU C++17 TESTS 71 30 0 1800
56876561 BanazadehAria A July 12, 2019, 8:31 a.m. OK GNU C++17 TESTS 71 30 0 1800
56046334 HMS_Warspite A June 25, 2019, 4:46 p.m. OK GNU C++17 TESTS 71 30 0 1800
54243755 jimmy18 A May 16, 2019, 2:01 p.m. OK GNU C++17 TESTS 71 30 0 1800
16735391 slcjordan A March 15, 2016, 10:31 p.m. OK Go TESTS 71 15 0 1800
16735510 slcjordan A March 15, 2016, 10:49 p.m. OK Go TESTS 71 31 307200 1800
16709502 ed1d1a8d A March 14, 2016, 7:45 a.m. OK Haskell TESTS 71 31 8499200 1800
16683593 Yeison_Garcia A March 13, 2016, 1:17 a.m. OK Java 7 TESTS 71 108 0 1800
16587910 tyuan73 A March 7, 2016, 4:26 p.m. OK Java 7 TESTS 71 109 0 1800
16418397 ahmad_mamdouh A Feb. 28, 2016, 10:49 p.m. OK Java 7 TESTS 71 109 0 1800
16407828 winger A Feb. 28, 2016, 6:15 p.m. OK Java 7 TESTS 71 109 0 1800
16587732 tyuan73 A March 7, 2016, 4:18 p.m. OK Java 7 TESTS 71 124 0 1800
16408318 lucasr A Feb. 28, 2016, 6:19 p.m. OK Java 7 TESTS 71 124 0 1800
57945940 Jarik A July 29, 2019, 2:21 p.m. OK Java 8 TESTS 71 109 0 1800
46206180 KulikAlex A Nov. 25, 2018, 2:26 p.m. OK Java 8 TESTS 71 109 0 1800
68027062 saurabhs1206 A Jan. 1, 2020, 6:39 a.m. OK Java 8 TESTS 71 124 0 1800
58574981 JCKG A Aug. 11, 2019, 11:58 a.m. OK Java 8 TESTS 71 124 0 1800
54114831 bhautik_77 A May 14, 2019, 3:23 p.m. OK Java 8 TESTS 71 124 0 1800
53124807 satya26 A April 22, 2019, 1:19 p.m. OK Java 8 TESTS 71 124 0 1800
52940720 sonusingh.nitaa A April 18, 2019, 9:04 a.m. OK Java 8 TESTS 71 124 0 1800
52940659 sonusingh.nitaa A April 18, 2019, 9:02 a.m. OK Java 8 TESTS 71 124 0 1800
46206310 KulikAlex A Nov. 25, 2018, 2:30 p.m. OK Java 8 TESTS 71 124 0 1800
46205449 KulikAlex A Nov. 25, 2018, 1:58 p.m. OK Java 8 TESTS 71 124 0 1800
16452375 SisAdminos A March 1, 2016, 6:46 p.m. OK MS C# TESTS 71 62 512000 1800
16409674 iamexist A Feb. 28, 2016, 6:34 p.m. OK MS C++ TESTS 71 15 0 1800
24548195 xDizzix A Feb. 9, 2017, 12:02 p.m. OK MS C++ TESTS 71 15 2048000 1800
24516048 vjudge1 A Feb. 8, 2017, 2:03 a.m. OK MS C++ TESTS 71 15 2048000 1800
16817787 Wishing A March 19, 2016, 12:06 p.m. OK MS C++ TESTS 71 15 2048000 1800
16917971 tanmayc25 A March 25, 2016, 8:25 a.m. OK MS C++ TESTS 71 15 2150400 1800
16906435 Wishing A March 24, 2016, 1:03 p.m. OK MS C++ TESTS 71 15 2150400 1800
17216772 The_suspect A April 7, 2016, 5:21 p.m. OK MS C++ TESTS 71 15 2252800 1800
16989312 fA1sEr A March 28, 2016, 3:14 p.m. OK MS C++ TESTS 71 15 2252800 1800
16422972 KARM A Feb. 29, 2016, 8:42 a.m. OK MS C++ TESTS 71 30 0 1800
65910023 vjudge4 A Nov. 28, 2019, 12:33 p.m. OK MS C++ TESTS 71 31 0 1800
65908503 vjudge5 A Nov. 28, 2019, 11:59 a.m. OK MS C++ 2017 TESTS 71 31 307200 1800
49040705 MrWangnacl A Jan. 27, 2019, 6:21 a.m. OK MS C++ 2017 TESTS 71 46 307200 1800
30636367 tushutripathi A Sept. 23, 2017, 9:11 a.m. OK PyPy 2 TESTS 71 78 0 1800
30635845 tushutripathi A Sept. 23, 2017, 8:49 a.m. OK PyPy 2 TESTS 71 108 0 1800
49613669 ragnar7 A Feb. 8, 2019, 4:21 a.m. OK PyPy 3 TESTS 71 124 0 1800
16452336 ZeroShadow A March 1, 2016, 6:44 p.m. OK PyPy 3 TESTS 71 124 0 1800
54269963 homoeconomicus A May 17, 2019, 8:18 a.m. OK PyPy 3 TESTS 71 140 0 1800
53170357 jooj A April 22, 2019, 8:53 p.m. OK PyPy 3 TESTS 71 140 0 1800
18529789 olegp04728 A June 16, 2016, 7:03 p.m. OK Python 2 TESTS 71 61 0 1800
16417826 danielfleischman A Feb. 28, 2016, 10:03 p.m. OK Python 2 TESTS 71 61 0 1800
16626721 willav_v A March 10, 2016, 3:33 a.m. OK Python 2 TESTS 71 62 0 1800
16507187 joeythaman A March 4, 2016, 1:38 a.m. OK Python 2 TESTS 71 62 0 1800
28722275 xlk A July 20, 2017, 10:55 a.m. OK Python 2 TESTS 71 62 4710400 1800
16603661 omidazadi A March 8, 2016, 3:10 p.m. OK Python 2 TESTS 71 77 0 1800
24074831 Mars314 A Jan. 23, 2017, 3:58 p.m. OK Python 2 TESTS 71 77 4608000 1800
16533511 orailly A March 5, 2016, 12:16 p.m. OK Python 3 TESTS 71 62 307200 1800
29334426 Bhargav9427 A Aug. 10, 2017, 4:41 p.m. OK Python 3 TESTS 71 62 4608000 1800
17392650 harry_potter_28 A April 19, 2016, 9:40 p.m. OK Python 3 TESTS 71 62 5120000 1800
31561440 yugle7 A Oct. 21, 2017, 9:23 a.m. OK Python 3 TESTS 71 62 5529600 1800
35887491 ______i______ A March 3, 2018, 2:06 p.m. OK Python 3 TESTS 71 62 6348800 1800
35885583 ______M______ A March 3, 2018, 1:31 p.m. OK Python 3 TESTS 71 62 6348800 1800
16461817 ving.xia A March 2, 2016, 10:23 a.m. OK Python 3 TESTS 71 77 0 1800
16430288 Vosatorp A Feb. 29, 2016, 5:47 p.m. OK Python 3 TESTS 71 77 0 1800
16850860 nothing2lose A March 21, 2016, 6:42 a.m. OK Python 3 TESTS 71 77 5120000 1800
38106143 eisen_shinzou A May 11, 2018, 5:38 a.m. OK Python 3 TESTS 71 78 7372800 1800

remove filters

Back to search problems