| Task: | Number |
| Sender: | Häviö Life |
| Submission time: | 2015-10-07 16:57:03 +0300 |
| Language: | C++ |
| Status: | READY |
| Result: | WRONG ANSWER |
| test | verdict | time | |
|---|---|---|---|
| #1 | WRONG ANSWER | 0.06 s | details |
| #2 | WRONG ANSWER | 0.06 s | details |
| #3 | WRONG ANSWER | 0.06 s | details |
| #4 | WRONG ANSWER | 0.05 s | details |
| #5 | WRONG ANSWER | 0.06 s | details |
| #6 | WRONG ANSWER | 0.06 s | details |
| #7 | WRONG ANSWER | 0.06 s | details |
| #8 | WRONG ANSWER | 0.06 s | details |
| #9 | WRONG ANSWER | 0.06 s | details |
| #10 | WRONG ANSWER | 0.05 s | details |
| #11 | WRONG ANSWER | 0.05 s | details |
| #12 | WRONG ANSWER | 0.05 s | details |
| #13 | WRONG ANSWER | 0.04 s | details |
| #14 | WRONG ANSWER | 0.06 s | details |
| #15 | WRONG ANSWER | 0.05 s | details |
| #16 | WRONG ANSWER | 0.06 s | details |
| #17 | TIME LIMIT EXCEEDED | -- | details |
| #18 | TIME LIMIT EXCEEDED | -- | details |
| #19 | TIME LIMIT EXCEEDED | -- | details |
| #20 | TIME LIMIT EXCEEDED | -- | details |
| #21 | TIME LIMIT EXCEEDED | -- | details |
| #22 | TIME LIMIT EXCEEDED | -- | details |
| #23 | TIME LIMIT EXCEEDED | -- | details |
| #24 | TIME LIMIT EXCEEDED | -- | details |
| #25 | TIME LIMIT EXCEEDED | -- | details |
Code
#include <iostream>
#include <vector>
#include <stack>
#include <queue>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <unordered_set>
#include <stdio.h>
#include <string.h>
#include <unordered_map>
#include <fstream>
#include <set>
#include <map>
#define MOD 1000000007
#define ll long long
#define N (1<<50)
#define float double
#define str string
using namespace std;
int main(){
int n;
cin>>n;
for(int i=n+1;;i++)
if(i%3!=0&&i>5){
cout<<i<<endl;
return 0;
}
return 0;
}
Test details
Test 1
Verdict: WRONG ANSWER
| input |
|---|
| 11 |
| correct output |
|---|
| 1 |
| user output |
|---|
| 13 |
Test 2
Verdict: WRONG ANSWER
| input |
|---|
| 12 |
| correct output |
|---|
| 2 |
| user output |
|---|
| 13 |
Test 3
Verdict: WRONG ANSWER
| input |
|---|
| 21 |
| correct output |
|---|
| 2 |
| user output |
|---|
| 22 |
Test 4
Verdict: WRONG ANSWER
| input |
|---|
| 123 |
| correct output |
|---|
| 23 |
| user output |
|---|
| 124 |
Test 5
Verdict: WRONG ANSWER
| input |
|---|
| 132 |
| correct output |
|---|
| 32 |
| user output |
|---|
| 133 |
Test 6
Verdict: WRONG ANSWER
| input |
|---|
| 213 |
| correct output |
|---|
| 23 |
| user output |
|---|
| 214 |
Test 7
Verdict: WRONG ANSWER
| input |
|---|
| 231 |
| correct output |
|---|
| 31 |
| user output |
|---|
| 232 |
Test 8
Verdict: WRONG ANSWER
| input |
|---|
| 312 |
| correct output |
|---|
| 32 |
| user output |
|---|
| 313 |
Test 9
Verdict: WRONG ANSWER
| input |
|---|
| 321 |
| correct output |
|---|
| 32 |
| user output |
|---|
| 322 |
Test 10
Verdict: WRONG ANSWER
| input |
|---|
| 112 |
| correct output |
|---|
| 12 |
| user output |
|---|
| 113 |
Test 11
Verdict: WRONG ANSWER
| input |
|---|
| 121 |
| correct output |
|---|
| 21 |
| user output |
|---|
| 122 |
Test 12
Verdict: WRONG ANSWER
| input |
|---|
| 211 |
| correct output |
|---|
| 21 |
| user output |
|---|
| 212 |
Test 13
Verdict: WRONG ANSWER
| input |
|---|
| 111 |
| correct output |
|---|
| 11 |
| user output |
|---|
| 112 |
Test 14
Verdict: WRONG ANSWER
| input |
|---|
| 122 |
| correct output |
|---|
| 22 |
| user output |
|---|
| 124 |
Test 15
Verdict: WRONG ANSWER
| input |
|---|
| 212 |
| correct output |
|---|
| 22 |
| user output |
|---|
| 214 |
Test 16
Verdict: WRONG ANSWER
| input |
|---|
| 221 |
| correct output |
|---|
| 22 |
| user output |
|---|
| 223 |
Test 17
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 555555555555555555555555555555... |
| correct output |
|---|
| 555555555555555555555555555555... |
| user output |
|---|
| (empty) |
Test 18
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 222222222222222222222222222222... |
| correct output |
|---|
| 222222222222222222222222222222... |
| user output |
|---|
| (empty) |
Test 19
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 777777777777777777777777777777... |
| correct output |
|---|
| 777777777777777777777777777777... |
| user output |
|---|
| (empty) |
Test 20
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 444444444444444444444444444444... |
| correct output |
|---|
| 444444444444444444444444444444... |
| user output |
|---|
| (empty) |
Test 21
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 555555555555555555555555555555... |
| correct output |
|---|
| 555555555555555555555555555555... |
| user output |
|---|
| (empty) |
Test 22
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 122222222222222222222222222222... |
| correct output |
|---|
| 222222222222222222222222222222... |
| user output |
|---|
| (empty) |
Test 23
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 222222222222222222222222222222... |
| correct output |
|---|
| 222222222222222222222222222222... |
| user output |
|---|
| (empty) |
Test 24
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 322222222222222222222222222222... |
| correct output |
|---|
| 322222222222222222222222222222... |
| user output |
|---|
| (empty) |
Test 25
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 222222222222222222222222222222... |
| correct output |
|---|
| 222222222222222222222222222222... |
| user output |
|---|
| (empty) |
