IndiaHacks 2nd Elimination 2017 (unofficial, unrated mirror, ICPC rules)

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
838 IndiaHacks 2nd Elimination 2017 (unofficial, unrated mirror, ICPC rules) FINISHED False 10800 229737299 Aug. 7, 2017, 6:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 825 ) B Diverging Directions PROGRAMMING data structures dfs and similar trees 2100

B"You are given a directed weighted graph with n nodes and 2n xe2 x80 x89- xe2 x80 x892 edges. The nodes are labeled from 1 to n, while the edges are labeled from 1 to 2n xe2 x80 x89- xe2 x80 x892. The graph's edges can be split into two parts. You are given q queries. There are two types of queries Given these queries, print the shortest path lengths. The first line of input will contain two integers n, xe2 x80 x89q (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200 xe2 x80 x89000), the number of nodes, and the number of queries, respectively. The next 2n xe2 x80 x89- xe2 x80 x892 integers will contain 3 integers ai, xe2 x80 x89bi, xe2 x80 x89ci, denoting a directed edge from node ai to node bi with weight ci. The first n xe2 x80 x89- xe2 x80 x891 of these lines will describe a rooted spanning tree pointing away from node 1, while the last n xe2 x80 x89- xe2 x80 x891 of these lines will have bi xe2 x80 x89= xe2 x80 x891. More specifically, The next q lines will contain 3 integers, describing a query in the format described in the statement. All edge weights will be between 1 and 106. For each type 2 query, print the length of the shortest path in its own line. "...

Tutorials

