CSES - Datatähti 2019 loppu - Results
Submission details
Task:Robotti
Sender:Alexander Popov
Submission time:2019-01-17 16:51:56 +0200
Language:C++
Status:READY
Result:0
Feedback
groupverdictscore
#10
#20
#30
Test results
testverdicttimegroup
#10.01 s1details
#20.01 s1details
#30.01 s1details
#40.01 s1details
#50.02 s1details
#60.01 s1details
#70.02 s1details
#80.02 s1details
#90.03 s2details
#100.03 s2details
#110.02 s2details
#120.01 s2details
#130.02 s2details
#140.03 s2details
#150.02 s2details
#160.02 s2details
#170.02 s2details
#180.01 s3details
#190.03 s3details
#200.01 s3details
#210.02 s3details
#220.01 s3details
#230.02 s3details
#240.03 s3details
#250.03 s3details
#260.02 s3details
#270.01 s3details
#280.01 s3details
#290.01 s3details
#300.01 s3details
#310.01 s3details
#320.01 s3details
#330.02 s3details
#340.02 s3details
#350.02 s3details
#360.01 s3details
#370.01 s3details
#380.02 s3details
#390.01 s3details

Code

#include <cassert>
#include <cstdint>
#include <bits/stdc++.h>

int main() {
	uint64_t n, m;
	std::cin >> n >> m;

	std::vector<uint64_t> field(n*m); // x + y * n

	if (n == 2) {
		
	}

	for (uint64_t y = 0; y < m; ++y) {
		for (uint64_t x = 0; x < n; ++x) {
			switch (field[x + y * n]) {
			case 0: std::cout << "R"; break;
			case 1: std::cout << "G"; break;
			case 2: std::cout << "B"; break;
			default: assert(false);
			}
		}
	}
}

Test details

Test 1

Group: 1

Verdict:

input
2 2

correct output
RG
GR

user output
RRRR

Test 2

Group: 1

Verdict:

input
2 4

correct output
RRRG
GRRR

user output
RRRRRRRR

Test 3

Group: 1

Verdict:

input
2 6

correct output
RRRRRG
GRRRRR

user output
RRRRRRRRRRRR

Test 4

Group: 1

Verdict:

input
2 10

correct output
RRRRRRRRRG
GRRRRRRRRR

user output
RRRRRRRRRRRRRRRRRRRR

Test 5

Group: 1

Verdict:

input
2 50

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 6

Group: 1

Verdict:

input
2 80

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 7

Group: 1

Verdict:

input
2 98

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 8

Group: 1

Verdict:

input
2 100

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 9

Group: 2

Verdict:

input
2 2

correct output
RG
GR

user output
RRRR

Test 10

Group: 2

Verdict:

input
2 4

correct output
RRRG
GRRR

user output
RRRRRRRR

Test 11

Group: 2

Verdict:

input
2 6

correct output
RRRRRG
GRRRRR

user output
RRRRRRRRRRRR

Test 12

Group: 2

Verdict:

input
4 2

correct output
RG
GG
GG
GR

user output
RRRRRRRR

Test 13

Group: 2

Verdict:

input
4 4

correct output
IMPOSSIBLE

user output
RRRRRRRRRRRRRRRR

Test 14

Group: 2

Verdict:

input
4 6

correct output
RRRRRG
GBGRGG
GGRBRG
GRRBRR

user output
RRRRRRRRRRRRRRRRRRRRRRRR

Test 15

Group: 2

Verdict:

input
6 2

correct output
RG
GG
GG
GG
GG
...

user output
RRRRRRRRRRRR

Test 16

Group: 2

Verdict:

input
6 4

correct output
RRRG
RGBG
RRGG
BBGG
GRBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRR

Test 17

Group: 2

Verdict:

input
6 6

correct output
RRRRRG
GBGRBG
GGGBBG
GGGBBG
GGRBRG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

Test 18

Group: 3

Verdict:

input
2 2

correct output
RG
GR

user output
RRRR

Test 19

Group: 3

Verdict:

input
2 4

correct output
RRRG
GRRR

user output
RRRRRRRR

Test 20

Group: 3

Verdict:

input
2 6

correct output
RRRRRG
GRRRRR

user output
RRRRRRRRRRRR

Test 21

Group: 3

Verdict:

input
4 2

correct output
RG
GG
GG
GR

user output
RRRRRRRR

Test 22

Group: 3

Verdict:

input
4 4

correct output
IMPOSSIBLE

user output
RRRRRRRRRRRRRRRR

Test 23

Group: 3

Verdict:

input
4 6

correct output
RRRRRG
GBGRGG
GGRBRG
GRRBRR

user output
RRRRRRRRRRRRRRRRRRRRRRRR

Test 24

Group: 3

Verdict:

input
6 2

correct output
RG
GG
GG
GG
GG
...

user output
RRRRRRRRRRRR

Test 25

Group: 3

Verdict:

input
6 4

correct output
RRRG
RGBG
RRGG
BBGG
GRBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRR

Test 26

Group: 3

Verdict:

input
6 6

correct output
RRRRRG
GBGRBG
GGGBBG
GGGBBG
GGRBRG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

Test 27

Group: 3

Verdict:

input
2 100

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 28

Group: 3

Verdict:

input
4 20

correct output
RRRRRRRRRRRRRRRRRRRG
GBBBBBBBBBBBBBBBGRGG
GGRRRRRRRRRRRRRRRBRG
GRRRRRRRRRRRRRRRRBRR

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

Test 29

Group: 3

Verdict:

input
4 100

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 30

Group: 3

Verdict:

input
10 10

correct output
RRRRRRRRRG
GBGRBBGRBG
GGGBBGGBBG
GGGBBGGBBG
GGGBBGGBBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 31

Group: 3

Verdict:

input
12 12

correct output
RRRRRRRRRRRG
RGBBGRBBGRBG
RRBGGBBGGBBG
RRBGGBBGGBBG
RRBGGBBGGBBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 32

Group: 3

Verdict:

input
10 12

correct output
RRRRRRRRRRRG
RGBBGRBBGRBG
RRBGGBBGGBBG
RRBGGBBGGBBG
RRBGGBBGGBBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 33

Group: 3

Verdict:

input
12 10

correct output
RRRRRRRRRG
GBGRBBGRBG
GGGBBGGBBG
GGGBBGGBBG
GGGBBGGBBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 34

Group: 3

Verdict:

input
10 90

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 35

Group: 3

Verdict:

input
90 10

correct output
RRRRRRRRRG
GBGRBBGRBG
GGGBBGGBBG
GGGBBGGBBG
GGGBBGGBBG
...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 36

Group: 3

Verdict:

input
100 100

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 37

Group: 3

Verdict:

input
98 100

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 38

Group: 3

Verdict:

input
100 98

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated

Test 39

Group: 3

Verdict:

input
98 98

correct output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

user output
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
Truncated