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.
Problems
You are given a square matrix of integer numbers. Rotate it 90 degrees clockwise (see examples for clarification of rotation). The input consists of n lines (1 ≤ n ≤ 10, n is not given explicitly). Each of the lines contains n space-separated integers; j-th integer in i-th line corresponds to matrix element mij (1 ≤ mij ≤ 100). Output the rotated matrix in the same format as the input. |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|
18888118 |
Seiche |
H |
July 4, 2016, 7:06 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17320501 |
Wael.Al.Jamal |
H |
April 14, 2016, 9:39 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17315878 |
130705009 |
H |
April 14, 2016, 2:50 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17306120 |
amirbagh75 |
H |
April 13, 2016, 5:56 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17303100 |
peter50216 |
H |
April 13, 2016, 2:16 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17289185 |
ahmeterdem |
H |
April 12, 2016, 11:53 a.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17278615 |
maxplus |
H |
April 11, 2016, 1:42 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17270273 |
Riatre |
H |
April 10, 2016, 6:56 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
17269032 |
wrong |
H |
April 10, 2016, 5:56 p.m. |
OK |
J |
TESTS |
24 |
31 |
0 |
|
2600 |
|
35889532 |
______M______ |
H |
March 3, 2018, 2:42 p.m. |
OK |
J |
TESTS |
24 |
31 |
4198400 |
|
2600 |
remove filters
Back to search problems