53736

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
40980313 ReaLNero1 B July 30, 2018, 5:28 p.m. OK GNU C++ TESTS 56 249 23244800 2100
30818486 Chenhongkan B Sept. 29, 2017, 1:31 a.m. OK GNU C++ TESTS 56 249 23244800 2100
29371030 EnjoyCallen B Aug. 12, 2017, 7:12 a.m. OK GNU C++ TESTS 56 296 52121600 2100
29257145 Spylft B Aug. 7, 2017, 7:26 a.m. OK GNU C++ TESTS 56 358 23756800 2100
29257541 xjr B Aug. 7, 2017, 7:36 a.m. OK GNU C++ TESTS 56 374 26112000 2100
29257209 wzj152501 B Aug. 7, 2017, 7:28 a.m. OK GNU C++ TESTS 56 374 42086400 2100
29259088 lkmcfj B Aug. 7, 2017, 8:19 a.m. OK GNU C++ TESTS 56 389 29798400 2100
29553673 gjghfd B Aug. 18, 2017, 1:01 p.m. OK GNU C++ TESTS 56 405 35430400 2100
38189896 LoveAmy B May 13, 2018, 12:17 p.m. OK GNU C++ TESTS 56 405 41881600 2100
29258313 wzf2000 B Aug. 7, 2017, 7:56 a.m. OK GNU C++ TESTS 56 436 21401600 2100
56061507 chenyewei_1234 B June 26, 2019, 5:45 a.m. OK GNU C++11 TESTS 56 218 22016000 2100
56061718 chenyewei_1234 B June 26, 2019, 5:51 a.m. OK GNU C++11 TESTS 56 249 22732800 2100
30822900 zhangzy B Sept. 29, 2017, 7:51 a.m. OK GNU C++11 TESTS 56 249 26214400 2100
56061437 chenyewei_1234 B June 26, 2019, 5:43 a.m. OK GNU C++11 TESTS 56 264 22016000 2100
30823217 zhangzy B Sept. 29, 2017, 8:07 a.m. OK GNU C++11 TESTS 56 265 26214400 2100
30823332 zhangzy B Sept. 29, 2017, 8:12 a.m. OK GNU C++11 TESTS 56 280 26214400 2100
29259571 rqgao2014 B Aug. 7, 2017, 8:34 a.m. OK GNU C++11 TESTS 56 312 39219200 2100
30823301 zhangzy B Sept. 29, 2017, 8:11 a.m. OK GNU C++11 TESTS 56 327 26214400 2100
38131994 __Ressed__ B May 12, 2018, 8:03 a.m. OK GNU C++11 TESTS 56 358 39731200 2100
56057668 cjxj233 B June 26, 2019, 2:06 a.m. OK GNU C++11 TESTS 56 373 104243200 2100
32428005 marszed B Nov. 18, 2017, 10:50 a.m. OK GNU C++14 TESTS 56 374 35430400 2100
29266458 AkiraArcher B Aug. 7, 2017, 2:01 p.m. OK GNU C++14 TESTS 56 529 40448000 2100
29257261 ruoju B Aug. 7, 2017, 7:29 a.m. OK GNU C++14 TESTS 56 561 36454400 2100
56140956 beginend B June 27, 2019, 3:17 a.m. OK GNU C++14 TESTS 56 576 128307200 2100
29260441 wangzechen2015 B Aug. 7, 2017, 8:59 a.m. OK GNU C++14 TESTS 56 592 30003200 2100
29269941 AkiraArcher B Aug. 7, 2017, 5:36 p.m. OK GNU C++14 TESTS 56 607 40448000 2100
29320991 vjudge3 B Aug. 10, 2017, 8:05 a.m. OK GNU C++14 TESTS 56 608 30720000 2100
29269913 AkiraArcher B Aug. 7, 2017, 5:35 p.m. OK GNU C++14 TESTS 56 608 40448000 2100
29320956 vjudge4 B Aug. 10, 2017, 8:04 a.m. OK GNU C++14 TESTS 56 624 30720000 2100
48322180 boatinw99 B Jan. 13, 2019, 9:57 a.m. OK GNU C++14 TESTS 56 638 32665600 2100
58214837 KasugaAyumu B Aug. 3, 2019, 10:18 a.m. OK GNU C++17 TESTS 56 654 32665600 2100
46657182 CaNDidaTE_FaSTer B Dec. 5, 2018, 4:59 p.m. OK GNU C++17 TESTS 56 763 46284800 2100
67418264 segmentfault B Dec. 22, 2019, 10:42 a.m. OK GNU C++17 TESTS 56 763 62156800 2100
41388158 jeshrz B Aug. 9, 2018, 7:06 a.m. OK GNU C++17 TESTS 56 810 48947200 2100
47821115 Wolf. B Jan. 1, 2019, 5:46 p.m. OK GNU C++17 TESTS 56 826 25497600 2100
42020487 ZhihuiLiu B Aug. 24, 2018, 8:51 a.m. OK GNU C++17 TESTS 56 826 39321600 2100
41388232 vjudge3 B Aug. 9, 2018, 7:08 a.m. OK GNU C++17 TESTS 56 841 49254400 2100
58051025 Phortox B July 31, 2019, 2:38 a.m. OK GNU C++17 TESTS 56 889 48640000 2100
49508164 frontseatastronaut B Feb. 5, 2019, 6:37 p.m. OK GNU C++17 TESTS 56 951 44339200 2100
48678923 Shayan.P B Jan. 21, 2019, 12:29 p.m. OK GNU C++17 TESTS 56 997 43724800 2100
29277477 Sagar_Savaliya B Aug. 8, 2017, 4:38 a.m. OK Java 8 TESTS 56 810 74137600 2100
46930329 ZeyadKhattab B Dec. 12, 2018, 11:18 a.m. OK Java 8 TESTS 56 1013 62361600 2100
46929651 ZeyadKhattab B Dec. 12, 2018, 10:58 a.m. OK Java 8 TESTS 56 1029 62361600 2100
29282833 mualanhlung017 B Aug. 8, 2017, 10:09 a.m. OK Java 8 TESTS 56 1076 107724800 2100
29282693 mualanhlung017 B Aug. 8, 2017, 9:57 a.m. OK Java 8 TESTS 56 1184 107827200 2100
29296703 mualanhlung017 B Aug. 9, 2017, 3:08 a.m. OK Java 8 TESTS 56 1560 113868800 2100
29267040 aya_cool B Aug. 7, 2017, 2:31 p.m. OK Java 8 TESTS 56 1731 205824000 2100
32428812 marszed B Nov. 18, 2017, 11:23 a.m. OK MS C++ TESTS 56 2074 47308800 2100

remove filters

Back to search problems