Task: | Kortit |
Sender: | Samiismail |
Submission time: | 2022-10-31 14:34:15 +0200 |
Language: | C++ (C++17) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.00 s | details |
#2 | ACCEPTED | 0.00 s | details |
#3 | WRONG ANSWER | 0.00 s | details |
#4 | WRONG ANSWER | 0.00 s | details |
#5 | WRONG ANSWER | 0.00 s | details |
#6 | WRONG ANSWER | 0.00 s | details |
Compiler report
input/code.cpp: In function 'int main()': input/code.cpp:13:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 13 | if(n==1)cout << "NO"; return 0; | ^~ input/code.cpp:13:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 13 | if(n==1)cout << "NO"; return 0; | ^~~~~~ input/code.cpp:14:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(n>1 && n<=26) cout << "MAYBE"; return 0; | ^~ input/code.cpp:14:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 14 | if(n>1 && n<=26) cout << "MAYBE"; return 0; | ^~~~~~ input/code.cpp:15:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 15 | if(n>26)cout << "YES"; return 0; | ^~ input/code.cpp:15:24: note: ...this statement, but the latter is misleadingly indented as if it...
Code
#include<bits/stdc++.h> using namespace std; typedef long long ll; int main(){ int n; cin >> n; if(n==1)cout << "NO"; return 0; if(n>1 && n<=26) cout << "MAYBE"; return 0; if(n>26)cout << "YES"; return 0; }
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
0 |
correct output |
---|
NO |
user output |
---|
(empty) |
Test 2
Verdict: ACCEPTED
input |
---|
1 |
correct output |
---|
NO |
user output |
---|
NO |
Test 3
Verdict: WRONG ANSWER
input |
---|
2 |
correct output |
---|
MAYBE |
user output |
---|
(empty) |
Test 4
Verdict: WRONG ANSWER
input |
---|
26 |
correct output |
---|
MAYBE |
user output |
---|
(empty) |
Test 5
Verdict: WRONG ANSWER
input |
---|
27 |
correct output |
---|
YES |
user output |
---|
(empty) |
Test 6
Verdict: WRONG ANSWER
input |
---|
52 |
correct output |
---|
YES |
user output |
---|
(empty) |