VK Cup 2012 Wild-card Round 1

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
162 VK Cup 2012 Wild-card Round 1 FINISHED False 7200 399739799 March 18, 2012, 3:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 65 ) G Non-decimal sum PROGRAMMING *special 2500

B'You are given an array of integers written in base radix. Calculate their sum and output it written in the same base. The first line of the input contains an integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910) -- the size of the array. The second line contains an integer radix (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89radix xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8936) -- the base of the numeral system used. Next n lines contain the elements of the array, one per line. Each element is a non-negative integer written in radix-based notation, possibly with leading zeros, which contains between 1 and 5 digits, inclusive. The digits of the notation will be 0, 1, ..., 9, A, B, ..., Z in the given order. Output the sum of array elements in radix-based notation. Use the same format as in the input.'...

Tutorials

VK Cup 2012 Wild-card Round 1: editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3669284 Omelianenko G May 4, 2013, 1:24 p.m. OK Factor TESTS 46 125 0 2500
3818184 yermak0v G June 3, 2013, 9:33 a.m. OK Factor TESTS 46 140 0 2500
1408499 watashi G March 25, 2012, 11:59 a.m. OK Factor TESTS 46 170 185856000 2500
1376974 nab G March 18, 2012, 4:24 p.m. OK Factor TESTS 46 170 185856000 2500
48371458 yongwhan G Jan. 14, 2019, 4:41 a.m. OK Factor TESTS 46 186 0 2500
4554799 DarthShrine G Sept. 25, 2013, 12:06 p.m. OK Factor TESTS 46 186 0 2500
1377903 Orfest G March 18, 2012, 6:47 p.m. OK Factor TESTS 46 190 189132800 2500
66455168 Shajib_ G Dec. 7, 2019, 12:54 p.m. OK Factor TESTS 46 216 0 2500
64674287 steven1029 G Nov. 11, 2019, 7:23 a.m. OK Factor TESTS 46 216 0 2500
41009202 ReaLNero1 G July 31, 2018, 11:41 a.m. OK Factor TESTS 46 218 0 2500

remove filters

Back to search problems