Code Submission Evaluation System Login

Datatähti 2015 loppu

Start:2015-01-29 12:15:00
End:2015-01-29 17:15:00
 

Tasks | Scoreboard | Statistics


CSES - Datatähti 2015 loppu - Results
History
2015-01-29 17:13:150
2015-01-29 17:11:000
Task:Kartta
Sender:juhoh
Submission time:2015-01-29 17:11:00
Language:C++
Status:READY
Score:0

Feedback

groupverdictscore
#1RUNTIME ERROR0
#2RUNTIME ERROR0
#3RUNTIME ERROR0
#4RUNTIME ERROR0

Test results

testverdicttime (s)group
#1RUNTIME ERROR0.53 / 5.001details
#2RUNTIME ERROR0.54 / 5.002details
#3RUNTIME ERROR0.53 / 5.003details
#4RUNTIME ERROR0.54 / 5.004details

Code

#include <iostream>
#include <string>
#include <cmath>
#include <cstdio>
#include <algorithm>

using namespace std;

typedef int ll;

int main() {

	ios_base::sync_with_stdio(false);

	ll n, m, h;
	cin >> n >> m >> h;

	ll map[n*m];
	for (ll i = 0; i < n*m; ++i) {
		cin >> map[i * n + i];
	}

	for (ll x = 0; x <= h; ++x) {
		for (ll i = 0; i < n*m; ++i) {
			cout << (map[i] >= x ? 'V' : 'S');
			if (i % m == m - 1) {
				cout << '\n';
			}
		}
	}

	for (ll x = 1; x <= h; ++x) {
		cout << x << ' ';
		for (ll i = 1; i < x; ++i) {
			cout << i << ' ';
		}
		cout << '\n';
	}

	return 0;
}

Test details

Test 1

Group: 1

Verdict: RUNTIME ERROR

input
100 100 40
40 11 38 24 5 31 40 10 17 33 1...
view   save

correct output
(empty)

user output
(empty)

Test 2

Group: 2

Verdict: RUNTIME ERROR

input
100 100 200
200 71 185 86 113 84 170 60 17...
view   save

correct output
(empty)

user output
(empty)

Test 3

Group: 3

Verdict: RUNTIME ERROR

input
100 100 1000
824 172 828 721 509 73 437 530...
view   save

correct output
(empty)

user output
(empty)

Test 4

Group: 4

Verdict: RUNTIME ERROR

input
100 100 10000
7110 9439 3392 1630 368 8481 1...
view   save

correct output
(empty)

user output
(empty)