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 |
470
|
Surprise Language Round 7 |
FINISHED |
False |
7200 |
321200999 |
Sept. 13, 2014, 3:30 p.m. |
Problems
B'Crystal ball sequence on hexagonal lattice is defined as follows: n-th element is the number of lattice points inside a hexagon with (n xe2 x80 x89+ xe2 x80 x891) points on each side. The formula is Hn xe2 x80 x89= xe2 x80 x893 xc2 xb7n xc2 xb7(n xe2 x80 x89+ xe2 x80 x891) xe2 x80 x89+ xe2 x80 x891. You are given n; calculate n-th element of the sequence. The only line of input contains an integer n (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x899). Output the n-th element of crystal ball sequence.'... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
43448514 |
fblogy |
A |
Sept. 26, 2018, 12:25 p.m. |
OK |
FALSE |
TESTS |
10 |
0 |
0 |
|
1400 |
10501378 |
Empress |
A |
March 28, 2015, 2:26 p.m. |
OK |
FALSE |
TESTS |
10 |
0 |
0 |
|
1400 |
7785349 |
Hugooguh |
A |
Sept. 13, 2014, 3:52 p.m. |
OK |
FALSE |
TESTS |
10 |
0 |
0 |
|
1400 |
68340291 |
nealzane |
A |
Jan. 7, 2020, 2:53 a.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
58937104 |
ivan.v.gerasimov |
A |
Aug. 17, 2019, 5:02 a.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
58936982 |
ivan.v.gerasimov |
A |
Aug. 17, 2019, 4:56 a.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
58936901 |
ivan.v.gerasimov |
A |
Aug. 17, 2019, 4:53 a.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
58873766 |
white_walker |
A |
Aug. 15, 2019, 4:43 p.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
47525465 |
vjudge3 |
A |
Dec. 26, 2018, 3:35 p.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
47525255 |
mamun02inf- |
A |
Dec. 26, 2018, 3:28 p.m. |
OK |
FALSE |
TESTS |
10 |
15 |
0 |
|
1400 |
remove filters
Back to search problems