CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:DualRed
Submission time:2022-11-01 19:53:19 +0200
Language:Java
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.09 sdetails
#20.09 sdetails
#30.09 sdetails
#40.09 sdetails
#50.09 sdetails
#60.09 sdetails

Code

import java.util.*;
import java.io.*;

class Sadonkorjuu {
    public static void main(String[] args) throws IOException {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));

        int count = Integer.parseInt(bufferedReader.readLine());
        if (count <= 1){
            System.out.println("NO");
        }
        else if (count > 26){
            System.out.println("YES");
        }
        else{
            System.out.println("MAYBE");
        }

    }
}

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
(empty)

Error:
Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException:...

Test 2

Verdict:

input
1

correct output
NO

user output
(empty)

Error:
Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException:...

Test 3

Verdict:

input
2

correct output
MAYBE

user output
(empty)

Error:
Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException:...

Test 4

Verdict:

input
26

correct output
MAYBE

user output
(empty)

Error:
Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException:...

Test 5

Verdict:

input
27

correct output
YES

user output
(empty)

Error:
Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException:...

Test 6

Verdict:

input
52

correct output
YES

user output
(empty)

Error:
Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException:...