Task: | Barrels |
Sender: | ArktinenKarpalo |
Submission time: | 2018-09-27 16:44:52 +0300 |
Language: | C++ |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.03 s | details |
#2 | WRONG ANSWER | 0.04 s | details |
#3 | WRONG ANSWER | 0.03 s | details |
#4 | WRONG ANSWER | 0.03 s | details |
#5 | WRONG ANSWER | 0.02 s | details |
#6 | WRONG ANSWER | 0.04 s | details |
#7 | WRONG ANSWER | 0.02 s | details |
#8 | WRONG ANSWER | 0.01 s | details |
#9 | WRONG ANSWER | 0.03 s | details |
#10 | WRONG ANSWER | 0.02 s | details |
#11 | WRONG ANSWER | 0.02 s | details |
#12 | WRONG ANSWER | 0.02 s | details |
#13 | WRONG ANSWER | 0.04 s | details |
#14 | WRONG ANSWER | 0.03 s | details |
#15 | WRONG ANSWER | 0.03 s | details |
#16 | WRONG ANSWER | 0.03 s | details |
#17 | WRONG ANSWER | 0.04 s | details |
#18 | WRONG ANSWER | 0.01 s | details |
#19 | WRONG ANSWER | 0.02 s | details |
#20 | WRONG ANSWER | 0.03 s | details |
#21 | WRONG ANSWER | 0.02 s | details |
#22 | WRONG ANSWER | 0.04 s | details |
#23 | WRONG ANSWER | 0.02 s | details |
#24 | WRONG ANSWER | 0.04 s | details |
#25 | WRONG ANSWER | 0.01 s | details |
#26 | WRONG ANSWER | 0.04 s | details |
#27 | WRONG ANSWER | 0.03 s | details |
#28 | WRONG ANSWER | 0.03 s | details |
#29 | WRONG ANSWER | 0.03 s | details |
#30 | WRONG ANSWER | 0.02 s | details |
Code
#include <bits/stdc++.h> #define ll long long #define ull unsigned long long #define ld long double #define M 100000007 #define N (1<<17) #define P complex<long long> #define X real() #define Y imag() using namespace std; int n; int main() { cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0); cin >> n; if(n<=4) n=7; while(n%3==0) n++; cout << n; }
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
3 10 30 20 |
correct output |
---|
(empty) |
user output |
---|
3 7 |
Error:
1 1 0 0
Test 2
Verdict: WRONG ANSWER
input |
---|
5 10 30 20 50 40 |
correct output |
---|
(empty) |
user output |
---|
5 5 |
Error:
1 1 0 0
Test 3
Verdict: WRONG ANSWER
input |
---|
5 50 10 30 40 20 |
correct output |
---|
(empty) |
user output |
---|
5 5 |
Error:
1 1 0 0
Test 4
Verdict: WRONG ANSWER
input |
---|
232 1930 1450 1010 360 840 100 185... |
correct output |
---|
(empty) |
user output |
---|
232 232 |
Error:
1 1 0 0
Test 5
Verdict: WRONG ANSWER
input |
---|
202 790 1690 1200 1810 2010 400 10... |
correct output |
---|
(empty) |
user output |
---|
202 202 |
Error:
1 1 0 0
Test 6
Verdict: WRONG ANSWER
input |
---|
126 1260 350 20 110 650 1000 440 1... |
correct output |
---|
(empty) |
user output |
---|
126 127 |
Error:
1 1 0 0
Test 7
Verdict: WRONG ANSWER
input |
---|
450 50 3240 2550 1710 2570 1620 29... |
correct output |
---|
(empty) |
user output |
---|
450 451 |
Error:
1 1 0 0
Test 8
Verdict: WRONG ANSWER
input |
---|
259 730 1560 1870 940 2280 1830 15... |
correct output |
---|
(empty) |
user output |
---|
259 259 |
Error:
1 1 0 0
Test 9
Verdict: WRONG ANSWER
input |
---|
376 2330 2580 2520 720 1050 700 31... |
correct output |
---|
(empty) |
user output |
---|
376 376 |
Error:
1 1 0 0
Test 10
Verdict: WRONG ANSWER
input |
---|
94 350 920 600 680 690 140 620 32... |
correct output |
---|
(empty) |
user output |
---|
94 94 |
Error:
1 1 0 0
Test 11
Verdict: WRONG ANSWER
input |
---|
500 10 20 30 40 50 60 70 80 90 100... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 12
Verdict: WRONG ANSWER
input |
---|
500 3970 1390 3740 4520 30 1020 26... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 13
Verdict: WRONG ANSWER
input |
---|
500 1310 1540 1730 780 4420 640 40... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 14
Verdict: WRONG ANSWER
input |
---|
500 3900 5000 4640 1990 850 4550 3... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 15
Verdict: WRONG ANSWER
input |
---|
500 650 2740 3810 220 4670 4150 60... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 16
Verdict: WRONG ANSWER
input |
---|
500 580 2470 2000 4770 2360 2690 1... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 17
Verdict: WRONG ANSWER
input |
---|
500 1390 2600 740 2340 2120 3460 1... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 18
Verdict: WRONG ANSWER
input |
---|
500 1790 700 3350 4050 1330 5000 5... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 19
Verdict: WRONG ANSWER
input |
---|
500 2510 3420 4520 3750 3820 3260 ... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 20
Verdict: WRONG ANSWER
input |
---|
500 1420 2450 1800 2890 4920 1990 ... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 21
Verdict: WRONG ANSWER
input |
---|
500 3240 2630 1410 2010 440 2110 2... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 22
Verdict: WRONG ANSWER
input |
---|
500 2420 2720 3820 70 2950 500 140... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 23
Verdict: WRONG ANSWER
input |
---|
500 1270 4470 2380 4690 2030 1620 ... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 24
Verdict: WRONG ANSWER
input |
---|
500 440 4060 4190 2940 650 3690 31... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 25
Verdict: WRONG ANSWER
input |
---|
500 4520 4590 1280 3710 3310 460 4... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 26
Verdict: WRONG ANSWER
input |
---|
500 3460 970 1400 1470 4560 3340 4... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 27
Verdict: WRONG ANSWER
input |
---|
500 1400 2120 390 3030 3410 2050 2... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 28
Verdict: WRONG ANSWER
input |
---|
500 3360 2710 830 1680 4070 1570 3... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 29
Verdict: WRONG ANSWER
input |
---|
500 840 4560 3490 2410 2150 3580 9... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0
Test 30
Verdict: WRONG ANSWER
input |
---|
500 1240 4680 3440 4310 4660 1900 ... |
correct output |
---|
(empty) |
user output |
---|
500 500 |
Error:
1 1 0 0