| Task: | Kartta |
| Sender: | intoo |
| Submission time: | 2021-12-09 14:46:16 +0200 |
| Language: | C++ (C++17) |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | WRONG ANSWER | 0 |
| #2 | WRONG ANSWER | 0 |
| #3 | WRONG ANSWER | 0 |
| #4 | OUTPUT LIMIT EXCEEDED | 0 |
| test | verdict | time | group | |
|---|---|---|---|---|
| #1 | WRONG ANSWER | 0.03 s | 1 | details |
| #2 | WRONG ANSWER | 0.10 s | 2 | details |
| #3 | WRONG ANSWER | 0.45 s | 3 | details |
| #4 | OUTPUT LIMIT EXCEEDED | 0.00 s | 4 | details |
Code
#include <iostream>
using namespace std;
int t[100][100];
int main()
{
int n, m, h;
cin >> n >> m >> h;
for (int i = 0; i < n; ++i) {
for (int j = 0; j < m; ++j)
cin >> t[i][j];
}
for (int i = 1; i <= h; ++i) {
for (int y = 0; y < n; ++y) {
for (int x = 0; x < m; ++x) {
cout << (t[y][x] < i ? 'S' : 'V');
}
cout << endl;
}
}
for (int i = 1; i <= h; ++i)
cout << i << endl;
}
Test details
Test 1
Group: 1
Verdict: WRONG ANSWER
| input |
|---|
| 100 100 40 40 11 38 24 5 31 40 10 17 33 1... |
| correct output |
|---|
| (empty) |
| user output |
|---|
| VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV... Truncated |
Test 2
Group: 2
Verdict: WRONG ANSWER
| input |
|---|
| 100 100 200 200 71 185 86 113 84 170 60 17... |
| correct output |
|---|
| (empty) |
| user output |
|---|
| VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV... Truncated |
Test 3
Group: 3
Verdict: WRONG ANSWER
| input |
|---|
| 100 100 1000 824 172 828 721 509 73 437 530... |
| correct output |
|---|
| (empty) |
| user output |
|---|
| VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV... Truncated |
Test 4
Group: 4
Verdict: OUTPUT LIMIT EXCEEDED
| input |
|---|
| 100 100 10000 7110 9439 3392 1630 368 8481 1... |
| correct output |
|---|
| (empty) |
| user output |
|---|
| (empty) |
