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 16:29:2312
2015-01-29 16:24:450
2015-01-29 16:22:320
Task:Kartta
Sender:PT
Submission time:2015-01-29 16:29:23
Language:C++
Status:READY
Score:12

Feedback

groupverdictscore
#1ACCEPTED12
#2WRONG ANSWER0
#3WRONG ANSWER0
#4OUTPUT LIMIT EXCEEDED0

Test results

testverdicttime (s)group
#1ACCEPTED0.12 / 5.001details
#2WRONG ANSWER0.13 / 5.002details
#3WRONG ANSWER0.35 / 5.003details
#4OUTPUT LIMIT EXCEEDED0.00 / 5.004details

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 = 2; z <= 40; ++z) {
      for(int y = 1; y <= n; ++y) {
	for(int x = 1; x <= m; ++x) {
	  if(z - 1 == a[y][x]) {
	    cout << 'S'; 
	  } else {
	    cout << 'L';
	  }
	}
	cout << "\n";
      }
  }
  for(int i = 1; i <= h; ++i) {
    cout << i << " ";
    for(int j = 1; j <= i; ++j) {
      cout << j << " ";
    }
    cout << "\n";
  }
  return 0;
}

Test details

Test 1

Group: 1

Verdict: ACCEPTED

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

correct output
(empty)

user output
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV...
view   save

Test 2

Group: 2

Verdict: WRONG ANSWER

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

correct output
(empty)

user output
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV...
view   save

Test 3

Group: 3

Verdict: WRONG ANSWER

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

correct output
(empty)

user output
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV...
view   save

Test 4

Group: 4

Verdict: OUTPUT LIMIT EXCEEDED

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

correct output
(empty)

user output
(empty)