Task: | Kartta |
Sender: | PT |
Submission time: | 2015-01-29 16:22:32 +0200 |
Language: | C++ |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | WRONG ANSWER | 0 |
#3 | WRONG ANSWER | 0 |
#4 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.13 s | 1 | details |
#2 | WRONG ANSWER | 0.12 s | 2 | details |
#3 | WRONG ANSWER | 0.14 s | 3 | details |
#4 | WRONG ANSWER | 0.29 s | 4 | details |
Code
#include<bits/stdc++.h> using namespace std; typedef long long ll; #define N 1000001 int n, m, h; int a[101][101]; int main() { cin.sync_with_stdio(0); cin >> n >> m >> h; for(int y = 1; y <= n; ++y) { for(int x = 1; x <= m; ++x) { cin >> a[y][x]; cout << 'V'; } cout << "\n"; } for(int z = 1; z <= 40; ++z) { for(int y = 1; y <= n; ++y) { for(int x = 1; x <= m; ++x) { if(z <= h && z == a[y][x]) { cout << 'S'; } else { cout << 'L'; } } cout << "\n"; } } for(int i = 0; i < h; ++i) { cout << 40 << " "; for(int j = 0; j < 40; ++j) { cout << j + 1 << " "; } cout << "\n"; } return 0; }
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... |
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... |
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... |
Test 4
Group: 4
Verdict: WRONG ANSWER
input |
---|
100 100 10000 7110 9439 3392 1630 368 8481 1... |
correct output |
---|
(empty) |
user output |
---|
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV... |