Code Submission Evaluation System Login

Datatähti 2018 alku

Start:2017-10-02 00:00:00
End:2017-10-16 00:00:00
 

Tasks | Messages | Scoreboard | Statistics


CSES - Datatähti 2018 alku - Results
History
2017-10-11 11:06:5550
Task:Fraktaali
Sender:jinakola
Submission time:2017-10-11 11:06:55
Language:C++
Status:READY
Score:50

Feedback

groupverdictscore
#1ACCEPTED10
#2ACCEPTED10
#3ACCEPTED10
#4ACCEPTED10
#5ACCEPTED10
#6WRONG ANSWER0
#7WRONG ANSWER0
#8WRONG ANSWER0
#9WRONG ANSWER0
#10WRONG ANSWER0

Test results

testverdicttime (s)group
#1ACCEPTED0.05 / 1.001details
#2ACCEPTED0.06 / 1.002details
#3ACCEPTED0.05 / 1.003details
#4ACCEPTED0.06 / 1.004details
#5ACCEPTED0.04 / 1.005details
#6WRONG ANSWER0.05 / 1.006details
#7WRONG ANSWER0.05 / 1.007details
#8WRONG ANSWER0.05 / 1.008details
#9WRONG ANSWER0.06 / 1.009details
#10WRONG ANSWER0.05 / 1.0010details

Code

#include <iostream>

using namespace std;

int main() {
 int a;
 cin>>a;

    switch (a) {
      case 1:
      std::cout << "#" << '\n';
      break;
      case 2:
      std::cout << "##" << '\n'<<"#."<< '\n';
      break;
      case 3:
      std::cout << "####" <<
            '\n'<< "#.#." <<
            '\n'<< "##.." <<
            '\n'<< "#..#" << '\n';
      break;
      case 4:
      std::cout << "########" <<
            '\n'<< "#.#.#.#." <<
            '\n'<< "##..##.." <<
            '\n'<< "#..##..#" <<
            '\n'<< "####...." <<
            '\n'<< "#.#..#.#" <<
            '\n'<< "##....##" <<
            '\n'<< "#..#.##." <<'\n';
      break;
      case 5:
      std::cout << "################" <<
            '\n'<< "#.#.#.#.#.#.#.#." <<
            '\n'<< "##..##..##..##.." <<
            '\n'<< "#..##..##..##..#" <<
            '\n'<< "####....####...." <<
            '\n'<< "#.#..#.##.#..#.#" <<
            '\n'<< "##....####....##" <<
            '\n'<< "#..#.##.#..#.##." <<
            '\n'<< "########........" <<
            '\n'<< "#.#.#.#..#.#.#.#" <<
            '\n'<< "##..##....##..##" <<
            '\n'<< "#..##..#.##..##." <<
            '\n'<< "####........####" <<
            '\n'<< "#.#..#.#.#.##.#." <<
            '\n'<< "##....##..####.." <<
            '\n'<< "#..#.##..##.#..#" <<

            '\n';

      break;
      case 6:
      std::cout << "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" <<
      '\n'<< "" << '\n';
      break;
      case 7:
      std::cout << "/* message */" << '\n';
      break;
      case 8:
      std::cout << "/* message */" << '\n';
      break;
      case 9:
      std::cout << "/* message */" << '\n';
      break;
      case 10:
      std::cout << "/* message */" << '\n';
      break;
    // solve the task here
  }
}

Test details

Test 1

Group: 1

Verdict: ACCEPTED

input
1
view   save

correct output
#
view   save

user output
#
view   save

Test 2

Group: 2

Verdict: ACCEPTED

input
2
view   save

correct output
##
#.
view   save

user output
##
#.
view   save

Test 3

Group: 3

Verdict: ACCEPTED

input
3
view   save

correct output
####
#.#.
##..
#..#
view   save

user output
####
#.#.
##..
#..#
view   save

Test 4

Group: 4

Verdict: ACCEPTED

input
4
view   save

correct output
########
#.#.#.#.
##..##..
#..##..#
####....
#.#..#.#
##....##
#..#.##.
view   save

user output
########
#.#.#.#.
##..##..
#..##..#
####....
#.#..#.#
##....##
#..#.##.
view   save

Test 5

Group: 5

Verdict: ACCEPTED

input
5
view   save

correct output
################
#.#.#.#.#.#.#.#.
##..##..##..##..
#..##..##..##..#
####....####....
#.#..#.##.#..#.#
##....####....##
#..#.##.#..#.##.
########........
#.#.#.#..#.#.#.#
##..##....##..##
#..##..#.##..##.
####........####
#.#..#.#.#.##.#.
##....##..####..
#..#.##..##.#..#
view   save

user output
################
#.#.#.#.#.#.#.#.
##..##..##..##..
#..##..##..##..#
####....####....
#.#..#.##.#..#.#
##....####....##
#..#.##.#..#.##.
########........
#.#.#.#..#.#.#.#
##..##....##..##
#..##..#.##..##.
####........####
#.#..#.#.#.##.#.
##....##..####..
#..#.##..##.#..#
view   save

Test 6

Group: 6

Verdict: WRONG ANSWER

input
6
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
####....####....####....####.....
#.#..#.##.#..#.##.#..#.##.#..#...
##....####....####....####.......
#..#.##.#..#.##.#..#.##.#..#.#...
########........########.........
#.#.#.#..#.#.#.##.#.#.#..#.#.#...
##..##....##..####..##....##.....
#..##..#.##..##.#..##..#.##..#...
####........########........##...
#.#..#.#.#.##.#.#.#..#.#.#.##....
##....##..####..##....##..####...
#..#.##..##.#..##..#.##..##.#....
################.................
#.#.#.#.#.#.#.#..#.#.#.#.#.#.#...
##..##..##..##....##..##..##.....
#..##..##..##..#.##..##..##..#...
...
view   save

user output
...
view   save

Test 7

Group: 7

Verdict: WRONG ANSWER

input
7
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
####....####....####....####.....
#.#..#.##.#..#.##.#..#.##.#..#...
##....####....####....####.......
#..#.##.#..#.##.#..#.##.#..#.#...
########........########.........
#.#.#.#..#.#.#.##.#.#.#..#.#.#...
##..##....##..####..##....##.....
#..##..#.##..##.#..##..#.##..#...
####........########........##...
#.#..#.#.#.##.#.#.#..#.#.#.##....
##....##..####..##....##..####...
#..#.##..##.#..##..#.##..
view   save

user output
/* message */
view   save

Test 8

Group: 8

Verdict: WRONG ANSWER

input
8
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
####....####....####....####.....
#.#..#.##.#..#.##.#..#.##.#..#...
##....####....####....####.......
#..#.##.#..#.##.#..#.##.#..#.#...
view   save

user output
/* message */
view   save

Test 9

Group: 9

Verdict: WRONG ANSWER

input
9
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
view   save

user output
/* message */
view   save

Test 10

Group: 10

Verdict: WRONG ANSWER

input
10
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
view   save

user output
/* message */
view   save