buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
X=input()
if X>=400 and X<=599:
print('8')
if X>=600 and X<=799:
print('7')
if X>=800 and X<=999:
print('6')
if X>=1000 and X<=1199:
print('5')
if X>=1200 and X<=1399:
print('4')
if X>=1400 and X<=1599:
print('3')
if X>=1600 and X<=1799:
print('2')
if X>=1800 and X<=1999:
print('1') | X=int(input())
if X>=400 and X<=599:
print('8')
if X>=600 and X<=799:
print('7')
if X>=800 and X<=999:
print('6')
if X>=1000 and X<=1199:
print('5')
if X>=1200 and X<=1399:
print('4')
if X>=1400 and X<=1599:
print('3')
if X>=1600 and X<=1799:
print('2')
if X>=1800 and X<=1999:
print('1')
| [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 125 |
# A - Kyu in AtCoder
late_table = [
[400, 8],
[600, 7],
[800, 6],
[1000, 5],
[1200, 4],
[1400, 3],
[1600, 2],
[1800, 1]
]
def kyu(late):
for i in late_table:
if late < i[0]:
return i[1] + 1
if __name__ == "__main__":
late = int(input())
print(kyu(late... | # A - Kyu in AtCoder
late_table = [
[400, 8],
[600, 7],
[800, 6],
[1000, 5],
[1200, 4],
[1400, 3],
[1600, 2],
[1800, 1]
]
def kyu(late):
for i in late_table:
if late < i[0]:
return i[1] + 1
return 1
if __name__ == "__main__":
late = int(input())
p... | [["+", 0, 656, 0, 14, 8, 196, 0, 37, 0, 38], ["+", 0, 656, 0, 14, 8, 196, 0, 37, 0, 612]] | 5 | 100 |
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if (400 <= n && n <= 599)
cout << 8 << endl;
if (600 <= n && n <= 799)
cout << 7 << endl;
if (800 <= n && n <= 999)
cout << 6 << endl;
if (1000 <= n && n <= 1199)
cout << 5 << endl;
if (1200 <= n &&... | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if (400 <= n && n <= 599)
cout << 8 << endl;
if (600 <= n && n <= 799)
cout << 7 << endl;
if (800 <= n && n <= 999)
cout << 6 << endl;
if (1000 <= n && n <= 1199)
cout << 5 << endl;
if (1200 <= n &&... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 152 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ALL(x) (x).begin(), (x).end()
#define MAX(x) *max_element(ALL(x))
#define MIN(x) *min_element(ALL(x))
typedef pair<int, int> PI;
typedef pair<int, pair<int, int>> PII;
static const int INF = 1010000000000000017LL;
static const double eps = 1... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ALL(x) (x).begin(), (x).end()
#define MAX(x) *max_element(ALL(x))
#define MIN(x) *min_element(ALL(x))
typedef pair<int, int> PI;
typedef pair<int, pair<int, int>> PII;
static const int INF = 1010000000000000017LL;
static const double eps = 1... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19]] | 1 | 282 |
#include <algorithm>
#include <array>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctype.h>
#include <deque>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stac... | #include <algorithm>
#include <array>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctype.h>
#include <deque>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stac... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19]] | 1 | 7,871 |
print(9 - int(input())//200) | print(10 - int(input())//200)
| [["-", 0, 1, 0, 652, 3, 4, 0, 657, 31, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 31, 612]] | 5 | 13 |
X = int(input())
if 400 <= X < 600:
print(8)
elif 600 <= x < 800:
print(7)
elif 800 <= x < 1000:
print(6)
elif 1000 <= x < 1200:
print(5)
elif 1200 <= x < 1400:
print(4)
elif 1400 <= x < 1600:
print(3)
elif 1600 <= x < 1800:
print(2)
elif 1800 <= x < 2000:
print(1) | x = int(input())
if 400 <= x < 600:
print(8)
elif 600 <= x < 800:
print(7)
elif 800 <= x < 1000:
print(6)
elif 1000 <= x < 1200:
print(5)
elif 1200 <= x < 1400:
print(4)
elif 1400 <= x < 1600:
print(3)
elif 1600 <= x < 1800:
print(2)
elif 1800 <= x < 2000:
print(1) | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]] | 5 | 96 |
// include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
... |
// include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
... | [["+", 0, 1, 0, 16, 31, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 33], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 72], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 316 |
MI = lambda :(map(int,input().split()))
x = II()
if x>1799:
print(1)
elif x>1599:
print(2)
elif x>1399:
print(3)
elif x>1199:
print(4)
elif x>999:
print(5)
elif x>799:
print(6)
elif x>599:
print(7)
else:
print(8) | MI = lambda :(map(int,input().split()))
x = int(input())
if x>1799:
print(1)
elif x>1599:
print(2)
elif x>1399:
print(3)
elif x>1199:
print(4)
elif x>999:
print(5)
elif x>799:
print(6)
elif x>599:
print(7)
else:
print(8) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 92 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
int Y = X / 200;
cout << 10 - X << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
int Y = X / 200;
cout << 10 - Y << endl;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22]] | 1 | 34 |
def ranking(x):
if(x>=400):
if(x<600):
return 8
elif(x<800):
return 7
elif (x < 1000):
return 6
elif (x < 1200):
return 5
elif (x < 1400):
return 4
elif (x < 1600):
return 3
elif (x < 1800... | def ranking(x):
if(x>=400):
if(x<600):
return 8
elif(x<800):
return 7
elif (x < 1000):
return 6
elif (x < 1200):
return 5
elif (x < 1400):
return 4
elif (x < 1600):
return 3
elif (x < 1800... | [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25], ["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 94 |
#include <bits/stdc++.h>
using namespace std;
int main() { // main_program
int X, a, b;
a = X / 100;
b = 10 - a / 2;
cout << b << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() { // main_program
int X, a, b;
cin >> X;
a = X / 100;
b = 10 - a / 2;
cout << b << endl;
}
| [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 40 |
import sys
read = sys.stdin.readline
import time
import math
import itertools as it
def inpl():
return list(map(int, input().split()))
st = time.perf_counter()
# ------------------------------
N = int(input())
if 400 <= N and N <= 599:
ans = 8
elif 600 <= N and N <= 799:
ans = 7
elif 800 <= N and N <= 99:
... | import sys
read = sys.stdin.readline
import time
import math
import itertools as it
def inpl():
return list(map(int, input().split()))
st = time.perf_counter()
# ------------------------------
N = int(input())
if 400 <= N and N <= 599:
ans = 8
elif 600 <= N and N <= 799:
ans = 7
elif 800 <= N and N <= 999:... | [["-", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612]] | 5 | 178 |
#include <bits/stdc++.h>
#include <string>
using namespace std;
typedef long long int lli;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int x;
cin >> x;
if (x >= 499 && x <= 599) {
cout << 8 << endl;
} else if (x >= 600 && x <= 799) {
cout << 7 << endl;
} else if (x >= 800 && ... | #include <bits/stdc++.h>
#include <string>
using namespace std;
typedef long long int lli;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int x;
cin >> x;
if (x >= 400 && x <= 599) {
cout << 8 << endl;
} else if (x >= 600 && x <= 799) {
cout << 7 << endl;
} else if (x >= 800 && ... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 182 |
a=int(input())
print(max(8-(a-400)/200,1)) | a=int(input())
print(max(8-(a-400)//200,1))
| [["-", 0, 652, 3, 4, 0, 657, 12, 657, 17, 85], ["+", 0, 652, 3, 4, 0, 657, 12, 657, 17, 676]] | 5 | 25 |
#include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define F0R(i, a) FOR(i, 0, a)
#define ROF(i, a, b) for (int i = (b)-1; i >= (a); --i)
#define R0F(i, a) ROF(i, 0, a)
using ll = long long;
using ld = long double;
ll INF = LLONG_MAX;
using vi = vector<int>;
using vll ... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define F0R(i, a) FOR(i, 0, a)
#define ROF(i, a, b) for (int i = (b)-1; i >= (a); --i)
#define R0F(i, a) ROF(i, 0, a)
using ll = long long;
using ld = long double;
ll INF = LLONG_MAX;
using vi = vector<int>;
using vll ... | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 31, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 31, 13]] | 1 | 577 |
X=int(input())
if X<599:
k=8
elif 600<=X<=799:
k=7
elif 800<=X<=999:
k=6
elif 1000<=X<=1199:
k=5
elif 1200<=X<=1399:
k=4
elif 1400<=X<=1599:
k=3
elif 1600<=X<=1799:
k=2
else:
k=1
print(k) | X=int(input())
if X<=599:
k=8
elif 600<=X<=799:
k=7
elif 800<=X<=999:
k=6
elif 1000<=X<=1199:
k=5
elif 1200<=X<=1399:
k=4
elif 1400<=X<=1599:
k=3
elif 1600<=X<=1799:
k=2
else:
k=1
print(k) | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 85 |
/***** author : C0d1ngPhenomena *****/
#include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define TestCases \
int T; \
cin >> T; ... | /***** author : C0d1ngPhenomena *****/
#include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define TestCases \
int T; \
cin >> T; ... | [["-", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 276 |
n = int(input())
if(n>=400 and n<600):print(8)
elif(n>=600 and n<800):print(7)
elif(n>=800 and n<1000):print(6)
elif(n>=1000 and n<1200):print(5)
elif(n>=1200 and n<1400):print(4)
elif(n>=1400 and n<1600):print(3)
elif(n>=1600 and n<1700):print(2)
elif(n>=1700 and n<2000):print(1) | n = int(input())
if(n>=400 and n<600):print(8)
elif(n>=600 and n<800):print(7)
elif(n>=800 and n<1000):print(6)
elif(n>=1000 and n<1200):print(5)
elif(n>=1200 and n<1400):print(4)
elif(n>=1400 and n<1600):print(3)
elif(n>=1600 and n<1800):print(2)
elif(n>=1800 and n<2000):print(1)
| [["-", 75, 665, 15, 23, 0, 679, 12, 666, 0, 612], ["+", 75, 665, 15, 23, 0, 679, 12, 666, 0, 612], ["-", 75, 665, 15, 23, 0, 679, 31, 666, 0, 612], ["+", 75, 665, 15, 23, 0, 679, 31, 666, 0, 612]] | 5 | 128 |
#include <iostream>
using namespace std;
int main() {
int X;
cin >> X;
if (X >= 400 && X <= 599)
cout << 8 << endl;
else if (X >= 600 && X <= 799)
cout << 7 << endl;
else if (X >= 800 && X <= 999)
cout << 6 << endl;
else if (X >= 1000 && X <= 1199)
cout << 5 << endl;
else if (X >= 1200 ... | #include <iostream>
using namespace std;
int main() {
int X;
cin >> X;
if (X >= 400 && X <= 599)
cout << 8 << endl;
else if (X >= 600 && X <= 799)
cout << 7 << endl;
else if (X >= 800 && X <= 999)
cout << 6 << endl;
else if (X >= 1000 && X <= 1199)
cout << 5 << endl;
else if (X >= 1200 ... | [["-", 0, 57, 64, 1, 0, 16, 31, 16, 12, 13], ["+", 0, 57, 64, 1, 0, 16, 31, 16, 12, 13], ["-", 75, 76, 0, 57, 75, 76, 0, 1, 0, 35], ["+", 75, 76, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 75, 76, 0, 57, 75, 76, 0, 9, 0, 46]] | 1 | 159 |
n=int(input())
print(abs(n-2200)//200) | n=int(input())
print(abs(n-2199)//200) | [["-", 0, 657, 31, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 657, 31, 652, 3, 4, 0, 657, 12, 612]] | 5 | 19 |
#include <bits/stdc++.h>
using namespace std;
/* typedef */
typedef long long ll;
typedef pair<int, int> pii;
/* constant */
const int INF = 1 << 30;
const ll LINF = 1LL << 50;
const int NIL = -1;
const int MAX = 10000;
const int mod = 1000000007;
const double pi = 3.141592653589;
/* global variables */
/* function */
... | #include <bits/stdc++.h>
using namespace std;
/* typedef */
typedef long long ll;
typedef pair<int, int> pii;
/* constant */
const int INF = 1 << 30;
const ll LINF = 1LL << 50;
const int NIL = -1;
const int MAX = 10000;
const int mod = 1000000007;
const double pi = 3.141592653589;
/* global variables */
/* function */
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 229 |
x = int(input())
print(8 - (1800 - 400) // 200) | x = int(input())
print(8 - (x - 400) // 200) | [["-", 0, 657, 12, 657, 31, 23, 0, 657, 31, 612], ["+", 0, 657, 12, 657, 31, 23, 0, 657, 31, 22]] | 5 | 20 |
# from math import factorial as fac
from collections import defaultdict
# from copy import deepcopy
import sys, math
f = None
try:
f = open('q1.input', 'r')
except IOError:
f = sys.stdin
if 'xrange' in dir(__builtins__):
range = xrange
# print(f.readline())
# sys.setrecursionlimit(10**6)
def print_case_iterable... |
# from math import factorial as fac
from collections import defaultdict
# from copy import deepcopy
import sys, math
f = None
try:
f = open('q1.input', 'r')
except IOError:
f = sys.stdin
if 'xrange' in dir(__builtins__):
range = xrange
# print(f.readline())
# sys.setrecursionlimit(10**6)
def print_case_iterable... | [["-", 8, 196, 0, 1, 0, 662, 12, 657, 31, 612], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 31, 612]] | 5 | 1,774 |
#include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define F first
#define S second
#define endl "\n"
#define IO \
ios::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define F first
#define S second
#define endl "\n"
#define IO \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6]] | 1 | 189 |
#include <algorithm>
#include <bitset>
#include <cstring>
#include <ctype.h>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector... | #include <algorithm>
#include <bitset>
#include <cstring>
#include <ctype.h>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector... | [["-", 8, 9, 0, 1, 0, 16, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 31, 13], ["-", 0, 1, 0, 16, 12, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 12, 16, 12, 16, 12, 13]] | 1 | 146 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 999) {
if (x >= 400 && x <= 599) {
cout << "8";
} else if (x >= 600 && x <= 799) {
cout << "7";
} else
cout << "6";
}
else if (x >= 1000 && x <= 1799) {
if (x >= 1000 && x <= 11... |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 999) {
if (x >= 400 && x <= 599) {
cout << "8";
} else if (x >= 600 && x <= 799) {
cout << "7";
} else
cout << "6";
}
else if (x >= 1000 && x <= 1799) {
if (x >= 1000 && x <= 11... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 170 |
#include <bits/stdc++.h>
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < n; i++)
#define rrep(i, n) for (int i = 1; i <= (n); ++i)
#define drep(i, n) for (int i = (n)-1; i >= 0; --i)
#define srep(i, s, t) for (int i = s; i < t; ++i)
#define rng(a) a.begin(), a.end()
#define rrng(a) a.rbegin(), ... | #include <bits/stdc++.h>
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < n; i++)
#define rrep(i, n) for (int i = 1; i <= (n); ++i)
#define drep(i, n) for (int i = (n)-1; i >= 0; --i)
#define srep(i, s, t) for (int i = s; i < t; ++i)
#define rng(a) a.begin(), a.end()
#define rrng(a) a.rbegin(), ... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 151], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 521 |
x = int(input())
ans = 8
if x<600: ans=8
if x<800: ans=7
elif x<1000: ans=6
elif x<1200: ans=5
elif x<1400: ans=4
elif x<1600: ans=3
elif x<1800: ans=2
elif x<2000: ans=1
print(ans)
| x = int(input())
ans = 8
if x < 600: ans=8
elif x < 800: ans=7
elif x < 1000: ans=6
elif x < 1200: ans=5
elif x < 1400: ans=4
elif x < 1600: ans=3
elif x < 1800: ans=2
else: ans=1
print(ans)
| [["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 121], ["+", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683], ["-", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 22], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 75, 76... | 5 | 79 |
x = int(input())
ans = 8
if x<600: ans=8
if x<800: ans=7
elif x<1000: ans=6
elif x<1200: ans=5
elif x<1400: ans=4
elif x<1600: ans=3
elif x<1800: ans=2
elif x<2000: ans=1
print(ans)
| x = int(input())
ans = 8
if x<600: ans=8
elif x<800: ans=7
elif x<1000: ans=6
elif x<1200: ans=5
elif x<1400: ans=4
elif x<1600: ans=3
elif x<1800: ans=2
else: ans=1
# elif x<2000: ans=1
print(ans)
| [["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 121], ["+", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683], ["-", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 22], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 75, 76... | 5 | 79 |
x = int(readline())
y = x // 200
print(10 - y) | x = int(input())
y = x // 200
print(10 - y) | [["-", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22]] | 5 | 19 |
#include <iostream>
using namespace std;
int main() {
int X;
cout << 8 - (X - 400) / 200 << endl;
} | #include <iostream>
using namespace std;
int main() {
int X;
cin >> X;
cout << 8 - (X - 400) / 200 << endl;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 29 |
/**Bismillahir Rahmanir Rahim.**/
/*gcd=--gcd(a,b);*/
/*double p =log(a);
p=p-floor(p);
int x=pow(10,p); m s di
int x =floor(log10(a)) + 1; d co
a=ceil(log2(n)) == floor(log2(n)); pow of 2*/
#include <bits/stdc++.h>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
#define nl e... | /**Bismillahir Rahmanir Rahim.**/
/*gcd=--gcd(a,b);*/
/*double p =log(a);
p=p-floor(p);
int x=pow(10,p); m s di
int x =floor(log10(a)) + 1; d co
a=ceil(log2(n)) == floor(log2(n)); pow of 2*/
#include <bits/stdc++.h>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
#define nl e... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 186 |
import math # noqa: F401
from collections import deque # noqa: F401
from typing import Deque, Dict, List, Optional, Tuple, Union # noqa: F401
def main(X: int):
print(f"{10-(X+1)//200}")
if __name__ == "__main__":
X = int(input())
main(X)
| import math # noqa: F401
from collections import deque # noqa: F401
from typing import Deque, Dict, List, Optional, Tuple, Union # noqa: F401
def main(X: int):
print(f"{10-X//200}")
if __name__ == "__main__":
X = int(input())
main(X)
| [["-", 0, 284, 205, 657, 12, 657, 31, 23, 0, 24], ["-", 205, 657, 12, 657, 31, 23, 0, 657, 17, 72], ["-", 205, 657, 12, 657, 31, 23, 0, 657, 12, 612], ["-", 0, 284, 205, 657, 12, 657, 31, 23, 0, 25]] | 5 | 66 |
#include <bits/stdc++.h>
#define rep(i, n) for (long long i = 0; i < (long long)(n); ++i)
#define all(a) a.begin(), a.end()
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> P;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
... | #include <bits/stdc++.h>
#define rep(i, n) for (long long i = 0; i < (long long)(n); ++i)
#define all(a) a.begin(), a.end()
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> P;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 132], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 90]] | 1 | 232 |
x = int(input())
n=8
for i in range(600, 2000, 200):
if x < i:
print(n)
exit()
else:
n-=1 | x = int(input())
n=8
for i in range(600, 2001, 200):
if x < i:
print(n)
exit()
else:
n-=1 | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612]] | 5 | 40 |
x = int(input())
lank8 = list(range(400, 600))
lank7 = list(range(400, 800))
lank6 = list(range(400, 1000))
lank5 = list(range(400, 1200))
lank4 = list(range(400, 1400))
lank3 = list(range(400, 1600))
lank2 = list(range(400, 1800))
lank1 = list(range(400, 200))
if x in lank8:
print(8)
elif x in lank7:
print(7)
... | x = int(input())
lank8 = list(range(400, 600))
lank7 = list(range(400, 800))
lank6 = list(range(400, 1000))
lank5 = list(range(400, 1200))
lank4 = list(range(400, 1400))
lank3 = list(range(400, 1600))
lank2 = list(range(400, 1800))
lank1 = list(range(400, 2000))
if x in lank8:
print(8)
elif x in lank7:
print(7)... | [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612]] | 5 | 168 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
cout << 10 - a / 20 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
cout << 10 - a / 200 << endl;
return 0;
}
| [["-", 0, 16, 31, 16, 12, 16, 12, 16, 12, 13], ["+", 0, 16, 31, 16, 12, 16, 12, 16, 12, 13]] | 1 | 32 |
print(10-int(input())/200) | print(10-int(input())//200) | [["-", 0, 652, 3, 4, 0, 657, 12, 657, 17, 85], ["+", 0, 652, 3, 4, 0, 657, 12, 657, 17, 676]] | 5 | 13 |
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); ... | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 765 |
#include <bits/stdc++.h>
#define ll long long
#define endl "\n"
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int x;
cin >> x;
int c = 8;
int s = 400;
int e = 599;
if (x >= s && x <= e)
cout << c << endl;
if (x >= (s + 200) && x <= (e + 200))
co... | #include <bits/stdc++.h>
#define ll long long
#define endl "\n"
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int x;
cin >> x;
int c = 8;
int s = 400;
int e = 599;
if (x >= s && x <= e)
cout << c << endl;
if (x >= (s + 200) && x <= (e + 200))
co... | [["+", 15, 339, 51, 16, 12, 16, 12, 23, 0, 24], ["+", 15, 339, 51, 16, 12, 16, 12, 23, 0, 25], ["-", 64, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 64, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 235 |
#include <algorithm>
#include <cctype>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <string.h>
#include <vector>
using namespace std;
int main() {
int x;
cin >> x;
for (int i = 9; i > 1; i--) {
if (x = 200 * i) {
cout << 10 - i << endl;
break;
}
}
ret... | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <string.h>
#include <vector>
using namespace std;
int main() {
int x;
cin >> x;
for (int i = 9; i > 1; i--) {
if (x >= 200 * i) {
cout << 10 - i << endl;
break;
}
}
re... | [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 72 |
#include <bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// #define ordered_set tree<int, null_type,less<int>,
// rb_tree_tag,tree_order_statistics_node_update>
#define FS ... | #include <bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// #define ordered_set tree<int, null_type,less<int>,
// rb_tree_tag,tree_order_statistics_node_update>
#define FS ... | [["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 599 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x < 600)
cout << 8 << endl;
else if (x < 800)
cout << 7 << endl;
else if (x < 1000)
cout << 6 << endl;
else if (x < 1200)
cout << 5 << endl;
else if (x < 1400)
cout << 4 << endl;
else if (x < 1600)
c... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x < 600)
cout << 8 << endl;
else if (x < 800)
cout << 7 << endl;
else if (x < 1000)
cout << 6 << endl;
else if (x < 1200)
cout << 5 << endl;
else if (x < 1400)
cout << 4 << endl;
else if (x < 1600)
c... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 119 |
X = int(input())
lst = [ [400, 599, 8], [600, 799, 7], [800, 999, 6], [1000, 1199, 5], [1200, 1399, 4], [1400, 1599, 3], [1600, 1799, 2], [1800, 1999, 1] ]
def Kyu(X):
for i in lst:
if i[0] <= X <= i[1]:
result = i[2]
break
print(result) | X = int(input())
lst = [ [400, 599, 8], [600, 799, 7], [800, 999, 6], [1000, 1199, 5], [1200, 1399, 4], [1400, 1599, 3], [1600, 1799, 2], [1800, 1999, 1] ]
def Kyu(X):
for i in lst:
if i[0] <= X <= i[1]:
result = i[2]
break
print(result)
Kyu(X) | [["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 110 |
x=float(input("m?"))
for i in range(8):
if 400+200*i<=x<400+200*(i+1):
print(8-i) | x=float(input())
for i in range(8):
if 400+200*i<=x<400+200*(i+1):
print(8-i) | [["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 44 |
// "static void main" must be defined in a public class.
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner S = new Scanner(System.in);
Main obj = new Main();
int t = S.nextInt();
if (400 <= t && t <= 599) {
System.out.println("8");
return;
}
i... | // "static void main" must be defined in a public class.
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner S = new Scanner(System.in);
Main obj = new Main();
int t = S.nextInt();
if (400 <= t && t <= 599) {
System.out.println("8");
return;
}
i... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 253 |
x = int(input())
if 400 <= x <= 599: ans = 8
elif 600 <= x <= 799: ans = 7
elif 800 <= x <- 999: ans = 6
elif 1000 <= x <= 1199: ans = 5
elif 1200 <= x <= 1399: ans = 4
elif 1400 <= x <= 1599: ans = 3
elif 1600 <= x <= 1799: ans = 2
elif 1800 <= x <= 1999: ans = 1
print(ans) | x = int(input())
if 400 <= x <= 599: ans = 8
elif 600 <= x <= 799: ans = 7
elif 800 <= x <= 999: ans = 6
elif 1000 <= x <= 1199: ans = 5
elif 1200 <= x <= 1399: ans = 4
elif 1400 <= x <= 1599: ans = 3
elif 1600 <= x <= 1799: ans = 2
elif 1800 <= x <= 1999: ans = 1
print(ans) | [["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["-", 0, 57, 75, 665, 15, 666, 0, 664, 17, 33], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 19]] | 5 | 93 |
n = int(input())
rate = 600
rank = 8
while true:
if n < rate:
print(rank)
break
rate += 200
rank -= 1 | n = int(input())
rate = 600
rank = 8
while True:
if n < rate:
print(rank)
break
rate += 200
rank -= 1
| [["-", 36, 36, 36, 36, 0, 656, 0, 52, 15, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 52, 15, 146]] | 5 | 33 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
// your code goes here
ll t, i, j, n, m, k = 0;
cin >> n;
if (n >= 400 && n >= 599)
cout << 8;
else if (n >= 600 && n <= 799)
cout << 7;
else if (n >= 800 && n <= 999)
cout << 6;
else if (n >= 1000 && n <= 1199)
... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
// your code goes here
ll t, i, j, n, m, k = 0;
cin >> n;
if (n >= 400 && n <= 599)
cout << 8;
else if (n >= 600 && n <= 799)
cout << 7;
else if (n >= 800 && n <= 999)
cout << 6;
else if (n >= 1000 && n <= 1199)
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 157 |
#include <stdio.h>
int n, m, i, j, k;
int main() {
scanf("%d", &n);
if (n >= 400 && n < 599)
printf("8");
else if (n >= 600 && n <= 799)
printf("7");
else if (n >= 800 && n <= 999)
printf("6");
else if (n >= 1000 && n <= 1199)
printf("5");
else if (n >= 1200 && n <= 1399)
printf("4");
... | #include <stdio.h>
int n, m, i, j, k;
int main() {
scanf("%d", &n);
if (n >= 400 && n <= 599)
printf("8");
else if (n >= 600 && n <= 799)
printf("7");
else if (n >= 800 && n <= 999)
printf("6");
else if (n >= 1000 && n <= 1199)
printf("5");
else if (n >= 1200 && n <= 1399)
printf("4");
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 175 |
#include <iostream>
using namespace std;
int main() {
int a, b;
std::cin >> a;
if (400 <= a && a < 600) {
b = 8;
} else if (600 <= a && a < 800) {
b = 7;
} else if (900 <= a && a < 1000) {
b = 6;
} else if (1000 <= a && a < 1200) {
b = 5;
} else if (1200 <= a && a < 1400) {
b = 4;
}... | #include <iostream>
using namespace std;
int main() {
int a, b;
std::cin >> a;
if (400 <= a && a < 600) {
b = 8;
} else if (600 <= a && a < 800) {
b = 7;
} else if (800 <= a && a < 1000) {
b = 6;
} else if (1000 <= a && a < 1200) {
b = 5;
} else if (1200 <= a && a < 1400) {
b = 4;
}... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 169 |
x = int(input())
def score(x):
if 400 <= x <= 599:
print("8")
elif 600 <= x <= 799:
print("7")
elif 800 <= x <= 999:
print("6")
elif 1000 <= x <= 1199:
print("5")
elif 1200 <= x <= 1399:
print("4")
elif 1400 <= x <= 1599:
print("3")
elif 1600 <= x <= 1799:
... | x = int(input())
def score(x):
if 400 <= x <= 599:
print("8")
elif 600 <= x <= 799:
print("7")
elif 800 <= x <= 999:
print("6")
elif 1000 <= x <= 1199:
print("5")
elif 1200 <= x <= 1399:
print("4")
elif 1400 <= x <= 1599:
print("3")
elif 1600 <= x <= 1799:
... | [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 125 |
/*
* A.cpp
*
* Created on: 2020/07/25
* Author: 17k1028
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#define FORD(i, a, b) for ... | /*
* A.cpp
*
* Created on: 2020/07/25
* Author: 17k1028
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#define FORD(i, a, b) for ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 221 |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int result = 0;
if (x >= 400 && x <= 599)
result = 8;
else if (x >= 600 && x <= 799)
result = 7;
else if (x >= 800 && x <= 999)
result = 6;
... | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int result = 0;
if (x >= 400 && x <= 599)
result = 8;
else if (x >= 600 && x <= 799)
result = 7;
else if (x >= 800 && x <= 999)
result = 6;
... | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 176 |
import sys
input = sys.stdin.readline
n=int(input())
count = 0
L=list(range(400,2000,200))
val=len(L)
count=0
for i in range(val-1):
if L[i]<=n<L[i+1]:
ans=8-count
break
else:
count+=1
print(ans)
| import sys
input = sys.stdin.readline
n=int(input())
count = 0
L=list(range(400,2001,200))
val=len(L)
ans = 0
for i in range(val-1):
if L[i]<=n<L[i+1]:
ans=8-count
break
else:
count+=1
print(ans)
| [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]] | 5 | 82 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef double db;
typedef string str;
#define endl "\n"
const int MOD = 1000000007;
int main() {
int a;
cin >> a;
if (a >= 400 && a <= 599) {
cout << "8" << endl;
} else if (a >... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef double db;
typedef string str;
#define endl "\n"
const int MOD = 1000000007;
int main() {
int a;
cin >> a;
if (a >= 400 && a <= 599) {
cout << "8" << endl;
} else if (a >... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 222 |
#include <bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define int ll
#define pb push_back
#define setbits(x) __builtin_popcountll(x)
#define endl "\n"
typedef long long ll;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int x;
cin >> x;
x += 1;
x /= 100;
x =... |
#include <bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define int ll
#define pb push_back
#define setbits(x) __builtin_popcountll(x)
#define endl "\n"
typedef long long ll;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int x;
cin >> x;
x /= 100;
x = 10 - x /... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 107], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22]] | 1 | 94 |
#include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin >> n;
if (n >= 400 && n <= 599) {
cout << 8 << "\n";
}
if (n >= 600 && n <= 799) {
cout << 7 << "\n";
}
if (n >= 800 && n <= 999) {
cout << 6 <<... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin >> n;
if (n >= 400 && n <= 599) {
cout << 8 << "\n";
}
if (n >= 600 && n <= 799) {
cout << 7 << "\n";
}
if (n >= 800 && n <= 999) {
cout << 6 <<... | [["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 202 |
X = int(input())
if X <= 400 and X <= 599:
print('8')
elif 600 <= X and X <= 799:
print('7')
elif 800 <= X and X <= 999:
print('6')
elif 1000 <= X and X <= 1199:
print('5')
elif 1200 <= X and X <= 1399:
print('4')
elif 1400 <= X and X <= 1599:
print('3')
elif 1600 <= X and X <= 1799:
print(... | X = int(input())
if 400 <= X and X <= 599:
print('8')
elif 600 <= X and X <= 799:
print('7')
elif 800 <= X and X <= 999:
print('6')
elif 1000 <= X and X <= 1199:
print('5')
elif 1200 <= X and X <= 1399:
print('4')
elif 1400 <= X and X <= 1599:
print('3')
elif 1600 <= X and X <= 1799:
print(... | [["-", 0, 656, 0, 57, 15, 679, 31, 666, 0, 22], ["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 22]] | 5 | 131 |
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x < 600)
cout << '8';
else if (x >= 600 && x < 800)
cout << '7';
else if (x >= 800 && x < 1000)
cout << '6';
else if (x >= 1000 && x < 1200)
cout << '5';
else if (x >= 1200 && x < 1400)
cout << '4';
... | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x < 600)
cout << '8';
else if (x >= 600 && x < 800)
cout << '7';
else if (x >= 800 && x < 1000)
cout << '6';
else if (x >= 1000 && x < 1200)
cout << '5';
else if (x >= 1200 && x < 1400)
cout << '4';
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 157 |
x=int(input())
for i in range(7):
if 400+200*i <= x and x <= 599+200*i:
print(8-i) | x=int(input())
for i in range(9):
if 400+200*i <= x and x <= 599+200*i:
print(8-i)
else:
pass | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 7, 8, 196, 0, 57, 75, 76, 0, 95], ["+", 0, 7, 8, 196, 0, 57, 75, 76, 0, 102], ["+", 0, 57, 75, 76, 8, 196, 0, 674, 0, 675]] | 5 | 39 |
kyu = [400,600,800,1000,1200,1400,1600,1800]
x = int(input())
for i, v in enumerate(kyu):
if x < v:
print(9-i)
break
| kyu = [400,600,800,1000,1200,1400,1600,1800,2000]
x = int(input())
for i, v in enumerate(kyu):
if x < v:
print(9-i)
break | [["+", 0, 656, 0, 1, 0, 662, 12, 634, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 12, 634, 0, 612]] | 5 | 49 |
x = int(input())
if x >= 1800:
print(1)
elif x >= 1600:
print(2)
elif x >= 1600:
print(2)
elif x >= 1400:
print(3)
elif x >= 1200:
print(4)
elif x >= 1000:
print(5)
elif x >= 800:
print(6)
elif x >= 600:
print(7)
elif x >= 800:
print(8)
| x = int(input())
if x >= 1800:
print(1)
elif x >= 1600:
print(2)
elif x >= 1600:
print(2)
elif x >= 1400:
print(3)
elif x >= 1200:
print(4)
elif x >= 1000:
print(5)
elif x >= 800:
print(6)
elif x >= 600:
print(7)
elif x >= 400:
print(8)
| [["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612]] | 5 | 89 |
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599)
cout << "8\n";
else if (x <= 799)
cout << "7\n";
else if (x <= 999)
cout << "6\n";
else if (x <= 1199)
cout << "5\n";
else if (x <= 1399)
cout << "4\n";
else if (x <= 1599)
cout << "... | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599)
cout << "8\n";
else if (x <= 799)
cout << "7\n";
else if (x <= 999)
cout << "6\n";
else if (x <= 1199)
cout << "5\n";
else if (x <= 1399)
cout << "4\n";
else if (x <= 1599)
cout << "... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 134 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <regex>
#include <set>
#include <stack>
#include <string>
... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <regex>
#include <set>
#include <stack>
#include <string>
... | [["-", 8, 9, 0, 52, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 52, 15, 339, 51, 16, 17, 19]] | 1 | 1,698 |
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
cout << (2200 - x) / 200 << endl;
}
| #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
cout << (2200 - x - 1) / 200 << endl;
}
| [["+", 31, 16, 12, 16, 31, 23, 0, 16, 17, 33], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 12, 13]] | 1 | 31 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main(void) {
// Your code here!
int n;
cin >> n;
if (n >= 400 && n <= 599)
cout << '8';
else if (n >= 600 && n <= 799)
cout << '7';
else if (n >= 800 && n <= 999)
cout << '6';
else if (n >= 1000 && ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main(void) {
// Your code here!
int n;
cin >> n;
if (n >= 400 && n <= 599)
cout << '8';
else if (n >= 600 && n <= 799)
cout << '7';
else if (n >= 800 && n <= 999)
cout << '6';
else if (n >= 1000 && ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 165 |
#include <bits/stdc++.h>
using namespace std;
#define sz(a) int((a).size())
#define all(c) c.begin(), c.end()
#define ll long long
#define pb push_back
#define zoom \
ios_base::sync_with_stdio(false); \
cin... | #include <bits/stdc++.h>
using namespace std;
#define sz(a) int((a).size())
#define all(c) c.begin(), c.end()
#define ll long long
#define pb push_back
#define zoom \
ios_base::sync_with_stdio(false); \
cin... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 430 |
// Code by Mukul Totla
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll n, i;
cin >> n;
if (n >= 400 && n <= 599)
cout << 8;
if (n >= 600 && n <= 799)
cout << 7;
if (n >= 800 && n <= 999)
cout << 6;
if (n >... | // Code by Mukul Totla
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll n, i;
cin >> n;
if (n >= 400 && n <= 599)
cout << 8;
if (n >= 600 && n <= 799)
cout << 7;
if (n >= 800 && n <= 999)
cout << 6;
if (n >=... | [["-", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 154 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
/*
ll n , m ;
cin >> n >> m ;
ll a , b , c ;
cin >> a >> b >> c ;
vector<ll> A(n) ;
cout << "Yes" << endl ;
cout << "No" << endl ;
*/
int main() {
ll n;
cin >> n;
if (n >= 400 && n <=... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
/*
ll n , m ;
cin >> n >> m ;
ll a , b , c ;
cin >> a >> b >> c ;
vector<ll> A(n) ;
cout << "Yes" << endl ;
cout << "No" << endl ;
*/
int main() {
ll n;
cin >> n;
if (n >= 400 && n <=... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 161 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, null_type, less<int>, rb_tree_tag, \
tree_order_statistic... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, null_type, less<int>, rb_tree_tag, \
tree_order_statistic... | [["-", 8, 9, 0, 57, 64, 1, 0, 11, 12, 13], ["+", 8, 9, 0, 57, 64, 1, 0, 11, 12, 13]] | 1 | 1,330 |
a = int(input())
if 400<= a and 500>=a:
print("8")
elif 600<=a and 799>=a:
print("7")
elif 800<=a and 999>=a:
print("6")
elif 1000<=a and 1199>=a:
print("5")
elif 1200<=a and 1399>=a:
print("4")
elif 1400<=a and 1599>=a:
print("3")
elif 1600<=a and 1799>=a:
print(2)
elif 1800<=a and 1999>=... | a = int(input())
if 400<= a and 599>=a:
print("8")
elif 600<=a and 799>=a:
print("7")
elif 800<=a and 999>=a:
print("6")
elif 1000<=a and 1199>=a:
print("5")
elif 1200<=a and 1399>=a:
print("4")
elif 1400<=a and 1599>=a:
print("3")
elif 1600<=a and 1799>=a:
print(2)
elif 1800<=a and 1999>=... | [["-", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612]] | 5 | 124 |
#include <bits/stdc++.h>
using namespace std;
// (setq-default c-basic-offset 2)
int main() {
int n;
cin >> n;
if (n <= 599) {
cout << "8" << endl;
} else if (n < 799) {
cout << "7" << endl;
} else if (n < 999) {
cout << "6" << endl;
} else if (n < 1199) {
cout << "5" << endl;
} else if ... | #include <bits/stdc++.h>
using namespace std;
// (setq-default c-basic-offset 2)
int main() {
int n;
cin >> n;
if (n <= 599) {
cout << "8" << endl;
} else if (n <= 799) {
cout << "7" << endl;
} else if (n <= 999) {
cout << "6" << endl;
} else if (n <= 1199) {
cout << "5" << endl;
} else ... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 152 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
ll inf = 1000000007;
int main() {
int x;
cin >> x;
if (x >= 400... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
ll inf = 1000000007;
int main() {
int x;
cin >> x;
if (x >= 400... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 226 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
using pll = pair<long long, long long>;
constexpr int INF = 1e9;
constexpr long long LINF = 1e17;
constexpr int MOD = 1000000007;
constexpr double PI = 3.1415926535897932384... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
using pll = pair<long long, long long>;
constexpr int INF = 1e9;
constexpr long long LINF = 1e17;
constexpr int MOD = 1000000007;
constexpr double PI = 3.1415926535897932384... | [["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]] | 1 | 155 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(a) (a).begin(), (a).end()
using namespace std;
using ll = long long int;
using vec = vector<int>;
using P = pair<int, int>;
const int INF = 1e9 + 7;
int main() {
int n;
cin >> n;
int k = 0;
if (n < 600) {
k = 8;
} else... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(a) (a).begin(), (a).end()
using namespace std;
using ll = long long int;
using vec = vector<int>;
using P = pair<int, int>;
const int INF = 1e9 + 7;
int main() {
int n;
cin >> n;
int k = 0;
if (n < 600) {
k = 8;
} else... | [["-", 0, 57, 64, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 13]] | 1 | 180 |
#include <bits/stdc++.h>
#define pb push_back
#define all(a) a.begin(), a.end()
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define forr(i, n) for (int i = int(n - 1); i >= 0; i--)
#define fora(i, a, b) for (int i = int(a); i <= int(b); i++)
#define forb(i, a, b) for (int i = int(a); i >= int(b); i--)
using nam... | #include <bits/stdc++.h>
#define pb push_back
#define all(a) a.begin(), a.end()
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define forr(i, n) for (int i = int(n - 1); i >= 0; i--)
#define fora(i, a, b) for (int i = int(a); i <= int(b); i++)
#define forb(i, a, b) for (int i = int(a); i >= int(b); i--)
using nam... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 285 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n < 500)
cout << 8 << endl;
else if (n < 800)
cout << 7 << endl;
else if (n < 1000)
cout << 6 << endl;
else if (n < 1200)
cout << 5 << endl;
else if (n < 1400)
cout << 4 << endl;
else if (n < 1600)
c... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n < 600)
cout << 8 << endl;
else if (n < 800)
cout << 7 << endl;
else if (n < 1000)
cout << 6 << endl;
else if (n < 1200)
cout << 5 << endl;
else if (n < 1400)
cout << 4 << endl;
else if (n < 1600)
c... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 122 |
#include <stdio.h>
int main(void) {
int x;
scanf("%d", &x);
if (400 <= x && x <= 599) {
printf("8");
}
if (600 <= x && x <= 799) {
printf("7");
}
if (800 <= x && x <= 999) {
printf("6");
}
if (1000 <= x && x <= 1119) {
printf("5");
}
if (1200 <= x && x <= 1399) {
printf("4"... | #include <stdio.h>
int main(void) {
int x;
scanf("%d", &x);
if (400 <= x && x <= 599) {
printf("8");
}
if (600 <= x && x <= 799) {
printf("7");
}
if (800 <= x && x <= 999) {
printf("6");
}
if (1000 <= x && x <= 1199) {
printf("5");
}
if (1200 <= x && x <= 1399) {
printf("4"... | [["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13]] | 0 | 177 |
#include <bits/stdc++.h>
#define pb push_back
using namespace std;
vector<vector<int>> graph;
long long dp[100001];
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599)
cout << 8 << endl;
if (600 <= x && x <= 699)
cout << 7 << endl;
if (800 <= x && x <= 999)
cout << 6 << endl;
if (1000 <= x... | #include <bits/stdc++.h>
#define pb push_back
using namespace std;
vector<vector<int>> graph;
long long dp[100001];
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599)
cout << 8 << endl;
if (600 <= x && x <= 799)
cout << 7 << endl;
if (800 <= x && x <= 999)
cout << 6 << endl;
if (1000 <= x... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 169 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define f(i, x, n) for (int i = x; i < n; i++)
#define all(c) c.begin(), c.end()
const int MOD = 1e9 + 7, N = 5e5 + 10;
const int LINF = LLONG_MAX;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a;
cin >> a;
if (a / 10... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define f(i, x, n) for (int i = x; i < n; i++)
#define all(c) c.begin(), c.end()
const int MOD = 1e9 + 7, N = 5e5 + 10;
const int LINF = LLONG_MAX;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a;
cin >> a;
if (a / 10... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 235 |
<?php
$num = trim(fgets(STDIN));
$answer = $num / -200 + 10;
echo $answer;
?>
| <?php
$num = trim(fgets(STDIN));
$answer = ceil($num / -200) + 10;
echo $answer;
?> | [["+", 0, 1, 0, 11, 12, 16, 31, 613, 63, 141], ["+", 0, 11, 12, 16, 31, 613, 3, 3, 0, 24], ["+", 0, 11, 12, 16, 31, 613, 3, 3, 0, 25]] | 6 | 28 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
if (400 <= X << 600) {
cout << 8;
} else if (X <= 799) {
cout << 7;
} else if (X <= 999) {
cout << 6;
} else if (X <= 1199) {
cout << 5;
} else if (X <= 1399) {
cout << 4;
} else if (X <= 1599) {
cout <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
if (X < 600) {
cout << 8;
} else if (X <= 799) {
cout << 7;
} else if (X <= 999) {
cout << 6;
} else if (X <= 1199) {
cout << 5;
} else if (X <= 1399) {
cout << 4;
} else if (X <= 1599) {
cout << 3;
} ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 151], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 124 |
N=int(imput())
if N<600:
print(8)
elif N<800:
print(7)
elif N<1000:
print(6)
elif N<1200:
print(5)
elif N<1400:
print(4)
elif N<1600:
print(3)
elif N<1800:
print(2)
else:
print(1) | N=int(input())
if N<600:
print(8)
elif N<800:
print(7)
elif N<1000:
print(6)
elif N<1200:
print(5)
elif N<1400:
print(4)
elif N<1600:
print(3)
elif N<1800:
print(2)
else:
print(1)
| [["-", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22]] | 5 | 77 |
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int x;
cin >> x;
if (x < 600)
cout << 8;
else if (x < 800)
cout << 7;
else if (x < 1000)
cout << 6;
else if (x < 1200)
cout << 5;
else if (x < 1400)
cout << 4;
else if (x < 1600)
cout << 3;
if ... | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int x;
cin >> x;
if (x < 600)
cout << 8;
else if (x < 800)
cout << 7;
else if (x < 1000)
cout << 6;
else if (x < 1200)
cout << 5;
else if (x < 1400)
cout << 4;
else if (x < 1600)
cout << 3;
els... | [["+", 0, 57, 75, 76, 0, 57, 75, 76, 0, 95]] | 1 | 103 |
var GET = (function() {
function f(s) { return new g(s); }
function g(s) { this._s = s.trim().split("\n"); }
g.prototype.getValue = function(n) { return this._s[n]; };
g.prototype.getArray = function(n) { return this.stoa(this._s[n]); };
g.prototype.slice = function(s, limit) {
return this._s.slice(s, +li... | var GET = (function() {
function f(s) { return new g(s); }
function g(s) { this._s = s.trim().split("\n"); }
g.prototype.getValue = function(n) { return this._s[n]; };
g.prototype.getArray = function(n) { return this.stoa(this._s[n]); };
g.prototype.slice = function(s, limit) {
return this._s.slice(s, +li... | [["-", 8, 556, 0, 52, 15, 23, 0, 16, 17, 47], ["+", 8, 556, 0, 52, 15, 23, 0, 16, 17, 20]] | 2 | 342 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 1800 && x <= 1999) {
cout << 1 << "\n";
} else if (x >= 1600 && x <= 1799) {
cout << 2 << "\n";
} else if (x >= 1400 && x <= 1599) {
cout << 3 << "\n";
} else if (x >= 1200 && x <= 1399) {
cout << 4 << "\n";... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 1800 && x <= 1999) {
cout << 1 << "\n";
} else if (x >= 1600 && x <= 1799) {
cout << 2 << "\n";
} else if (x >= 1400 && x <= 1599) {
cout << 3 << "\n";
} else if (x >= 1200 && x <= 1399) {
cout << 4 << "\n";... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 186 |
#include <bits/stdc++.h>
int main() {
int a;
std::cin >> a;
std::cout << 10 - a / 200 << "¥n";
} | #include <bits/stdc++.h>
int main() {
int a;
std::cin >> a;
std::cout << 10 - a / 200 << "\n";
}
| [["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44]] | 1 | 31 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int rate;
int rank = 0;
int[] boarder = {600, 800, 1000, 1200, 1400, 1600, 1800};
rate = sc.nextInt();
for (int q = 0; q < 8; q++) {
if (rate < boarder[q]) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int rate;
int rank = 1;
int[] boarder = {600, 800, 1000, 1200, 1400, 1600, 1800};
rate = sc.nextInt();
for (int q = 0; q < 7; q++) {
if (rate < boarder[q]) {
... | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 499], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 499], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 499], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 499]] | 3 | 125 |
#include "bits/stdc++.h"
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define pi (3.141592653589)
#define mod 1e9 + 7
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define ff first
#define ss second
#define all(c) c.begin(), c.end()
#define mint(a, b, c) min(c, min(a... | #include "bits/stdc++.h"
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define pi (3.141592653589)
#define mod 1e9 + 7
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define ff first
#define ss second
#define all(c) c.begin(), c.end()
#define mint(a, b, c) min(c, min(a... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13]] | 1 | 251 |
#include <bits/stdc++.h>
using namespace std;
int beging[] = {400, 600, 800, 1000, 1200, 1400, 1600, 1800};
int endd[] = {599, 799, 999, 1199, 1399, 1599, 1799, 1999};
int kyu[] = {8, 7, 6, 5, 4, 3, 2, 1};
int main() {
int x;
cin >> x;
for (int i = 1; i <= 8; i++) {
if (x >= beging[i] && x <= endd[i]) {
... | #include <bits/stdc++.h>
using namespace std;
int beging[] = {400, 600, 800, 1000, 1200, 1400, 1600, 1800};
int endd[] = {599, 799, 999, 1199, 1399, 1599, 1799, 1999};
int kyu[] = {8, 7, 6, 5, 4, 3, 2, 1};
int main() {
int x;
cin >> x;
for (int i = 0; i <= 7; i++) {
if (x >= beging[i] && x <= endd[i]) {
... | [["-", 8, 9, 0, 7, 10, 43, 49, 50, 51, 13], ["+", 8, 9, 0, 7, 10, 43, 49, 50, 51, 13], ["-", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13]] | 1 | 131 |
x=int(input())
if x>=400 and x<=599:
print(8)
elif x>=600 and x<=799:
print(7)
elif x>=800 and x<=999:
print(6)
elif x>=1100 and x<=1199:
print(5)
elif x>=1200 and x<=1399:
print(4)
elif x>=1400 and x<=1599:
print(3)
elif x>=1600 and x<=1799:
print(2)
else:
print(1)
| x=int(input())
if x>=400 and x<=599:
print(8)
elif x>=600 and x<=799:
print(7)
elif x>=800 and x<=999:
print(6)
elif x>=1000 and x<=1199:
print(5)
elif x>=1200 and x<=1399:
print(4)
elif x>=1400 and x<=1599:
print(3)
elif x>=1600 and x<=1799:
print(2)
else:
print(1)
| [["-", 0, 57, 75, 665, 15, 679, 31, 666, 0, 612], ["+", 0, 57, 75, 665, 15, 679, 31, 666, 0, 612]] | 5 | 105 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define ll long long
#define pal pair<ll, ll>
#define pad pair... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define ll long long
#define pal pair<ll, ll>
#define pad pair... | [["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 372 |
#include <bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d", &n);
#define scl(n) scanf("%lld", &n);
#define scd(n) scanf("%lf", &n);
#define pf(res) printf("%d\n", res);
#define pfl(res) printf("%lld\n", res);
#define pfd(res) printf("%lf\n", res);
#define maxii 100005
using na... |
#include <bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d", &n);
#define scl(n) scanf("%lld", &n);
#define scd(n) scanf("%lf", &n);
#define pf(res) printf("%d\n", res);
#define pfl(res) printf("%lld\n", res);
#define pfd(res) printf("%lf\n", res);
#define maxii 100005
using na... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20]] | 1 | 521 |
#include <iostream>
using namespace std;
int main() {
int X, ans;
std::cin >> X;
if (X < 600) {
ans = 8;
} else if (X < 800) {
ans = 7;
} else if (X < 1000) {
ans = 6;
} else if (X < 1200) {
ans = 5;
} else if (X < 1400) {
ans = 4;
} else if (X < 1600) {
ans = 3;
} else if (X... | #include <iostream>
using namespace std;
int main() {
int X, ans;
std::cin >> X;
if (X < 600) {
ans = 8;
} else if (X < 800) {
ans = 7;
} else if (X < 1000) {
ans = 6;
} else if (X < 1200) {
ans = 5;
} else if (X < 1400) {
ans = 4;
} else if (X < 1600) {
ans = 3;
} else if (X... | [["-", 0, 57, 64, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 13]] | 1 | 132 |
x = int(input())
ans = 8 - (X - 400) // 200
print(ans)
| x = int(input())
ans = 8 - (x - 400) // 200
print(ans)
| [["-", 12, 657, 12, 657, 31, 23, 0, 657, 31, 22], ["+", 12, 657, 12, 657, 31, 23, 0, 657, 31, 22]] | 5 | 23 |
package main
import (
"bufio"
"fmt"
"math"
"os"
"strconv"
"strings"
)
const (
BUFSIZE = 10000000
MOD = 1000000007
INF_INT = math.MaxInt32
INF_INT64 = math.MaxInt64
)
var rdr *bufio.Reader
func main() {
rdr = bufio.NewReaderSize(os.Stdin, BUFSIZE)
solve()
}
func solve() {
X := readint()
fmt.... | package main
import (
"bufio"
"fmt"
"math"
"os"
"strconv"
"strings"
)
const (
BUFSIZE = 10000000
MOD = 1000000007
INF_INT = math.MaxInt32
INF_INT64 = math.MaxInt64
)
var rdr *bufio.Reader
func main() {
rdr = bufio.NewReaderSize(os.Stdin, BUFSIZE)
solve()
}
func solve() {
X := readint()
fmt.... | [["-", 0, 16, 12, 2, 3, 4, 0, 16, 12, 433], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 12, 433]] | 7 | 1,063 |
x=int(input())
if 400 <= x <= 599:
print('8');
elif 600 <= x <= 799:
print('7')
elif 800 <= x <= 999:
print('6')
elif 1000 <= x <= 1199:
print('5')
elif 1200 <= x <= 1399:
print('4')
elif 1400 <= x <= 1599:
rint('3')
elif 1600 <= x <= 1799:
print('2')
else:
print('1') | x=int(input())
if 400 <= x <= 599:
print('8');
elif 600 <= x <= 799:
print('7')
elif 800 <= x <= 999:
print('6')
elif 1000 <= x <= 1199:
print('5')
elif 1200 <= x <= 1399:
print('4')
elif 1400 <= x <= 1599:
print('3')
elif 1600 <= x <= 1799:
print('2')
else:
print('1')
| [["-", 75, 665, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 75, 665, 64, 196, 0, 1, 0, 652, 63, 22]] | 5 | 108 |
X = input()
if 400 <= X <= 599:
print(8)
if 600 <= X <= 799:
print(7)
if 800 <= X <= 999:
print(6)
if 1000 <= X <= 1199:
print(5)
if 1200 <= X <= 1399:
print(4)
if 1400 <= X <= 1599:
print(3)
if 1600 <= X <= 1799:
print(2)
if 1800 <= X <= 1999:
print(1) | X = int(input())
if 400 <= X <= 599:
print(8)
if 600 <= X <= 799:
print(7)
if 800 <= X <= 999:
print(6)
if 1000 <= X <= 1199:
print(5)
if 1200 <= X <= 1399:
print(4)
if 1400 <= X <= 1599:
print(3)
if 1600 <= X <= 1799:
print(2)
if 1800 <= X <= 1999:
print(1) | [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 93 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.