Bayan 2012-2013 Elimination Round (ACM ICPC Rules, English statements)

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
241 Bayan 2012-2013 Elimination Round (ACM ICPC Rules, English statements) FINISHED False 10800 424621823 Nov. 1, 2012, 3:30 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 288 ) F Race PROGRAMMING brute force implementation 2300

The Old City is a rectangular city represented as an m × n grid of blocks. This city contains many buildings, straight two-way streets and junctions. Each junction and each building is exactly one block. All the streets have width of one block and are either vertical or horizontal. There is a junction on both sides of each street. We call two blocks adjacent if and only if they share a common side. No two blocks of different streets are adjacent and no two junctions are adjacent. There is an annual festival and as a part of it, The Old Peykan follows a special path in the city. This path starts from a block in a street, continues with many junctions and ends in a block of some street. For each street block, we know how much time it takes for the Old Peykan to go from this block to an adjacent block. Also the Old Peykan can go from each junction to its adjacent street blocks in one minute. Of course Old Peykan can't go to building blocks. We know the initial position of the Old Peykan and the sequence of junctions that it passes to reach its destination. After passing all the junctions and reaching the destination, it will stay there forever. Your task is to find out where will the Old Peykan be k minutes after it starts moving. Consider that The Old Peykan always follows the shortest path that passes through the given sequence of junctions and reaches the destination. Note that the Old Peykan may visit some blocks more than once. The first line of input contains three integers m , n and k (3 ≤ m , n ≤ 100, 1 ≤ k ≤ 100000) . Next m lines are representing the city's map. Each of them containts n characters, each character is a block: Character " # " represents a building. Digits " 1 ", " 2 ", ... , " 9 " represent a block of an street and this digit means the number of minutes it takes for the Old Peykan to pass this block. Characters " a ", " b ", ... , " z " means that this block is a junction and this character is it's name. All the junction names are uni

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
13710125 jiangyx F Oct. 18, 2015, 9:36 a.m. OK FPC TESTS 21 30 409600 2300
10176343 403369233 F March 6, 2015, 12:05 p.m. OK FPC TESTS 21 30 409600 2300
2495605 Yaroslav-555 F Nov. 3, 2012, 5:10 p.m. OK FPC TESTS 21 31 307200 2300
2485633 ig_dug F Nov. 1, 2012, 5:52 p.m. OK FPC TESTS 21 31 307200 2300
2487658 johnLate F Nov. 1, 2012, 6:38 p.m. OK GNU C++ TESTS 21 15 0 2300
2485635 johnLate F Nov. 1, 2012, 5:52 p.m. OK GNU C++ TESTS 21 15 0 2300
2768412 ChuckLin2014 F Dec. 15, 2012, 3:47 a.m. OK GNU C++ TESTS 21 15 102400 2300
2823633 keivan F Dec. 24, 2012, 7:37 p.m. OK GNU C++ TESTS 21 15 409600 2300
2773105 ACMonster F Dec. 16, 2012, 1:11 p.m. OK GNU C++ TESTS 21 15 409600 2300
2855479 lasten F Dec. 30, 2012, 3:50 a.m. OK GNU C++ TESTS 21 15 1024000 2300
2485998 madlpx F Nov. 1, 2012, 5:59 p.m. OK GNU C++ TESTS 21 15 1024000 2300
2486079 Ra16bit F Nov. 1, 2012, 6:01 p.m. OK GNU C++ TESTS 21 15 2457600 2300
14121264 130705009 F Nov. 7, 2015, 9:57 a.m. OK GNU C++ TESTS 21 30 0 2300
13806379 Silence. F Oct. 23, 2015, 10:23 a.m. OK GNU C++ TESTS 21 30 0 2300
9233500 equation314 F Dec. 23, 2014, 2:30 p.m. OK GNU C++0x TESTS 21 30 0 2300
9488822 neetenin F Jan. 21, 2015, 2 a.m. OK GNU C++0x TESTS 21 30 102400 2300
9343208 zshi F Jan. 2, 2015, 4:04 a.m. OK GNU C++0x TESTS 21 30 1945600 2300
2484459 watashi F Nov. 1, 2012, 5:23 p.m. OK GNU C++0x TESTS 21 31 204800 2300
2485233 sjynoi F Nov. 1, 2012, 5:42 p.m. OK GNU C++0x TESTS 21 31 3993600 2300
2487928 Archon.JK F Nov. 1, 2012, 7 p.m. OK GNU C++0x TESTS 21 46 102400 2300
2694474 hex539 F Dec. 4, 2012, 2:33 p.m. OK GNU C++0x TESTS 21 46 59187200 2300
13729439 the_silliest F Oct. 19, 2015, 1:56 p.m. OK GNU C++11 TESTS 21 30 102400 2300
19462513 alexander86 F July 28, 2016, 1:43 p.m. OK GNU C++11 TESTS 21 30 204800 2300
26513841 vjudge5 F April 20, 2017, 11:11 a.m. OK GNU C++11 TESTS 21 30 2150400 2300
17128911 freebsdx F April 2, 2016, 11:21 a.m. OK GNU C++11 TESTS 21 30 2252800 2300
57821818 py_ultron F July 27, 2019, 12:01 a.m. OK GNU C++11 TESTS 21 60 0 2300
11733829 gagaga5-gagaga F June 24, 2015, 9:44 a.m. OK GNU C++11 TESTS 21 60 0 2300
53788425 Shine_Sky F May 5, 2019, 11:29 a.m. OK GNU C++11 TESTS 21 60 5120000 2300
57898668 lopare F July 28, 2019, 2:43 p.m. OK GNU C++11 TESTS 21 62 0 2300
13706121 diamond_duke F Oct. 18, 2015, 2:45 a.m. OK GNU C++11 TESTS 21 62 0 2300
13706006 Tzn-40 F Oct. 18, 2015, 2:23 a.m. OK GNU C++11 TESTS 21 62 102400 2300
23662095 Ali.Pi F Jan. 9, 2017, 7:55 a.m. OK GNU C++14 TESTS 21 30 1945600 2300
53799198 faresbasbas F May 5, 2019, 5:19 p.m. OK GNU C++17 TESTS 21 30 204800 2300
2493664 CrazyCoder F Nov. 3, 2012, 6:28 a.m. OK Java 6 TESTS 21 78 0 2300
2486911 uwi F Nov. 1, 2012, 6:21 p.m. OK Java 6 TESTS 21 78 0 2300
2484958 Egor F Nov. 1, 2012, 5:36 p.m. OK Java 6 TESTS 21 93 0 2300
2485908 tomerun F Nov. 1, 2012, 5:58 p.m. OK Java 6 TESTS 21 109 102400 2300
2484364 cerealguy F Nov. 1, 2012, 5:21 p.m. OK Java 7 TESTS 21 93 102400 2300
2487848 Jokser F Nov. 1, 2012, 6:52 p.m. OK Java 7 TESTS 21 109 204800 2300
8024430 PlayLikeNeverB4 F Sept. 29, 2014, 11:58 a.m. OK Java 7 TESTS 21 186 0 2300
4299963 marat.snowbear F Aug. 16, 2013, 9:15 p.m. OK MS C# TESTS 21 92 2150400 2300
4052298 poopi F July 11, 2013, 8:57 p.m. OK MS C++ TESTS 21 15 102400 2300
13688141 waltz F Oct. 17, 2015, 10:58 a.m. OK MS C++ TESTS 21 30 0 2300
11280118 Athee F May 26, 2015, 2:24 p.m. OK MS C++ TESTS 21 30 0 2300
8240579 ashkan_d13 F Oct. 15, 2014, 6:46 p.m. OK MS C++ TESTS 21 30 5120000 2300
2486727 craus F Nov. 1, 2012, 6:17 p.m. OK MS C++ TESTS 21 31 0 2300
2485446 Anton_Lunyov F Nov. 1, 2012, 5:47 p.m. OK MS C++ TESTS 21 31 0 2300
2484769 916852 F Nov. 1, 2012, 5:31 p.m. OK MS C++ TESTS 21 31 0 2300
2483849 lxhgww F Nov. 1, 2012, 5:08 p.m. OK MS C++ TESTS 21 31 0 2300
2484257 bayleef F Nov. 1, 2012, 5:19 p.m. OK MS C++ TESTS 21 31 102400 2300
2486785 Shef F Nov. 1, 2012, 6:18 p.m. OK MS C++ TESTS 21 31 1024000 2300
2489594 nima F Nov. 2, 2012, 7:33 a.m. OK Python 2 TESTS 21 62 102400 2300

remove filters

Back to search problems