| Task: | Kortit |
| Sender: | NiiiloM |
| Submission time: | 2022-11-01 23:24:06 +0200 |
| Language: | Java |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | RUNTIME ERROR | 0 |
| test | verdict | time | |
|---|---|---|---|
| #1 | RUNTIME ERROR | 0.09 s | details |
| #2 | RUNTIME ERROR | 0.09 s | details |
| #3 | RUNTIME ERROR | 0.09 s | details |
| #4 | RUNTIME ERROR | 0.09 s | details |
| #5 | RUNTIME ERROR | 0.09 s | details |
| #6 | RUNTIME ERROR | 0.09 s | details |
Code
package kortit;
import java.util.*;
/**
*
* @author NM
*/
public class Kortit {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int syote = input.nextInt();
if (syote <= 1) {
System.out.println("NO");
} else if (syote <= 26) {
System.out.println("MAYBE");
} else {
System.out.println("YES");
}
}
}
Test details
Test 1
Verdict: RUNTIME ERROR
| input |
|---|
| 0 |
| correct output |
|---|
| NO |
| user output |
|---|
| (empty) |
Error:
Error: Could not find or load main class Kortit Caused by: java.lang.ClassNotFoundExceptio...
Test 2
Verdict: RUNTIME ERROR
| input |
|---|
| 1 |
| correct output |
|---|
| NO |
| user output |
|---|
| (empty) |
Error:
Error: Could not find or load main class Kortit Caused by: java.lang.ClassNotFoundExceptio...
Test 3
Verdict: RUNTIME ERROR
| input |
|---|
| 2 |
| correct output |
|---|
| MAYBE |
| user output |
|---|
| (empty) |
Error:
Error: Could not find or load main class Kortit Caused by: java.lang.ClassNotFoundExceptio...
Test 4
Verdict: RUNTIME ERROR
| input |
|---|
| 26 |
| correct output |
|---|
| MAYBE |
| user output |
|---|
| (empty) |
Error:
Error: Could not find or load main class Kortit Caused by: java.lang.ClassNotFoundExceptio...
Test 5
Verdict: RUNTIME ERROR
| input |
|---|
| 27 |
| correct output |
|---|
| YES |
| user output |
|---|
| (empty) |
Error:
Error: Could not find or load main class Kortit Caused by: java.lang.ClassNotFoundExceptio...
Test 6
Verdict: RUNTIME ERROR
| input |
|---|
| 52 |
| correct output |
|---|
| YES |
| user output |
|---|
| (empty) |
Error:
Error: Could not find or load main class Kortit Caused by: java.lang.ClassNotFoundExceptio...
