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 |
365783423 |
Sept. 13, 2014, 3:30 p.m. |
Problems
Crystal ball sequence on hexagonal lattice is defined as follows: n-th element is the number of lattice points inside a hexagon with (n + 1) points on each side. The formula is Hn = 3 ·n ·(n + 1) + 1. You are given n; calculate n-th element of the sequence. The only line of input contains an integer n (0 ≤ n ≤ 9). 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