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 |
|---|---|---|---|---|
a = int(input())
if 400 <= a and a <= 599:
print(8)
elif 600 <= a and a <= 799:
print(7)
elif 800 <= a and 999 <= a:
print(6)
elif 1000 <= a and a <= 1199:
print(5)
elif 1200 <= a and a <= 1399:
print(4)
elif 1400 <= a and a <= 1599:
print(3)
elif 1600 <= a and a <= 1799:
print(2)
elif... | a = int(input())
if 400 <= a and a <= 599:
print(8)
elif 600 <= a and a <= 799:
print(7)
elif 800 <= a and a <= 999:
print(6)
elif 1000 <= a and a <= 1199:
print(5)
elif 1200 <= a and a <= 1399:
print(4)
elif 1400 <= a and a <= 1599:
print(3)
elif 1600 <= a and a <= 1799:
print(2)
elif... | [["-", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612], ["-", 0, 57, 75, 665, 15, 679, 12, 666, 667, 19], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 667, 19], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612]] | 5 | 112 |
#pragma GCC optimize(2)
#include <bits/stdc++.h>
#define MIN -10000000
#define MAX 10000000
#define debug printf("%d", __LINE__)
using namespace std;
int main() {
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 << ... | #pragma GCC optimize(2)
#include <bits/stdc++.h>
#define MIN -10000000
#define MAX 10000000
#define debug printf("%d", __LINE__)
using namespace std;
int main() {
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 << ... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["-", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 142 |
#include <bits/stdc++.h>
using namespace std;
using lld = long long int;
using ld = long int;
int main() {
int n;
cin >> n;
if (n >= 400 && n < 600)
cout << 8;
else if (n >= 600 && n < 800)
cout << 7;
else if (n >= 800 && n < 1000)
cout << 6;
else if (n >= 1000 && n < 1200)
cout << 5;
else... | #include <bits/stdc++.h>
using namespace std;
using lld = long long int;
using ld = long int;
int main() {
int n;
cin >> n;
if (n >= 400 && n < 600)
cout << 8;
else if (n >= 600 && n < 800)
cout << 7;
else if (n >= 800 && n < 1000)
cout << 6;
else if (n >= 1000 && n < 1200)
cout << 5;
else... | [["-", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 151 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
for (int i = 0; i < 8; i++) {
if (400 + 200 * i <= N && N <= 599 + 200 * i) {
cout << i + 1 << endl;
break;
}
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
for (int i = 0; i < 8; i++) {
if (400 + 200 * i <= N && N <= 599 + 200 * i) {
cout << 8 - i << endl;
break;
}
}
}
| [["+", 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 | 65 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ull unsigned long long int
#define ll long long int
#define pb push_back
#define pii pair<int, int>
#define F first
#define S second
#define vi vector<int>
#define vli vector<ll>
#define vii vector... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ull unsigned long long int
#define ll long long int
#define pb push_back
#define pii pair<int, int>
#define F first
#define S second
#define vi vector<int>
#define vli vector<ll>
#define vii vector... | [["+", 8, 9, 0, 1, 0, 16, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 33], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 17, 72], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]] | 1 | 309 |
x = int(input())
x -= 599
a = x//200
print(8 - a) | x = int(input())
x -= 400
a = x//200
print(8 - a) | [["-", 36, 36, 0, 656, 0, 1, 0, 677, 12, 612], ["+", 36, 36, 0, 656, 0, 1, 0, 677, 12, 612]] | 5 | 22 |
X=int(input('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:
print(2)
elif 1800<=X<=1999:
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)
elif 1800<=X<=1999:
print(1) | [["-", 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 | 99 |
n = int(input())
if n <= 599:
print(8)
elif n <= 899:
print(7)
elif n <= 999:
print(6)
elif n <= 1199:
print(5)
elif n <= 1399:
print(4)
elif n <= 1599:
print(3)
elif n <= 1799:
print(2)
elif n <= 1999:
print(1) | n = int(input())
if n <= 599:
print(8)
elif n <= 799:
print(7)
elif n <= 999:
print(6)
elif n <= 1199:
print(5)
elif n <= 1399:
print(4)
elif n <= 1599:
print(3)
elif n <= 1799:
print(2)
elif n <= 1999:
print(1) | [["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612]] | 5 | 80 |
#include <bits/stdc++.h>
using namespace std;
#define REP(i, a, b) for (int i = (a); i <= (b); i++)
#define PER(i, a, b) for (int i = (a); i >= (b); i--)
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define all(S) (S).begin(), (S).end()
#define pf push_front
#define pb push_back
#define mk make_pair
#define S ... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, a, b) for (int i = (a); i <= (b); i++)
#define PER(i, a, b) for (int i = (a); i >= (b); i--)
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define all(S) (S).begin(), (S).end()
#define pf push_front
#define pb push_back
#define mk make_pair
#define S ... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 210 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599) {
cout << 8 << endl;
} else if (600 <= x && x <= 799) {
cout << 7 << endl;
} else if (800 <= x && x <= 999) {
cout << 6 << endl;
} else if (1000 < -x && x <= 1199) {
cout << 5 << endl;
} e... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599) {
cout << 8 << endl;
} else if (600 <= x && x <= 799) {
cout << 7 << endl;
} else if (800 <= x && x <= 999) {
cout << 6 << endl;
} else if (1000 <= x && x <= 1199) {
cout << 5 << endl;
} e... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 15, 339, 51, 16, 31, 16, 12, 91, 17, 33], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19]] | 1 | 171 |
#!/usr/bin/env python3
import sys
X = int(input())
ans = 0
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 <... | #!/usr/bin/env python3
import sys
X = int(input())
ans = 0
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 <... | [["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612]] | 5 | 98 |
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <set>
#include <string>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
typedef long long ll;
int main() {
int x;
cin >> x;
int c = int((x - 599) / 200) + 1;
if (x < 600)
c = 0;
cout << 8 - c << endl;
} | #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <set>
#include <string>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
typedef long long ll;
int main() {
int x;
cin >> x;
int c = int((x - 600) / 200) + 1;
if (x < 600)
c = 0;
cout << 8 - c << endl;
} | [["-", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13]] | 1 | 76 |
X=int(input())
initial=400
kyu=8
for add in range(1,9):
if X<initial+add*200:
print(kyu)
break
kyu-=1 | X=int(input())
initial=400
kyu=8
for add in range(1,9):
if X<initial+add*200:
print(int(kyu))
break
kyu-=1 | [["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 41 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x > 1799 && x <= 1999)
cout << "1" << endl;
else if (x > 1599 && x <= 1799)
cout << "2" << endl;
else if (x > 1399 && x <= 1599)
cout << "3" << endl;
else if (x > 1199 && x <= 1399)
cout << "4" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x > 1799 && x <= 1999)
cout << "1" << endl;
else if (x > 1599 && x <= 1799)
cout << "2" << endl;
else if (x > 1399 && x <= 1599)
cout << "3" << endl;
else if (x > 1199 && x <= 1399)
cout << "4" << endl;
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 173 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
if (X > 399 && X < 600) {
cout << 8 << endl;
} else if (X > 599 && X < 800) {
cout << 7 << endl;
} else if (X > 799 && X < 1000) {
cout << 6 << endl;
} else if (X > 999 && X < 1200) {
cout << 5 << endl;
} else if ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
if (X > 399 && X < 600) {
cout << 8 << endl;
} else if (X > 599 && X < 800) {
cout << 7 << endl;
} else if (X > 799 && X < 1000) {
cout << 6 << endl;
} else if (X > 999 && X < 1200) {
cout << 5 << endl;
} else if ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 174 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <vector>
#define ll long long
using namespace std;
int main() {
int 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... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <vector>
#define ll long long
using namespace std;
int main() {
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 << ... | [["+", 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 | 129 |
n=int(input())
if 400<=n and n<=599:
print(8)
if 600<=n and n<=799:
print(7)
if 800<=n and n<=999:
print(6)
if 1000<=n and n<=1199:
print(5)
if 1200<=n and n<=1399:
print(4)
if 1400<=n and n<=1599:
print(3)
if 1600<=n and n<=1899:
print(2)
if 1800<=n and n<=1999:
print(1) | n=int(input())
if 400<=n and n<=599:
print(8)
if 600<=n and n<=799:
print(7)
if 800<=n and n<=999:
print(6)
if 1000<=n and n<=1199:
print(5)
if 1200<=n and n<=1399:
print(4)
if 1400<=n and n<=1599:
print(3)
if 1600<=n and n<=1799:
print(2)
if 1800<=n and n<=1999:
print(1) | [["-", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612]] | 5 | 112 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define int long long int
// #define ll long long int
#define ld long double
#define ff first
#define ss second
#define mp make_pair
#define IOS ... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define int long long int
// #define ll long long int
#define ld long double
#define ff first
#define ss second
#define mp make_pair
#define IOS ... | [["-", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13]] | 1 | 302 |
x = int(input())
if x >= 1800:
ans = 1
elif x >= 1600:
ans = 2
elif x >= 1400:
ans = 3
elif x >= 1200:
ans = 4
elif x >= 1000:
ans = 5
elif x >= 800:
ans = 6
elif x >= 600:
ans = 7
else:
x = 8
print(str(int(ans))) | x = int(input())
if x >= 1800:
ans = 1
elif x >= 1600:
ans = 2
elif x >= 1400:
ans = 3
elif x >= 1200:
ans = 4
elif x >= 1000:
ans = 5
elif x >= 800:
ans = 6
elif x >= 600:
ans = 7
else:
ans = 8
print(str(int(ans))) | [["-", 75, 76, 8, 196, 0, 1, 0, 662, 31, 22], ["+", 75, 76, 8, 196, 0, 1, 0, 662, 31, 22]] | 5 | 79 |
#include <algorithm>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>... | #include <algorithm>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 269 |
#include <cstdio>
using namespace std;
int main() {
int a;
scanf("%d", &a);
if (a >= 400 & a <= 598)
printf("8\n");
if (a >= 600 && a <= 799)
printf("7\n");
if (a >= 800 && a <= 999)
printf("6\n");
if (a >= 1000 && a <= 1199)
printf("5\n");
if (a >= 1200 && a <= 1399)
printf("4\n");
... | #include <cstdio>
using namespace std;
int main() {
int a;
scanf("%d", &a);
if (a >= 400 && a <= 599)
printf("8\n");
if (a >= 600 && a <= 799)
printf("7\n");
if (a >= 800 && a <= 999)
printf("6\n");
if (a >= 1000 && a <= 1199)
printf("5\n");
if (a >= 1200 && a <= 1399)
printf("4\n");
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 67], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 172 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599) {
cout << 8 << endl;
} else if (600 <= x && x <= 799) {
cout << 7 << endl;
} else if (800 ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
int main() {
int x;
cin >> x;
if (400 <= x && x <= 599) {
cout << 8 << endl;
} else if (600 <= x && x <= 799) {
cout << 7 << endl;
} else if (800 ... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13]] | 1 | 193 |
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
int t = 1800;
for (int i = 1; i < 9; i++) {
if (t < x) {
cout << i;
break;
}
t = t - 200;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
int t = 1800;
for (int i = 1; i < 9; i++) {
if (t <= x) {
cout << i;
break;
}
t = t - 200;
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 63 |
#include <algorithm>
#include <array>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int X;
cin >> X;
if (400 <= X and X <= 599)
cout << 8;
else if (600 <= X and X <= 799)
cout << 7;
else if (800 <= X and X <= 999... | #include <algorithm>
#include <array>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int X;
cin >> X;
if (400 <= X and X <= 599)
cout << 8;
else if (600 <= X and X <= 799)
cout << 7;
else if (800 <= X and X <= 999... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 163 |
s = int(input())
if(s >=1800 and s<2000):
print(1)
elif(s>=500 and s<800):
print(7)
elif(s>=800 and s<1000):
print(6)
elif(s>=1000 and s<1200):
print(5)
elif(s>=1200 and s<1400):
print(4)
elif(s>=1400 and s<1600):
print(3)
elif(s>=1600 and s<1800):
print(2)
elif(s>=400 and s<600):
print(8)
else:
print... | s = int(input())
if(s >=1800 and s<2000):
print(1)
elif(s>=600 and s<800):
print(7)
elif(s>=800 and s<1000):
print(6)
elif(s>=1000 and s<1200):
print(5)
elif(s>=1200 and s<1400):
print(4)
elif(s>=1400 and s<1600):
print(3)
elif(s>=1600 and s<1800):
print(2)
elif(s>=400 and s<600):
print(8)
else:
print... | [["-", 75, 665, 15, 23, 0, 679, 31, 666, 0, 612], ["+", 75, 665, 15, 23, 0, 679, 31, 666, 0, 612]] | 5 | 133 |
X = int(input())
kyu = [600,800,1000,1200,1400,1600,2000]
N = 8
for i in range(len(kyu)):
if X < kyu[i]:
print(N - i)
break | X = int(input())
kyu = [600,800,1000,1200,1400,1600,1800,2000]
N = 8
for i in range(len(kyu)):
if X < kyu[i]:
print(N - i)
break | [["+", 0, 656, 0, 1, 0, 662, 12, 634, 0, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 634, 0, 21]] | 5 | 54 |
X = int(input(()))
n = 0
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")
elif 1800<= X <= 1999:
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")
elif 1800<= X <= 1999:
print("1") | [["-", 3, 4, 0, 652, 3, 4, 0, 660, 0, 24], ["-", 3, 4, 0, 652, 3, 4, 0, 660, 0, 25], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612]] | 5 | 117 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner kbd = new Scanner(System.in);
int a = kbd.nextInt();
int b = kbd.nextInt();
if (400 <= a && a <= 599) {
b = 8;
}
if (600 <= a && a <= 799) {
b = 7;
}
if (800 <= a && a <= 999) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner kbd = new Scanner(System.in);
int a = kbd.nextInt();
int b = 0;
if (400 <= a && a <= 599) {
b = 8;
}
if (600 <= a && a <= 799) {
b = 7;
}
if (800 <= a && a <= 999) {
b = 6;
... | [["-", 8, 196, 0, 503, 49, 200, 51, 492, 500, 22], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 0, 131], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 24], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 25], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 499]] | 3 | 190 |
#include <bits/stdc++.h>
using namespace std;
#define FAST ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, nu... | #include <bits/stdc++.h>
using namespace std;
#define FAST ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, nu... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 226 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int res = -1;
if (sc.hasNext()) {
int n = sc.nextInt();
res = (1999 - n) / 200;
System.out.println(res);
}
}
}
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int res = -1;
if (sc.hasNext()) {
int n = sc.nextInt();
res = (1999 - n) / 200 + 1;
System.out.println(res);
}
}
} | [["+", 64, 196, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 12, 499]] | 3 | 79 |
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (400 <= x && x < 600) {
cout << 8;
} else if (600 <= x && x < 800) {
cout << 7;
} else if (800 <= x && x < 1000) {
cout << 6;
} else if (1000 <= x && x < 1200) {
cout << 5;
} else if (1200 <= x && x < 1400) {
c... | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (400 <= x && x < 600) {
cout << 8;
} else if (600 <= x && x < 800) {
cout << 7;
} else if (800 <= x && x < 1000) {
cout << 6;
} else if (1000 <= x && x < 1200) {
cout << 5;
} else if (1200 <= x && x < 1400) {
c... | [["-", 0, 57, 64, 9, 0, 1, 0, 16, 12, 13], ["+", 0, 57, 64, 9, 0, 1, 0, 16, 12, 13]] | 1 | 154 |
// Created by new_sm
//
/*#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
typedef tree<int,null_type,less<int>,rb_tree_tag,
tree_order_statistics_node_update> ordered_set;
s.find_by_order(x) xth element in set
x.order_of_key(x) number of elements <x*/
#include <bits/stdc++.h>
using namespace std;
#... | // Created by new_sm
//
/*#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
typedef tree<int,null_type,less<int>,rb_tree_tag,
tree_order_statistics_node_update> ordered_set;
s.find_by_order(x) xth element in set
x.order_of_key(x) number of elements <x*/
#include <bits/stdc++.h>
using namespace std;
#... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 337 |
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")
elif X>=1800 and X<=1999:
... | 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")
elif X>=1800 and X<=1999:
... | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 128 |
x = int(input())
ran = list(range(400,2000,200))
pointer = 0
while x >= ran[pointer]:
pointer += 1
print(9-pointer) | x = int(input())
ran = list(range(400,2200,200))
pointer = 0
while x >= ran[pointer]:
pointer += 1
print(9-pointer) | [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612]] | 5 | 41 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REP2(i, x, n) for (int i = x; i < (n); ++i)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
using namespace std;
using ll = long long;
using P = pair<int, int>;
static const double PI = acos(-1);
static const int INF... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REP2(i, x, n) for (int i = x; i < (n); ++i)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
using namespace std;
using ll = long long;
using P = pair<int, int>;
static const double PI = acos(-1);
static const int INF... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 228 |
#include <bits/stdc++.h>
//#include<ext/pb_ds/assoc_container.hpp>
// using namespace __gnu_pbds;
using namespace std;
#define sz(x) x.size()
#define all(x) x.begin(), x.end()
#define tr(x, it) for (auto it = x.begin(); it != x.end(); it++)
#define fo(i, k, n) for (int i = k; i < n; i++)
#define Fo(i, k, n) for (int ... | #include <bits/stdc++.h>
//#include<ext/pb_ds/assoc_container.hpp>
// using namespace __gnu_pbds;
using namespace std;
#define sz(x) x.size()
#define all(x) x.begin(), x.end()
#define tr(x, it) for (auto it = x.begin(); it != x.end(); it++)
#define fo(i, k, n) for (int i = k; i < n; i++)
#define Fo(i, k, n) for (int ... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20]] | 1 | 278 |
M = int( input() )
if 599 >= M and M >= 400:
print("8")
if 799 >= M and M >= 600:
print("7")
if 999 >= M and M >= 800:
print("6")
if 1199 >= M and M >= 100:
print("5")
if 1399 >= M and M >= 1200:
print("4")
if 1599 >= M and M >= 1400:
print("3")
if 1799 >= M and M >= 1600:
print("2")
if 1999... | M = int( input() )
if 599 >= M and M >= 400:
print("8")
if 799 >= M and M >= 600:
print("7")
if 999 >= M and M >= 800:
print("6")
if 1199 >= M and M >= 1000:
print("5")
if 1399 >= M and M >= 1200:
print("4")
if 1599 >= M and M >= 1400:
print("3")
if 1799 >= M and M >= 1600:
print("2")
if 199... | [["-", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612]] | 5 | 128 |
x = int(input())
x -= 400
a = 200
for i in range(1, 8):
if (0 <= x) & (x < i*a):
print(9 - i)
break | x = int(input())
x -= 400
a = 200
for i in range(1, 9):
if (0 <= x) & (x < i*a):
print(9 - i)
break | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612]] | 5 | 46 |
a = int(input())
arr = list(range(400,1801,200))
arr2 = [8,7,6,5,4,3,2,1]
res = 8
for i in range(1,len(arr)):
if (a >= arr[i]):
res = arr2[i]
else:
print(res)
break | a = int(input())
arr = list(range(400,2001,200))
arr2 = [8,7,6,5,4,3,2,1]
res = 8
for i in range(1,len(arr)):
if (a >= arr[i]):
res = arr2[i]
else:
print(res)
break | [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612]] | 5 | 79 |
x=int(input())
if 400 <= x <= 599:print(8)
elif 700 <= 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(7)
| 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)
| [["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 612]] | 5 | 91 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 and x <= 599)
cout << 8 << endl;
else if (x >= 600 and x <= 799)
cout << 7 << endl;
else if (x >= 800 and x <= 999)
cout << 6 << endl;
else if (x >= 1000 and x <= 1199)
cout << 5 << endl;
else if (... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 and x <= 599)
cout << 8 << endl;
else if (x >= 600 and x <= 799)
cout << 7 << endl;
else if (x >= 800 and x <= 999)
cout << 6 << endl;
else if (x >= 1000 and x <= 1199)
cout << 5 << endl;
else if (... | [["+", 0, 57, 64, 1, 0, 16, 31, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 17, 151]] | 1 | 152 |
a = int(input())
r = 1
for i in range(1790,598,-200):
if a <= i:
r += 1
print(r) | a = int(input())
r = 1
for i in range(1799,598,-200):
if a <= i:
r += 1
print(r) | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612]] | 5 | 36 |
from sys import exit
X = int(input())
if X <= 599:
print(8)
exit()
if X <= 799:
print(7)
exit()
if X <= 999:
print(6)
exit()
if X <= 1199:
print(5)
exit()
if X <= 1399:
print(4)
exit()
if X <= 1599:
print(5)
exit()
if X <= 1799:
print(2)
exit()
print(1)
| from sys import exit
X = int(input())
if X <= 599:
print(8)
exit()
if X <= 799:
print(7)
exit()
if X <= 999:
print(6)
exit()
if X <= 1199:
print(5)
exit()
if X <= 1399:
print(4)
exit()
if X <= 1599:
print(3)
exit()
if X <= 1799:
print(2)
exit()
print(1)
| [["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612]] | 5 | 100 |
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import sys
#####################################
x=int(input())
if x>=400 and x<=599:
print(8)
elif x>=600 and x... | from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import sys
#####################################
x=int(input())
if x>=400 and x<=599:
print(8)
elif x>=600 and x... | [["-", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612]] | 5 | 183 |
#include <stdio.h>
int main() {
int n;
scanf("%d", n);
if (n <= 1999 && n >= 1800) {
printf("1");
} else if (n <= 1799 && n >= 1600) {
printf("2");
} else if (n <= 1599 && n >= 1400) {
printf("3");
} else if (n <= 1399 && n >= 1200) {
printf("4");
} else if (n <= 1199 && n >= 1000) {
p... | #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
if (n <= 1999 && n >= 1800) {
printf("1");
} else if (n <= 1799 && n >= 1600) {
printf("2");
} else if (n <= 1599 && n >= 1400) {
printf("3");
} else if (n <= 1399 && n >= 1200) {
printf("4");
} else if (n <= 1199 && n >= 1000) {
... | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 182 |
<?php
// fscanf(STDIN, "%d", $n);
// $a = explode(" ", fgets(STDIN));
// $a = array_map('intval', $a);
// $b = explode(" ", fgets(STDIN));
// $b = array_map('intval', $b);
// $str = fgets(STDIN);
// $arr = explode("n", $str);
// var_dump($arr);
// $array = str_replace('\n', ' ', fgets(STDIN));
// $array = explode(' '... | <?php
// fscanf(STDIN, "%d", $n);
// $a = explode(" ", fgets(STDIN));
// $a = array_map('intval', $a);
// $b = explode(" ", fgets(STDIN));
// $b = array_map('intval', $b);
// $str = fgets(STDIN);
// $arr = explode("n", $str);
// var_dump($arr);
// $array = str_replace('\n', ' ', fgets(STDIN));
// $array = explode(' '... | [["-", 0, 57, 15, 23, 0, 16, 31, 16, 12, 612], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 12, 612], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 612], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 12, 612]] | 6 | 168 |
// </> : towhid1zaman
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef pair<int, int> pii;
typedef vector<pii> vip;
typedef pair<pii, int> ppi;
#define fill(a, b) memset(a, b, sizeof(a))
#define all(v) (v).begin(), (v).end()
#define sp(k) cout... |
// </> : towhid1zaman
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef pair<int, int> pii;
typedef vector<pii> vip;
typedef pair<pii, int> ppi;
#define fill(a, b) memset(a, b, sizeof(a))
#define all(v) (v).begin(), (v).end()
#define sp(k) cout... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 373 |
def resolve():
X = int(input())
if 400<= x < 600:
print(8); return
elif 600<= x < 800:
print(7); return
elif 800<= x < 1000:
print(6); return
elif 1000<= x < 1200:
print(5); return
elif 1200<= x < 1400:
print(4); return
elif 1400<= x < 1600:
print(3); return
elif 1600<= x < 1800:
print(2); return
... | def resolve():
x = int(input())
if 400<= x < 600:
print(8); return
elif 600<= x < 800:
print(7); return
elif 800<= x < 1000:
print(6); return
elif 1000<= x < 1200:
print(5); return
elif 1200<= x < 1400:
print(4); return
elif 1400<= x < 1600:
print(3); return
elif 1600<= x < 1800:
print(2); return
... | [["-", 0, 14, 8, 196, 0, 1, 0, 662, 31, 22], ["+", 0, 14, 8, 196, 0, 1, 0, 662, 31, 22]] | 5 | 120 |
w = 199
x = int(input())
if x >= 400 and x < 600:
print(8)
elif x >= 600 and x < 800:
print(7)
elif x >= 800 and x < 1000:
print(6)
elif x >= 1000 and x < 1200:
print(5)
elif x >= 1200 and x < 1400:
print(4)
elif x >= 1400 and x < 1600:
print(3)
elif x >= 1600 and x < 1800:
print(1)
elif x... | w = 199
x = int(input())
if x >= 400 and x < 600:
print(8)
elif x >= 600 and x < 800:
print(7)
elif x >= 800 and x < 1000:
print(6)
elif x >= 1000 and x < 1200:
print(5)
elif x >= 1200 and x < 1400:
print(4)
elif x >= 1400 and x < 1600:
print(3)
elif x >= 1600 and x < 1800:
print(2)
elif x... | [["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612]] | 5 | 115 |
#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, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 157 |
x = int(input())
l = -(-(2000 - x - 1)//200)
print(l) | x = int(input())
l = -(-(2000 - x)//200)
print(l) | [["-", 0, 657, 31, 664, 28, 23, 0, 657, 17, 33], ["-", 0, 657, 31, 664, 28, 23, 0, 657, 12, 612]] | 5 | 27 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void) {
// ios_base::sync_with_stdio(false);
// cin.tie(0);
// cout.tie(0);
int n;
cin >> n;
if (n >= 400 && n <= 599) {
cout << 8 << endl;
}
if (n >= 600 && n <= 799) {
cout << 7 << endl;
}
if (n >= 800 && n <... |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void) {
// ios_base::sync_with_stdio(false);
// cin.tie(0);
// cout.tie(0);
int n;
cin >> n;
if (n >= 400 && n <= 599) {
cout << 8 << endl;
}
if (n >= 600 && n <= 799) {
cout << 7 << endl;
}
if (n >= 800 && n <... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 172 |
//--------------------------------------------------------------------------------
// Code By:
// ###### # ######
// ## # # #
// ##### ## ##### ## #
//###
// ## # # # # #
//#
// ## # ##### #####... | //--------------------------------------------------------------------------------
// Code By:
// ###### # ######
// ## # # #
// ##### ## ##### ## #
//###
// ## # # # # #
//#
// ## # ##### #####... | [["-", 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 | 671 |
#include <cstdio>
#include <iostream>
using namespace std;
int X;
int main() {
scanf("%d", &X);
if (400 <= X && X < 600)
printf("8");
else if (X < 800)
printf("7");
else if (X < 900)
printf("6");
else if (X < 1200)
printf("5");
else if (X < 1400)
printf("4");
else if (X < 1600)
pri... | #include <cstdio>
#include <iostream>
using namespace std;
int X;
int main() {
scanf("%d", &X);
if (400 <= X && X < 600)
printf("8");
else if (X < 800)
printf("7");
else if (X < 1000)
printf("6");
else if (X < 1200)
printf("5");
else if (X < 1400)
printf("4");
else if (X < 1600)
pr... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 145 |
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)
elif(X >= 1800 ... | 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)
elif(X >= 1800 ... | [["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612]] | 5 | 128 |
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iomanip> // fixed, setprecis... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iomanip> // fixed, setprecis... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 216 |
#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... | #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... | [["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 138 |
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <stack>
#include <string>
#include <unordered_map>
using namespace std;
typedef long long ll;
const ll INF = 1000000007;
const ll mod = 1000000007... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <stack>
#include <string>
#include <unordered_map>
using namespace std;
typedef long long ll;
const ll INF = 1000000007;
const ll mod = 1000000007... | [["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22]] | 1 | 84 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n); i >= 0; i--)
#define loop(i, r, n) for (int i = (r); i < (n); i++)
#define pb push_back
#define all(in) in.begin(), in.end()
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
retu... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n); i >= 0; i--)
#define loop(i, r, n) for (int i = (r); i < (n); i++)
#define pb push_back
#define all(in) in.begin(), in.end()
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
retu... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 269 |
#include <stdio.h>
int main() {
int x;
scanf("%d", &x);
if (400 <= x && x <= 599)
printf("8");
else if (600 <= x && x <= 799)
printf("7");
else if (800 <= x && x <= 999)
printf("6");
else if (1000 <= x && x <= 1199)
printf("5");
else if (1200 <= x && x <= 1299)
printf("4");
else if ... | #include <stdio.h>
int main() {
int x;
scanf("%d", &x);
if (400 <= x && x <= 599)
printf("8");
else if (600 <= x && x <= 799)
printf("7");
else if (800 <= x && x <= 999)
printf("6");
else if (1000 <= x && x <= 1199)
printf("5");
else if (1200 <= x && x <= 1399)
printf("4");
else if ... | [["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13]] | 0 | 167 |
d = {
range(400, 600): 8,
range(600, 800): 7,
range(800, 800): 6,
range(1000, 1200): 5,
range(1200, 1400): 4,
range(1400, 1600): 3,
range(1600, 1800): 2,
range(1800, 2000): 1,
}
x = int(input())
for k, v in d.items():
if x in k:
print(v) | d = {
range(400, 600): 8,
range(600, 800): 7,
range(800, 1000): 6,
range(1000, 1200): 5,
range(1200, 1400): 4,
range(1400, 1600): 3,
range(1600, 1800): 2,
range(1800, 2000): 1,
}
x = int(input())
for k, v in d.items():
if x in k:
print(v) | [["-", 12, 680, 0, 569, 448, 652, 3, 4, 0, 612], ["+", 12, 680, 0, 569, 448, 652, 3, 4, 0, 612]] | 5 | 104 |
## for use in beginner level questions where speed is key
## and also for single test case code
## mastercopy for x,y,z
import sys
import heapq, functools, collections
import random
from collections import Counter, defaultdict
# read line as a string
# strr = input()
# read line as an integer
k = int(input())
# rea... | ## for use in beginner level questions where speed is key
## and also for single test case code
## mastercopy for x,y,z
import sys
import heapq, functools, collections
import random
from collections import Counter, defaultdict
# read line as a string
# strr = input()
# read line as an integer
k = int(input())
# rea... | [["-", 3, 4, 0, 657, 31, 23, 0, 657, 31, 612], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 31, 612]] | 5 | 44 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define ill long long
#define fcout cout << fixed << setprecision(10)
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 1800)
cout <<... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define ill long long
#define fcout cout << fixed << setprecision(10)
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 1800)
cout <<... | [["-", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["-", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13], ["+", 0, 57, 75, 76, 0, 1, 0, 16, 12, 13]] | 1 | 126 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const long double PI = (acos(-1));
const long long MOD = 1000000007;
struct Edge {
long long to;
long long cost;
};
using Graph = vector<vector<Edge>>;
using P = pair<ll, ll>;
const long long INF = 1LL << 60;
#defin... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const long double PI = (acos(-1));
const long long MOD = 1000000007;
struct Edge {
long long to;
long long cost;
};
using Graph = vector<vector<Edge>>;
using P = pair<ll, ll>;
const long long INF = 1LL << 60;
#defin... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 1,772 |
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
const ll mod = 1000000007;
const ll inf = 1e18;
int main() {
ll x;
cin >> x;
if (x <= 599)
cout << 8 << endl;
else if (x <= 799)
cout << 7 << endl;
else if (x <= 999)
cout << 6 << endl;
else if (x <= 1199)
cout << 5 ... | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
const ll mod = 1000000007;
const ll inf = 1e18;
int main() {
ll x;
cin >> x;
if (x <= 599)
cout << 8 << endl;
else if (x <= 799)
cout << 7 << endl;
else if (x <= 999)
cout << 6 << endl;
else if (x <= 1199)
cout << 5 ... | [["-", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 75, 76, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 131 |
#include <bits/stdc++.h>
#include <functional>
#include <iostream>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
#define rep(i, a, n) for (int i = a; i <= n; i++)
#define rep1(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = a; i >... | #include <bits/stdc++.h>
#include <functional>
#include <iostream>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
#define rep(i, a, n) for (int i = a; i <= n; i++)
#define rep1(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = a; i >... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 645 |
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 <= 1099:
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')
... | 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')
... | [["-", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 0, 612]] | 5 | 130 |
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define deb(a, b, c) \
cout << #a << " = " << (a) << ", " << #b << " = " << (b) << ", " << #c \
<< " = " << (c) << endl;
typedef long long int ll;
typedef str... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define deb(a, b, c) \
cout << #a << " = " << (a) << ", " << #b << " = " << (b) << ", " << #c \
<< " = " << (c) << endl;
typedef long long int ll;
typedef str... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 160 |
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
typedef vector<ll> vll;
#define PI (2 * acos(0.0))
#define eps 1e-9
#define pb push_back
#define endl "\n"
#define watch(x) cout << (#x) << " ... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
typedef vector<ll> vll;
#define PI (2 * acos(0.0))
#define eps 1e-9
#define pb push_back
#define endl "\n"
#define watch(x) cout << (#x) << " ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 357 |
import sys
from math import ceil, floor, sqrt, sin, cos, pi
from itertools import accumulate, permutations, combinations
from math import gcd # 最大公約数
from collections import deque, Counter
from operator import itemgetter
from heapq import heappop,heappush
sys.setrecursionlimit(10**7)
def lcm(x, y): return ((x * y) // g... | import sys
from math import ceil, floor, sqrt, sin, cos, pi
from itertools import accumulate, permutations, combinations
from math import gcd # 最大公約数
from collections import deque, Counter
from operator import itemgetter
from heapq import heappop,heappush
sys.setrecursionlimit(10**7)
def lcm(x, y): return ((x * y) // g... | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 149 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
int ans = 0;
for (int i = 1800; i > 400; i -= 200) {
ans++;
if (n >= i) {
cout << ans << endl;
break;
}
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
int ans = 0;
for (int i = 1800; i >= 400; i -= 200) {
ans++;
if (n >= i) {
cout << ans << endl;
break;
}
}
}
| [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 47], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 20]] | 1 | 65 |
from collections import defaultdict,deque
import math
def gcd(a,b):
return b if not a%b else gcd(b,a%b)
def lcm(a,b):
return (a*b)//gcd(a,b)
def main():
n = int(input())
if(n>=1800):
print(1)
elif(n>=1600):
print(2)
elif(n>=1400):
print(3)
elif(n>=1200):
prin... | from collections import defaultdict,deque
import math
def gcd(a,b):
return b if not a%b else gcd(b,a%b)
def lcm(a,b):
return (a*b)//gcd(a,b)
def main():
n = int(input())
if(n>=1800):
print(1)
elif(n>=1600):
print(2)
elif(n>=1400):
print(3)
elif(n>=1200):
prin... | [["-", 0, 57, 75, 665, 15, 23, 0, 666, 0, 612], ["+", 0, 57, 75, 665, 15, 23, 0, 666, 0, 612]] | 5 | 164 |
import heapq
t = 1
def max(a,b):
if a > b:
return a
return b
while t > 0:
t -= 1
# n,k,q = map(int,input().split())
# v = []
# l = []
x = int(input())
if x <= 599:
print("8")
elif x <= 799:
print("7")
elif x <= 999:
print("6")
elif x <= 1199:
print("5")
elif x <= 1399:
print("4")
elif x <= 1599... | import heapq
t = 1
def max(a,b):
if a > b:
return a
return b
while t > 0:
t -= 1
# n,k,q = map(int,input().split())
# v = []
# l = []
x = int(input())
if x <= 599:
print("8")
elif x <= 799:
print("7")
elif x <= 999:
print("6")
elif x <= 1199:
print("5")
elif x <= 1399:
print("4")
elif x <= 1599... | [["-", 8, 196, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 8, 196, 0, 57, 75, 665, 15, 666, 0, 612]] | 5 | 142 |
X=int(input())
li=[400,600,800,100,1200,1400,1600,1800,2000]
li2=[8,7,6,5,4,3,2,1,0]
for i in range(8):
if li[i]<=X and X<li[i+1]:
print(li2[i])
exit() | X=int(input())
li=[400,600,800,1000,1200,1400,1600,1800,2000]
li2=[8,7,6,5,4,3,2,1,0]
for i in range(8):
if li[i]<=X and X<li[i+1]:
print(li2[i])
exit() | [["-", 0, 656, 0, 1, 0, 662, 12, 634, 0, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 634, 0, 612]] | 5 | 85 |
#include <iostream>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
int main() {
int X;
cin >> X;
if (X < 600)
cout << 8 << endl;
else if (X < 800)
cout << 7 << endl;
else if ... | #include <iostream>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
int main() {
int X;
cin >> X;
if (X < 600)
cout << 8 << endl;
else if (X < 800)
cout << 7 << endl;
else if ... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 158 |
#include <bits/stdc++.h>
using namespace std;
#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
typedef long long ll;
typedef pair<ll, ll> prl;
typedef vector<ll> vcl;
typedef map<ll, ll> mapl;
typedef unordered_map<ll, ll> umap;
#define pb push_back
#define all(v) v.begin(), v.e... | #include <bits/stdc++.h>
using namespace std;
#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
typedef long long ll;
typedef pair<ll, ll> prl;
typedef vector<ll> vcl;
typedef map<ll, ll> mapl;
typedef unordered_map<ll, ll> umap;
#define pb push_back
#define all(v) v.begin(), v.e... | [["-", 0, 1, 0, 16, 31, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 31, 13]] | 1 | 193 |
x = int(input())
for i in range(3, 10):
if i * 200 > x:
print(11 - i)
exit() | x = int(input())
for i in range(3, 11):
if i * 200 > x:
print(11 - i)
exit() | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612]] | 5 | 34 |
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
#define INF 1000000021
#define MOD 1000000007
#define pb push_back
#define sqr(a) (a) * (a)
#define M(a, b) make_pair(a, b)
#define T(a, b, c) make_pair(a, make_pair(b, c))
#define F first
#define S second
#define all(x) (x.begin(), x.end())
#define d... | #include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
#define INF 1000000021
#define MOD 1000000007
#define pb push_back
#define sqr(a) (a) * (a)
#define M(a, b) make_pair(a, b)
#define T(a, b, c) make_pair(a, make_pair(b, c))
#define F first
#define S second
#define all(x) (x.begin(), x.end())
#define d... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 375 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define ld long double
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define ld long double
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 481 |
/**
* code generated by JHelper
* More info: https://github.com/AlexeyDmitriev/JHelper
* @author Kein Yukiyoshi
*/
#include "bits/stdc++.h"
#define int long long
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define FOR(i, a) for (auto &i : a)
#... | /**
* code generated by JHelper
* More info: https://github.com/AlexeyDmitriev/JHelper
* @author Kein Yukiyoshi
*/
#include "bits/stdc++.h"
#define int long long
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define FOR(i, a) for (auto &i : a)
#... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 13], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 13]] | 1 | 394 |
x = int(input())
if 400 <= x < 600:
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) | 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)
else:
print(1) | [["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612]] | 5 | 91 |
x = gets.to_i
if x <= 400 then
puts 8
elsif x <= 799 then
puts 7
elsif x <= 999 then
puts 6
elsif x <= 1199 then
puts 5
elsif x <= 1399 then
puts 4
elsif x <= 1599 then
puts 3
elsif x <= 1799 then
puts 2
elsif x <= 1999 then
puts 1
end
| x = gets.to_i
if x <= 599 then
puts 8
elsif x <= 799 then
puts 7
elsif x <= 999 then
puts 6
elsif x <= 1199 then
puts 5
elsif x <= 1399 then
puts 4
elsif x <= 1599 then
puts 3
elsif x <= 1799 then
puts 2
elsif x <= 1999 then
puts 1
end
| [["-", 36, 36, 0, 493, 0, 121, 15, 738, 12, 612], ["+", 36, 36, 0, 493, 0, 121, 15, 738, 12, 612]] | 4 | 62 |
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)
elif 1800<=x<=1899:
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)
elif 1800<=x<=1999:
print(1)
| [["-", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 612]] | 5 | 96 |
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define endl "\n"
#define sz(x) ((ll)(x).size())
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define prt(x) cout << (x)
#define prtl(x) cout << (x) << endl
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define rrep(i, a, b) for (ll i = a; i > b; i--)
... | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define endl "\n"
#define sz(x) ((ll)(x).size())
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define prt(x) cout << (x)
#define prtl(x) cout << (x) << endl
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define rrep(i, a, b) for (ll i = a; i > b; i--)
... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 248 |
X =int(input())
print(10-X%200) | X = int (input())
print(10-X//200) | [["-", 0, 652, 3, 4, 0, 657, 12, 657, 17, 109], ["+", 0, 652, 3, 4, 0, 657, 12, 657, 17, 676]] | 5 | 16 |
import sys
readline = sys.stdin.readline
def solve():
X = int(readline())
print(10 - X // 200)
| import sys
readline = sys.stdin.readline
def solve():
X = int(readline())
print(10 - X // 200)
solve() | [["+", 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, 25]] | 5 | 30 |
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable : 4244) // 最悪をします
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include... | #define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable : 4244) // 最悪をします
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include... | [["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 10,931 |
x=int(input())
ans=0
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:
an=4
elif 1400<=x<=1599:
ans=3
elif 1600<=x<=1799:
ans=2
elif 1800<=x<=1999:
ans=1
print(ans)
| x=int(input())
ans=0
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)
| [["-", 75, 665, 64, 196, 0, 1, 0, 662, 31, 22], ["+", 75, 665, 64, 196, 0, 1, 0, 662, 31, 22]] | 5 | 95 |
#!/usr/bin/env python3
def kyu(x):
if x <= 599:
return 8
elif x <= 799:
return 7
elif x <= 999:
return 6
elif x <= 1199:
return 5
elif x <= 1399:
return 3
elif x <= 1599:
return 3
elif x <= 1799:
return 2
else:
return 1
... | #!/usr/bin/env python3
def kyu(x):
if x <= 599:
return 8
elif x <= 799:
return 7
elif x <= 999:
return 6
elif x <= 1199:
return 5
elif x <= 1399:
return 4
elif x <= 1599:
return 3
elif x <= 1799:
return 2
else:
return 1
... | [["-", 0, 57, 75, 665, 64, 196, 0, 37, 0, 612], ["+", 0, 57, 75, 665, 64, 196, 0, 37, 0, 612]] | 5 | 93 |
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int X;
scanf("%d", &X);
if (400 <= X && X <= 599)
printf("8\n");
else if (600 <= X && X <= 799)
printf("7\n");
else if (800 <= X && X <= 999)
printf("6\n");
else if (1000 <= X && X... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int X;
scanf("%d", &X);
if (400 <= X && X <= 599)
printf("8\n");
else if (600 <= X && X <= 799)
printf("7\n");
else if (800 <= X && X <= 999)
printf("6\n");
else if (1000 <= X && X... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 186 |
// SMOKE SHISHA PLAY FIFA //
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define pll ... | // SMOKE SHISHA PLAY FIFA //
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define pll ... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 267 |
import math
import sys
import collections
import bisect
readline = sys.stdin.readline
def main():
x = int(readline().rstrip())
li = [400, 600, 800, 1000, 1200, 1400, 1600, 1800]
for i in range(8):
if li[i] > x:
print(9 - i)
break
if __name__ == '__main__':
main()
| import math
import sys
import collections
import bisect
readline = sys.stdin.readline
def main():
x = int(readline().rstrip())
li = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]
for i in range(9):
if li[i] > x:
print(9 - i)
break
if __name__ == '__main__':
main(... | [["+", 8, 196, 0, 1, 0, 662, 12, 634, 0, 21], ["+", 8, 196, 0, 1, 0, 662, 12, 634, 0, 612], ["-", 8, 196, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 8, 196, 0, 7, 12, 652, 3, 4, 0, 612]] | 5 | 84 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define F first
#define S second
#define ii pair<int, int>
#define ever (;;)
int x;
int main() {
cin >> x;
if (x >= 400 && x <= 599) {
cout << 8 << endl;
return 0;
}
if (x >= 600 && x <= 799) {
cout << 7 << endl;
return 0;
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define F first
#define S second
#define ii pair<int, int>
#define ever (;;)
int x;
int main() {
cin >> x;
if (x >= 400 && x <= 599) {
cout << 8 << endl;
return 0;
}
if (x >= 600 && x <= 799) {
cout << 7 << endl;
return 0;
... | [["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 16, 31, 16, 12, 13]] | 1 | 202 |
#!/usr/bin/env python3
def rating(X):
if X <= 599: return 8
if X <= 799: return 7
if X <= 999: return 6
if X <= 1199: return 5
if X <= 1399: return 4
if X <= 1599: return 3
if X <= 1799: return 2
if X <= 1999: return 8
assert(False)
X = int(input())
print(rating(X)) | #!/usr/bin/env python3
def rating(X):
if X <= 599: return 8
if X <= 799: return 7
if X <= 999: return 6
if X <= 1199: return 5
if X <= 1399: return 4
if X <= 1599: return 3
if X <= 1799: return 2
if X <= 1999: return 1
assert(False)
X = int(input())
print(rating(X)) | [["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 612], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 612]] | 5 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 599)
cout << 8;
if (x >= 600 && x <= 799)
cout << 7;
if (x >= 800 && x < 1000)
cout << 6;
if (x >= 1000 && x < 1200)
cout << 5;
if (x >= 1200 && x < 1400)
cout << 4;
if (x >= 1400 && x < ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 599)
cout << 8;
if (x >= 600 && x <= 799)
cout << 7;
if (x >= 800 && x < 1000)
cout << 6;
if (x >= 1000 && x < 1200)
cout << 5;
if (x >= 1200 && x < 1400)
cout << 4;
if (x >= 1400 && x < ... | [["-", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 8, 9, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 131 |
#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-ffloat-store") // to restrict undesirable precision
#pragma GCC optimize( \
"-fno-defer-pop") // to pop argument of functio... | #include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-ffloat-store") // to restrict undesirable precision
#pragma GCC optimize( \
"-fno-defer-pop") // to pop argument of functio... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 370 |
#include <bits/stdc++.h>
using namespace std;
long long int power(long long int x, long long int y) {
long long int res = 1; // Initialize result
// x=x;
while (y > 0) {
// If y is odd, multiply x with result
if (y & 1)
res = (res * x);
// y must be even now
y = y >> ... | #include <bits/stdc++.h>
using namespace std;
long long int power(long long int x, long long int y) {
long long int res = 1; // Initialize result
// x=x;
while (y > 0) {
// If y is odd, multiply x with result
if (y & 1)
res = (res * x);
// y must be even now
y = y >> ... | [["-", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 530 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = Integer.parseInt(sc.next());
sc.close();
if (N <= 599) {
System.out.println(8);
} else if (N <= 799) {
System.out.println(7);
} else if (N <= 799)... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = Integer.parseInt(sc.next());
sc.close();
if (N <= 599) {
System.out.println(8);
} else if (N <= 799) {
System.out.println(7);
} else if (N <= 999)... | [["-", 75, 57, 75, 57, 15, 15, 0, 16, 12, 499], ["+", 75, 57, 75, 57, 15, 15, 0, 16, 12, 499]] | 3 | 198 |
/*May The Force Be With Me*/
#include <bits/stdc++.h>
#include <ctype.h>
#include <stdio.h>
#pragma GCC optimize("Ofast")
#define ll long long
#define MOD 1000000007
#define endl "\n"
#define vll vector<long long>
#define mll map<long long, long long>
#define pll pair<long long, long long>
#define all(c) c.begin(), c.e... | /*May The Force Be With Me*/
#include <bits/stdc++.h>
#include <ctype.h>
#include <stdio.h>
#pragma GCC optimize("Ofast")
#define ll long long
#define MOD 1000000007
#define endl "\n"
#define vll vector<long long>
#define mll map<long long, long long>
#define pll pair<long long, long long>
#define all(c) c.begin(), c.e... | [["-", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13], ["+", 75, 76, 0, 57, 64, 1, 0, 16, 12, 13]] | 1 | 257 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// if(strcmp(s[i],"AC")==0)
// if(s[l]=='#')
int W_Length(char *str) {
int length = 0;
while (*str++ != '\0')
length++;
return length;
}
void swap(int *a, int *b) {
int temp;
temp = *a;
*a = *b;
*b = temp;
}
// swap(&a, &b)
... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// if(strcmp(s[i],"AC")==0)
// if(s[l]=='#')
int W_Length(char *str) {
int length = 0;
while (*str++ != '\0')
length++;
return length;
}
void swap(int *a, int *b) {
int temp;
temp = *a;
*a = *b;
*b = temp;
}
// swap(&a, &b)
... | [["-", 0, 1, 0, 11, 12, 16, 12, 16, 17, 109], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 85]] | 0 | 221 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.