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
#include <iostream> using namespace std; int main(void) { int x; string ans; cin >> x; if (x >= 35) { ans = "Yes"; } else { ans = "No"; } cout << ans; }
#include <iostream> using namespace std; int main(void) { int x; string ans; cin >> x; if (x >= 30) { ans = "Yes"; } else { ans = "No"; } cout << ans; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
50
x = int(input().split()) if x >= 30: ans = 'Yes' else: ans = 'No' print(ans)
x = int(input()) if x >= 30: ans = 'Yes' else: ans = 'No' print(ans)
[["-", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
33
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double dd; int main() { std::ios_base::sync_with_stdio(0); cin.tie(NULL); int n; cin >> n; if (n < 30) cout << "NO"; else cout << "YES"; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double dd; int main() { std::ios_base::sync_with_stdio(0); cin.tie(NULL); int n; cin >> n; if (n < 30) cout << "No"; else cout << "Yes"; }
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
63
#include <iostream> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }
#include <iostream> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
57
#include <iostream> using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); int x; cin >> x; if (x >= 30) { cout << "yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); int x; cin >> x; if (x >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
63
#include <bits/stdc++.h> using namespace std; #define gc getchar_unlocked #define ll long long #define si(x) scanf("%d", &x) #define sl(x) scanf("%lld", &x) #define ss(s) scanf("%s", s) #define pi(x) printf("%d\n", x) #define pl(x) printf("%lld\n", x) #define ps(s) printf("%s\n", s) // typedef pair<int, int> pii; // ...
#include <bits/stdc++.h> using namespace std; #define gc getchar_unlocked #define ll long long #define si(x) scanf("%d", &x) #define sl(x) scanf("%lld", &x) #define ss(s) scanf("%s", s) #define pi(x) printf("%d\n", x) #define pl(x) printf("%lld\n", x) #define ps(s) printf("%s\n", s) // typedef pair<int, int> pii; // ...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
151
// ********* Assalamualaikum****** IN the name of my Almighty****:):)*** #include <bits/stdc++.h> using namespace std; #define suni \ ios_base::sync_with_stdio(0); \ cin.tie(0); ...
// ********* Assalamualaikum****** IN the name of my Almighty****:):)*** #include <bits/stdc++.h> using namespace std; #define suni \ ios_base::sync_with_stdio(0); \ cin.tie(0); ...
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
130
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #include <ctime> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <queue> #in...
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #include <ctime> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <queue> #in...
[["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59]]
1
169
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll x; cin >> x; if (x >= 30) cout << "YES" << endl; else cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
45
/* ALLAH IS ALMIGHTY ******BISMILLAHIR RAHMANIR RAHIM.****** ALLAH IS ALMIGHTY ``````````````````````````````` AUTHOR: ANISUR RAHAMAN BSMRSTU(SHIICT) ...
/* ALLAH IS ALMIGHTY ******BISMILLAHIR RAHMANIR RAHIM.****** ALLAH IS ALMIGHTY ``````````````````````````````` AUTHOR: ANISUR RAHAMAN BSMRSTU(SHIICT) ...
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
262
ma = lambda :map(int,input().split()) ni = lambda:int(input()) yn = lambda fl:print("Yes") if fl else print("No") import collections import math import itertools import heapq as hq x = ni() if x>=30: f=True else: f=False print(yn(f))
ma = lambda :map(int,input().split()) ni = lambda:int(input()) yn = lambda fl:print("Yes") if fl else print("No") import collections import math import itertools import heapq as hq x = ni() if x>=30: f=True else: f=False yn(f)
[["-", 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
81
#include <iostream> int main() { int a; std::cin >> a; if (a > 30) { std::cout << "Yes"; } else { std::cout << "No"; } return 0; }
#include <iostream> int main() { int a; std::cin >> a; if (a >= 30) { std::cout << "Yes"; } else { std::cout << "No"; } return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
47
#include <iostream> using namespace std; int main() { int n; cin >> n; (n >= 30) ? cout << "YES" : cout << "NO"; return 0; }
#include <iostream> using namespace std; int main() { int n; cin >> n; (n >= 30) ? cout << "Yes" : cout << "No"; return 0; }
[["-", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6]]
1
40
#include <algorithm> #include <bits/stdc++.h> using namespace std; using ll = long long; typedef vector<int> vi; // macros #define F first #define S second #define PB push_back #define MP make_pair #define fio \ ios_base::sync_with_stdio(false); ...
#include <algorithm> #include <bits/stdc++.h> using namespace std; using ll = long long; typedef vector<int> vi; // macros #define F first #define S second #define PB push_back #define MP make_pair #define fio \ ios_base::sync_with_stdio(false); ...
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
121
#include <math.h> #include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) { printf("No"); } else { printf("Yes"); } }
#include <math.h> #include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) { printf("Yes"); } else { printf("No"); } }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
48
/** BISMILLAH @Author : Arham */ #include <bits/stdc++.h> #define endl "\n" #define found true #define infinity 30 #define not_found false #define FOR(limit) for (int i = 0; i < limit; i++) #define __FOR(limit) for (int j = 0; j < limit; j++) #define __FOR__(limit) for (int k = 1; k <= limit; k++) #define hello...
/** BISMILLAH @Author : Arham */ #include <bits/stdc++.h> #define endl "\n" #define found true #define infinity 30 #define not_found false #define FOR(limit) for (int i = 0; i < limit; i++) #define __FOR(limit) for (int j = 0; j < limit; j++) #define __FOR__(limit) for (int k = 1; k <= limit; k++) #define hello...
[["-", 36, 36, 36, 36, 0, 30, 0, 112, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 112, 51, 59]]
1
141
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Arrays; import java.util.Random; import java.util.StringTokenizer; /* 1 4 0011 */ public class Main { public static void main(String[] args) { FastScanner fs = new FastScann...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Arrays; import java.util.Random; import java.util.StringTokenizer; /* 1 4 0011 */ public class Main { public static void main(String[] args) { FastScanner fs = new FastScann...
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
362
/// kazuki08 /* #pragma comment(linker, "/stack:200000000") #pragma GCC optimize("O3") #pragma GCC optimize("Ofast") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") #pragma GCC optimize("unroll-loops") */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds...
/// kazuki08 /* #pragma comment(linker, "/stack:200000000") #pragma GCC optimize("O3") #pragma GCC optimize("Ofast") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") #pragma GCC optimize("unroll-loops") */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds...
[["-", 36, 36, 0, 30, 0, 43, 49, 80, 81, 13], ["+", 36, 36, 0, 30, 0, 43, 49, 80, 81, 13]]
1
666
#include <bits/stdc++.h> #define int long long using pii = std::pair<int, int>; using namespace std; const int maxn = 3005; int R, C, k, r, c, v, dp[4][maxn][maxn], val[maxn][maxn]; int32_t main() { ios_base::sync_with_stdio(false); cin.tie(0); cin >> R >> C >> k; for (int i = 0; i < k; i++) { cin >> r >>...
#include <bits/stdc++.h> #define int long long using pii = std::pair<int, int>; using namespace std; const int maxn = 3005; int R, C, k, r, c, v, dp[maxn][maxn][4], val[maxn][maxn]; int32_t main() { ios_base::sync_with_stdio(false); cin.tie(0); cin >> R >> C >> k; for (int i = 0; i < k; i++) { cin >> r >>...
[["-", 0, 43, 49, 80, 49, 80, 49, 80, 81, 13], ["+", 0, 43, 49, 80, 49, 80, 49, 80, 81, 22], ["-", 36, 36, 0, 30, 0, 43, 49, 80, 81, 22], ["+", 36, 36, 0, 30, 0, 43, 49, 80, 81, 13]]
1
425
#include <bits/stdc++.h> using namespace std; using ll = long long; using bs = pair<bool, string>; using lsl = pair<ll, bs>; map<bs, ll> cost; vector<bs> sts; bool isPalindrome(const string &s, int ini, int fim) { return ini > fim ? true : (s[ini] == s[fim] && isPalindrome(s, ini + 1, fim - 1));...
#include <bits/stdc++.h> using namespace std; using ll = long long; using bs = pair<int, string>; using lsl = pair<ll, bs>; map<bs, ll> cost; vector<bs> sts; bool isPalindrome(const string &s, int ini, int fim) { return ini > fim ? true : (s[ini] == s[fim] && isPalindrome(s, ini + 1, fim - 1)); ...
[["-", 39, 77, 39, 344, 3, 347, 0, 77, 39, 40], ["+", 39, 77, 39, 344, 3, 347, 0, 77, 39, 40]]
1
795
#include <bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back #define eprintf(...) fprintf(stderr, __VA_ARGS__) #define rep(i, n) for (int i = 0; i < (int)(n); ++i) int n; char s[55][25]; ll c[55]; bool ispal(char *s, int l, int r) { while (l < r) { if (s[l] != s...
#include <bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back #define eprintf(...) fprintf(stderr, __VA_ARGS__) #define rep(i, n) for (int i = 0; i < (int)(n); ++i) int n; char s[55][25]; ll c[55]; bool ispal(char *s, int l, int r) { while (l < r) { if (s[l] != s...
[["-", 0, 57, 15, 339, 51, 2, 3, 4, 0, 13], ["+", 0, 57, 15, 339, 51, 2, 3, 4, 0, 22], ["-", 51, 2, 3, 4, 0, 16, 31, 16, 17, 33], ["-", 51, 2, 3, 4, 0, 16, 31, 16, 12, 22]]
1
571
#include <bits/stdc++.h> using namespace std; #define ll long long #define pli pair<ll, int> const int N = 100; struct Edge { int to, nxt, val; } edge[3000000]; int head[N * N], tot; void add(int u, int v, int w) { edge[++tot] = {v, head[u], w}; head[u] = tot; } char s[N][25]; int l[N][25], r[N][25], c[N], id =...
#include <bits/stdc++.h> using namespace std; #define ll long long #define pli pair<ll, int> const int N = 100; struct Edge { int to, nxt, val; } edge[3000000]; int head[N * N], tot; void add(int u, int v, int w) { edge[++tot] = {v, head[u], w}; head[u] = tot; } char s[N][25]; int l[N][25], r[N][25], c[N], id =...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]]
1
1,175
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #in...
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #in...
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22]]
1
2,195
#include <bits/stdc++.h> using namespace std; inline bool isPa(char *ch, int st, int ed) { while (ed >= st) { if (ch[ed] != ch[st]) return 0; st++; ed--; } return 1; } struct St { int tag, len, ty; long long cost; St(int tag, int len, int ty, long long cost) : tag(tag), len(len), ...
#include <bits/stdc++.h> using namespace std; inline bool isPa(char *ch, int st, int ed) { while (ed >= st) { if (ch[ed] != ch[st]) return 0; st++; ed--; } return 1; } struct St { int tag, len, ty; long long cost; St(int tag, int len, int ty, long long cost) : tag(tag), len(len), ...
[["+", 15, 339, 51, 2, 3, 4, 0, 2, 63, 22]]
1
867
#pragma GCC optimize(2) #pragma G++ optimize(2) #include <bits/stdc++.h> #define si(a) scanf("%d", &a) #define sl(a) scanf("%lld", &a) #define sd(a) scanf("%lf", &a) #define ss(a) scanf("%s", a) #define ms(a) memset(a, 0, sizeof(a)) #define repi(i, a, b) for (register int i = a; i <= b; ++i) #define repd(i, a, b) for (...
#pragma GCC optimize(2) #pragma G++ optimize(2) #include <bits/stdc++.h> #define si(a) scanf("%d", &a) #define sl(a) scanf("%lld", &a) #define sd(a) scanf("%lf", &a) #define ss(a) scanf("%s", a) #define ms(a) memset(a, 0, sizeof(a)) #define repi(i, a, b) for (register int i = a; i <= b; ++i) #define repd(i, a, b) for (...
[["-", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13], ["+", 12, 2, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 12, 23, 0, 41, 75, 2, 3, 4, 0, 25]]
1
706
from collections import deque def is_palindrome(S): d = deque(S) while d: if len(d) <= 1: return True if d[0] != d[-1]: return False d.popleft() d.pop() return True def union(S1,S2): l1 = len(S1) l2 = len(S2) for i in range(min(l1,l2)): ...
from collections import deque def is_palindrome(S): d = deque(S) while d: if len(d) <= 1: return True if d[0] != d[-1]: return False d.popleft() d.pop() return True def union(S1,S2): l1 = len(S1) l2 = len(S2) for i in range(min(l1,l2)): ...
[["+", 0, 660, 0, 206, 206, 663, 0, 657, 31, 22], ["+", 0, 660, 0, 206, 206, 663, 0, 657, 17, 33]]
5
478
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <time.h> #include <vector> //#include <math.h> #include <bitset> #include <cassert> #include <cmath> #include <cstdio> #include <deque> #include <fstream> #include <iomanip>...
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <time.h> #include <vector> //#include <math.h> #include <bitset> #include <cassert> #include <cmath> #include <cstdio> #include <deque> #include <fstream> #include <iomanip>...
[["+", 0, 11, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13]]
1
807
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <climits> #include <cmath> #include <cstdlib> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include ...
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <climits> #include <cmath> #include <cstdlib> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include ...
[["-", 51, 2, 3, 4, 0, 2, 3, 4, 0, 22], ["+", 51, 2, 3, 4, 0, 2, 3, 4, 0, 22]]
1
1,342
#include <bits/stdc++.h> using namespace std; typedef int64_t ll; #define rep(i, n) for (ll i = 0; i < n; i++) #define req(x, y) for (ll j = x, k = y; j < k; j++, k--) #define ss(x) s[x].size() #define ch(w, x, y) if (s[b][w] != s[x][y]) #define cm(w, x, y, z) w = min(w, c[i] + f(x, y, z)) ll n, c[51], d[51][21][2], v...
#include <bits/stdc++.h> using namespace std; typedef int64_t ll; #define rep(i, n) for (ll i = 0; i < n; i++) #define req(x, y) for (ll j = x, k = y; j < k; j++, k--) #define ss(x) s[x].size() #define ch(w, x, y) if (s[b][w] != s[x][y]) #define cm(w, x, y, z) w = min(w, c[i] + f(x, y, z)) ll n, c[51], d[51][21][2], v...
[["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]]
1
480
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; i++) using namespace std; using ll = long long; struct E { int to, co; E(int to = 0, int co = 0) : to(to), co(co) {} }; string rev(string s) { reverse(s.begin(), s.end()); return s; } int main() { int m; cin >> m; vector<string> s(m); ...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; i++) using namespace std; using ll = long long; struct E { int to, co; E(int to = 0, int co = 0) : to(to), co(co) {} }; string rev(string s) { reverse(s.begin(), s.end()); return s; } int main() { int m; cin >> m; vector<string> s(m); ...
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 69, 28, 22], ["+", 0, 43, 49, 50, 51, 69, 341, 342, 0, 70], ["+", 0, 43, 49, 50, 51, 69, 341, 342, 0, 13], ["+", 0, 43, 49, 50, 51, 69, 341, 342, 0, 73]]
1
716
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define endl '\n' #define all(x) (x).begin(), (x).end() const int INF = 1e9 + 5; const ll oo = 1e18 + 5; const int N = 2e5 + 5; const int mod = 1e9 + 7; ll dp[55][35][2]; string s[55][2]; ll cost[55]; int n; bool isGud(const string &s, int l, int r) ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define endl '\n' #define all(x) (x).begin(), (x).end() const int INF = 1e9 + 5; const ll oo = 1e18 + 5; const int N = 2e5 + 5; const int mod = 1e9 + 7; ll dp[55][35][2]; string s[55][2]; ll cost[55]; int n; bool isGud(const string &s, int l, int r) ...
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22]]
1
561
N = int(input()) S = [] C = [] for _ in range(N): s, c = input().split() C.append(int(c)) S.append(tuple(ord(c) - ord('a') for c in s)) #print(S) INF = 10**30 dp = {} def min_cost(l, r): if (l, r) in dp: return dp[(l, r)] if l and l == l[::-1]: dp[(l, r)] = 0 return dp[(l, r)] if r and r == r[::...
N = int(input()) S = [] C = [] for _ in range(N): s, c = input().split() C.append(int(c)) S.append(tuple(ord(c) - ord('a') for c in s)) #print(S) INF = 10**30 dp = {} def min_cost(l, r): if (l, r) in dp: return dp[(l, r)] if l and l == l[::-1]: dp[(l, r)] = 0 return dp[(l, r)] if r and r == r[::...
[["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 20], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 47]]
5
607
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; vector<string> S(N); vector<int64_t> C(N); vector<int> sz(N); for (int i = 0; i < N; i++) { cin >> S[i] >> C[i]; sz[i] = S[i].size(); } static int64_t dp[50][21][50][21]; const int64_t INF = 5e18; for (int i = 0; i...
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; vector<string> S(N); vector<int64_t> C(N); vector<int> sz(N); for (int i = 0; i < N; i++) { cin >> S[i] >> C[i]; sz[i] = S[i].size(); } static int64_t dp[50][21][50][21]; const int64_t INF = 5e18; for (int i = 0; i...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]]
1
746
#include <bits/stdc++.h> // #include <boost/multiprecision/cpp_int.hpp> #define int long long #define inf 1000000007 // #define inf 998244353 #define pa pair<int, int> #define ll long long #define pal pair<double, double> #define ppap pair<pa, int> #define PI 3.14159265358979323846 #define paa pair<int, char> #de...
#include <bits/stdc++.h> // #include <boost/multiprecision/cpp_int.hpp> #define int long long #define inf 1000000007 // #define inf 998244353 #define pa pair<int, int> #define ll long long #define pal pair<double, double> #define ppap pair<pa, int> #define PI 3.14159265358979323846 #define paa pair<int, char> #de...
[["+", 51, 16, 31, 69, 341, 342, 0, 16, 17, 33], ["+", 51, 16, 31, 69, 341, 342, 0, 16, 12, 13]]
1
2,492
#include <iostream> #include <map> #include <queue> #include <string> using namespace std; typedef long long ll; typedef pair<string, bool> P; typedef pair<ll, P> PP; const ll INF = 10000000000000000; int main() { int n; cin >> n; string s[52]; ll c[52]; priority_queue<PP, vector<PP>, greater<PP>> que; ma...
#include <iostream> #include <map> #include <queue> #include <string> using namespace std; typedef long long ll; typedef pair<string, bool> P; typedef pair<ll, P> PP; const ll INF = 10000000000000000; int main() { int n; cin >> n; string s[52]; ll c[52]; priority_queue<PP, vector<PP>, greater<PP>> que; ma...
[["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 13], ["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 21]]
1
656
#include <bits/stdc++.h> #define inf 0x3f3f3f3f3f3f3f3fll using namespace std; typedef long long ll; const int maxn = 5000010; int tot, head[maxn], nex[maxn], to[maxn], w[maxn]; void add(int u, int v, int _w) { to[++tot] = v; nex[tot] = head[u]; head[u] = tot; w[tot] = _w; } int n, id, st, c[55], len[55], et, l...
#include <bits/stdc++.h> #define inf 0x3f3f3f3f3f3f3f3fll using namespace std; typedef long long ll; const int maxn = 5000010; int tot, head[maxn], nex[maxn], to[maxn], w[maxn]; void add(int u, int v, int _w) { to[++tot] = v; nex[tot] = head[u]; head[u] = tot; w[tot] = _w; } int n, id, st, c[55], len[55], et, l...
[["-", 0, 57, 64, 9, 0, 7, 8, 1, 0, 35], ["-", 51, 16, 12, 69, 28, 69, 341, 342, 0, 22], ["+", 51, 16, 12, 69, 28, 69, 341, 342, 0, 22]]
1
1,215
#include <bits/stdc++.h> #define inf (long long)(1e18) using namespace std; struct dat { long long cos; bool isr; string now; bool operator<(const dat &r) const { return cos > r.cos; } }; using P = pair<string, bool>; long long n; vector<string> s, rs; vector<long long> c; map<P, long long> mp; priority_queu...
#include <bits/stdc++.h> #define inf (long long)(1e18) using namespace std; struct dat { long long cos; bool isr; string now; bool operator<(const dat &r) const { return cos > r.cos; } }; using P = pair<string, bool>; long long n; vector<string> s, rs; vector<long long> c; map<P, long long> mp; priority_queu...
[["-", 8, 9, 0, 43, 49, 50, 49, 352, 0, 67], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 22], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 21]]
1
683
//#pragma GCC optimize("O3") //#pragma GCC optimize("unroll-loops") //#pragma GCC target("avx2") // 293206GT #include <algorithm> #include <algorithm> #include <bitset> #include <chrono> #include <cmath> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <stri...
//#pragma GCC optimize("O3") //#pragma GCC optimize("unroll-loops") //#pragma GCC target("avx2") // 293206GT #include <algorithm> #include <algorithm> #include <bitset> #include <chrono> #include <cmath> #include <iostream> #include <map> #include <queue> #include <random> #include <set> #include <stack> #include <stri...
[["+", 3, 4, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 3, 4, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 3, 4, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 33], ["+", 341, 342, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 16, 31, 69, 341, 342, 0, 16, 17, 33]]
1
1,718
#include <bits/stdc++.h> using namespace std; const int N = 55; const long long inf = 2e18; string s[N]; int c[N], n; long long dp[N][22][22][2]; long long yo(int k, int st, int en, int f) { string nw = s[k].substr(st, en - st + 1); string tmp(nw.rbegin(), nw.rend()); long long &ans = dp[k][st][en][f]; if (n...
#include <bits/stdc++.h> using namespace std; const int N = 55; const long long inf = 2e18; string s[N]; int c[N], n; long long dp[N][22][22][2]; long long yo(int k, int st, int en, int f) { string nw = s[k].substr(st, en - st + 1); string tmp(nw.rbegin(), nw.rend()); long long &ans = dp[k][st][en][f]; if (n...
[["+", 0, 11, 12, 2, 3, 4, 0, 16, 17, 33], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13]]
1
666
#include <bits/stdc++.h> typedef long long ll; using namespace std; #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(0); #define all(x) x.begin(), x.end() #define pb push_back #define pf push_front...
#include <bits/stdc++.h> typedef long long ll; using namespace std; #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(0); #define all(x) x.begin(), x.end() #define pb push_back #define pf push_front...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
112
/* █▀ █░█ █▀█ █▀▀ █▄█ ▄▀█ █▀ █░█   █░█░█ ▄▀█ █▀   █░█ █▀▀ █▀█ █▀▀ ▄█ █▀█ █▀▄ ██▄ ░█░ █▀█ ▄█ █▀█   ▀▄▀▄▀ █▀█ ▄█   █▀█ ██▄ █▀▄ ██▄*//* MMMMMMMMMMMMMMMMMMMMM. MMMMMMMMMMMMMMMMMMMMM `MMMMMMMMMMMMMMMMMMMM M\ /M MMMMMMMMMMMMMMMMMMMM' `MMMMMMMMMMMMMMMMMMM MMMMMM...
/* █▀ █░█ █▀█ █▀▀ █▄█ ▄▀█ █▀ █░█   █░█░█ ▄▀█ █▀   █░█ █▀▀ █▀█ █▀▀ ▄█ █▀█ █▀▄ ██▄ ░█░ █▀█ ▄█ █▀█   ▀▄▀▄▀ █▀█ ▄█   █▀█ ██▄ █▀▄ ██▄*//* MMMMMMMMMMMMMMMMMMMMM. MMMMMMMMMMMMMMMMMMMMM `MMMMMMMMMMMMMMMMMMMM M\ /M MMMMMMMMMMMMMMMMMMMM' `MMMMMMMMMMMMMMMMMMM MMMMMM...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
577
if int(input())>29: print(Yes) else: print(No)
if int(input())>29: print("Yes") else: print("No")
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
20
#include <bits/stdc++.h> using namespace std; int main() { int x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << 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
38
x = int(input()) if(x>30): print('Yes') else: print('No')
# your code goes here x = int(input()) if(x>=30): print('Yes') else: print('No')
[["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 20]]
5
29
#include <bits/stdc++.h> using namespace std; #define FIO \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0) #define ll long l...
#include <bits/stdc++.h> using namespace std; #define FIO \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0) #define ll long l...
[["-", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6]]
1
60
#include <algorithm> #include <iostream> using namespace std; const int mod = 1e9 + 7; int main() { // freopen("input.txt","r",stdin);//设置 cin scanf 这些输入流都从 //test.in中读取 int x; cin >> x; if (x >= 30) cout << "Yes"; else cout << "NO"; return 0; }
#include <algorithm> #include <iostream> using namespace std; const int mod = 1e9 + 7; int main() { // freopen("input.txt","r",stdin);//设置 cin scanf 这些输入流都从 //test.in中读取 int x; cin >> x; if (x >= 30) cout << "Yes"; else cout << "No"; return 0; }
[["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
53
print('Yes' if int(input())==30 else 'No')
print('Yes' if int(input())>=30 else 'No')
[["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 60], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 20]]
5
19
#include <bits/stdc++.h> using namespace std; int main() { int T; cin >> T; if (T < 30) cout << "NO"; else cout << "YES"; }
#include <bits/stdc++.h> using namespace std; int main() { int T; cin >> T; if (T < 30) cout << "No"; else cout << "Yes"; }
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
38
#include <bits/stdc++.h> using namespace std; #define V vector typedef long long ll; #define rep(i, begin, end) \ for (__typeof(end) i = (begin) - ((begin) > (end)); \ i != (end) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end))) ...
#include <bits/stdc++.h> using namespace std; #define V vector typedef long long ll; #define rep(i, begin, end) \ for (__typeof(end) i = (begin) - ((begin) > (end)); \ i != (end) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end))) ...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
128
#include <algorithm> #include <bitset> #include <cstdio> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <set> #include <stdlib.h> #include <string> #include <utility> #include <vector> using namespace std; typedef long long int ll; typedef long double ld; typedef pai...
#include <algorithm> #include <bitset> #include <cstdio> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <set> #include <stdlib.h> #include <string> #include <utility> #include <vector> using namespace std; typedef long long int ll; typedef long double ld; typedef pai...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
275
#include <bits/stdc++.h> #define ull unsigned long long #define ll long long #define l1 long #define ld long double #define lld long long double #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NUL...
#include <bits/stdc++.h> #define ull unsigned long long #define ll long long #define l1 long #define ld long double #define lld long long double #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NUL...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6]]
1
191
#include <bits/stdc++.h> using namespace std; typedef long long int ll; #define mod 1000000007 #define all(v) v.begin(), v.end() #define pb push_back #define size(v) (int)v.size() #define fast \ ios_base::sync_with_stdio(false); ...
#include <bits/stdc++.h> using namespace std; typedef long long int ll; #define mod 1000000007 #define all(v) v.begin(), v.end() #define pb push_back #define size(v) (int)v.size() #define fast \ ios_base::sync_with_stdio(false); ...
[["-", 0, 1, 0, 11, 12, 41, 64, 5, 0, 6], ["+", 0, 1, 0, 11, 12, 41, 64, 5, 0, 6], ["-", 0, 1, 0, 11, 12, 41, 75, 5, 0, 6], ["+", 0, 1, 0, 11, 12, 41, 75, 5, 0, 6]]
1
206
#include <bits/stdc++.h> #define rep(i, a, n) for (int i = int(a); i < int(n); i++) #define OUT freopen("output.txt", "w", stdout) #define IN freopen("input.txt", "r", stdin) #define mem(a, b) memset((a), (b), sizeof(a)) #define NumofDigits(n) ((int)log10(n) + 1) #define NumofBits(n) ((int)log2(n) + 1) #define PI 3.141...
#include <bits/stdc++.h> #define rep(i, a, n) for (int i = int(a); i < int(n); i++) #define OUT freopen("output.txt", "w", stdout) #define IN freopen("input.txt", "r", stdin) #define mem(a, b) memset((a), (b), sizeof(a)) #define NumofDigits(n) ((int)log10(n) + 1) #define NumofBits(n) ((int)log2(n) + 1) #define PI 3.141...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
147
// tanzim bin nasir #include <bits/stdc++.h> typedef long long ll; #define pii pair<ll, ll> #define ff first #define ss second using namespace std; void fast() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } ll gcd(ll a, ll b) { if (b == 0) return a; else gcd(b, a % b); } ll lcd(ll a, ...
// tanzim bin nasir #include <bits/stdc++.h> typedef long long ll; #define pii pair<ll, ll> #define ff first #define ss second using namespace std; void fast() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } ll gcd(ll a, ll b) { if (b == 0) return a; else gcd(b, a % b); } ll lcd(ll a, ...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
137
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (30 <= X) { cout << "Yes" << endl; } else { cout << "no" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (30 <= X) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
49
#include <iostream> using namespace std; int main(void) { // Your code here! int X; cin >> X; if (X <= 30) { cout << "No" << endl; } else cout << "Yes" << endl; }
#include <iostream> using namespace std; int main(void) { // Your code here! int X; cin >> X; if (X < 30) { cout << "No" << endl; } else cout << "Yes" << endl; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]]
1
46
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <map> #define lk (k << 1) #define rk (k << 1 | 1) using namespace std; typedef long long ll; const int inf = 0x3f3f3f3f; const int N = 1e5 + 10; int main() { int n; cin >> n; if (n >= 30) cout << "YES" << endl; else c...
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <map> #define lk (k << 1) #define rk (k << 1 | 1) using namespace std; typedef long long ll; const int inf = 0x3f3f3f3f; const int N = 1e5 + 10; int main() { int n; cin >> n; if (n >= 30) cout << "Yes" << endl; else c...
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
78
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); if (scanner.nextInt() >= 30) { System.out.println("YES"); } else { System.out.println("NO"); } } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); if (scanner.nextInt() >= 30) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
72
X = int(input()) def Main(X): return "Yes" if X <= 30 else "No" print(Main(X))
X = int(input()) def Main(X): return "Yes" if X >= 30 else "No" print(Main(X))
[["-", 8, 196, 0, 37, 0, 41, 0, 666, 667, 19], ["+", 8, 196, 0, 37, 0, 41, 0, 666, 667, 20]]
5
33
#include <bits/stdc++.h> using namespace std; #define all(x) x.begin(), x.end() #define sz(x) (int)x.size() #define pb push_back #define endl '\n' #define snd second #define fst first #define fastio cin.tie(NULL), cout.sync_with_stdio(true) typedef long long int ll; typedef unsigned long long int ull; typedef vector...
#include <bits/stdc++.h> using namespace std; #define all(x) x.begin(), x.end() #define sz(x) (int)x.size() #define pb push_back #define endl '\n' #define snd second #define fst first #define fastio cin.tie(NULL), cout.sync_with_stdio(true) typedef long long int ll; typedef unsigned long long int ull; typedef vector...
[["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 60], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20]]
1
142
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int, int> pii; #define mp make_pair #define pb push_back #define f first #define s second // var int x; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> x; cout << (x >= 30 ? "YES" : "NO") << endl; cout.flush(); ...
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int, int> pii; #define mp make_pair #define pb push_back #define f first #define s second // var int x; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> x; cout << (x >= 30 ? "Yes" : "No") << endl; cout.flush(); ...
[["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]]
1
87
n=int(input()) #a,b=map(int,input().split()) #a=list(map(int,input().split())) if n>=30: print('YES') else: print('NO')
n=int(input()) #a,b=map(int,input().split()) #a=list(map(int,input().split())) if n>=30: print('Yes') else: print('No')
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
29
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <string> using namespace std; using namespace __gnu_pbds; #define int long long #define pii pair<int, int> #define ordered_set \ tree<int, null_typ...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <string> using namespace std; using namespace __gnu_pbds; #define int long long #define pii pair<int, int> #define ordered_set \ tree<int, null_typ...
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
114
#include <bits/stdc++.h> ///...................................*****................................................./// /// Author : Raihan Khan Raka ( raihankhanraka@gmail.com ) /// /// Department of Computer Science /// & Engineering /// /// Comilla University , Bangladesh....
#include <bits/stdc++.h> ///...................................*****................................................./// /// Author : Raihan Khan Raka ( raihankhanraka@gmail.com ) /// /// Department of Computer Science /// & Engineering /// /// Comilla University , Bangladesh....
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
363
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define MAX(x, y) ((x) > (y) ? (x) : (y)) #define MIN(x, y) ((x) < (y) ? (x) : (y)) #define fastio \ ios_base::sync_with_stdio(0); \ cin....
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define MAX(x, y) ((x) > (y) ? (x) : (y)) #define MIN(x, y) ((x) < (y) ? (x) : (y)) #define fastio \ ios_base::sync_with_stdio(0); \ cin....
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
111
/* Author : Kaustubh Gangwar Institute : IIITA */ #include <bits/stdc++.h> using namespace std; #define modo 1000000007 #define F first #define S second #define pb push_back #define gcd __gcd #define vi vector<int> #define vll vector<long long> #define all(x) (x).begin(), (x).end() #define f(i, a, b...
/* Author : Kaustubh Gangwar Institute : IIITA */ #include <bits/stdc++.h> using namespace std; #define modo 1000000007 #define F first #define S second #define pb push_back #define gcd __gcd #define vi vector<int> #define vll vector<long long> #define all(x) (x).begin(), (x).end() #define f(i, a, b...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
183
#include <bits/stdc++.h> using namespace std; void __print(int x) { cout << x; } void __print(long x) { cout << x; } void __print(long long x) { cout << x; } void __print(unsigned x) { cout << x; } void __print(unsigned long x) { cout << x; } void __print(unsigned long long x) { cout << x; } void __print(float x) { cou...
#include <bits/stdc++.h> using namespace std; void __print(int x) { cout << x; } void __print(long x) { cout << x; } void __print(long long x) { cout << x; } void __print(unsigned x) { cout << x; } void __print(unsigned long x) { cout << x; } void __print(unsigned long long x) { cout << x; } void __print(float x) { cou...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
531
#include <bits/stdc++.h> using namespace std; using ll = long long; #include <algorithm> #include <cmath> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <string_view> #include <unordered_map> #inc...
#include <bits/stdc++.h> using namespace std; using ll = long long; #include <algorithm> #include <cmath> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <string_view> #include <unordered_map> #inc...
[["-", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22]]
1
1,332
#include <bits/stdc++.h> using namespace std; long long n; int main() { scanf("%d", &n); if (n >= 30) printf("Yes\n"); else printf("No\n"); return 0; }
#include <bits/stdc++.h> using namespace std; long long n; int main() { scanf("%lld", &n); if (n >= 30) printf("Yes"); else printf("No"); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
52
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); if (n >= 30) System.out.println("yes"); else System.out.println("no"); in.close(); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); if (n >= 30) System.out.println("Yes"); else System.out.println("No"); in.close(); } }
[["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
79
#include <bits/stdc++.h> using namespace std; typedef unsigned long long int ll; #define rep(i, n) for (ll i = 0; i < n; i++) ll zetai(ll a, ll b) { if (a > b) return a - b; else return b - a; } int main() { int x; cin >> x; if (x > 30) cout << "Yes" << endl; else cout << "No" << endl; ...
#include <bits/stdc++.h> using namespace std; typedef unsigned long long int ll; #define rep(i, n) for (ll i = 0; i < n; i++) ll zetai(ll a, ll b) { if (a > b) return a - b; else return b - a; } int main() { int x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; ...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
88
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll x; cin >> x; if (x >= 30) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll x; cin >> x; if (x >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
49
#include <bits/stdc++.h> #define F first #define S second #define ll long long #define pb push_back #define endl '\n' using namespace std; const int MOD = 1e9 + 7; const int N = 510; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n; cin >> n; if (n >= 30) cout << "YES\n"; ...
#include <bits/stdc++.h> #define F first #define S second #define ll long long #define pb push_back #define endl '\n' using namespace std; const int MOD = 1e9 + 7; const int N = 510; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n; cin >> n; if (n >= 30) cout << "Yes\n"; ...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
90
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define eb emplace_back #define REP(i, n) for (int i = 0; i < (n); ++i) #define caset \ int ___T; ...
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define eb emplace_back #define REP(i, n) for (int i = 0; i < (n); ++i) #define caset \ int ___T; ...
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
92
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { setIO(); int X = ni(); out.println(X >= 30 ? "YES" : "NO"); f.close(); out.close(); } static final int MOD = 1000000007; static BufferedReader f; static PrintWriter ou...
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { setIO(); int X = ni(); out.println(X >= 30 ? "Yes" : "No"); f.close(); out.close(); } static final int MOD = 1000000007; static BufferedReader f; static PrintWriter ou...
[["-", 0, 492, 3, 4, 0, 510, 64, 5, 0, 491], ["+", 0, 492, 3, 4, 0, 510, 64, 5, 0, 491], ["-", 0, 492, 3, 4, 0, 510, 75, 5, 0, 491], ["+", 0, 492, 3, 4, 0, 510, 75, 5, 0, 491]]
3
292
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef unsigned long long int ull; const long long int m = 1e9 + 7; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef unsigned long long int ull; const long long int m = 1e9 + 7; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["+", 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
78
// BISMILLAH #include <bits/stdc++.h> using namespace std; #define ll long long int main() { int t, n, vagfol, vagsesh, flag = 0; cin >> t; if (t >= 30) cout << "YES" << endl; else cout << "NO" << endl; }
// BISMILLAH #include <bits/stdc++.h> using namespace std; #define ll long long int main() { int t, n, vagfol, vagsesh, flag = 0; cin >> t; if (t >= 30) cout << "Yes" << endl; else cout << "No" << endl; }
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
56
function MainA(input) { console.log(Number(input.trim()) >= 30 ? 'Yes' : 'No'); } Main(require("fs").readFileSync("/dev/stdin", "utf8"));
function MainA(input) { console.log(Number(input.trim()) >= 30 ? 'Yes' : 'No'); } MainA(require("fs").readFileSync("/dev/stdin", "utf8"));
[["-", 36, 36, 0, 493, 0, 1, 0, 2, 63, 22], ["+", 36, 36, 0, 493, 0, 1, 0, 2, 63, 22]]
2
52
#include <iostream> using namespace std; #include <string> int main() { // 整数の入力 int a; cin >> a; if (a < 30) { // 出力 cout << "NO" << endl; } else { // 出力 cout << "YES" << endl; } return 0; }
#include <iostream> using namespace std; #include <string> int main() { // 整数の入力 int a; cin >> a; if (a < 30) { // 出力 cout << "No" << endl; } else { // 出力 cout << "Yes" << endl; } return 0; }
[["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
54
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back void solve() { int temp; cin >> temp; if (temp == 30) cout << "Yes\n"; else cout << "No\n"; } int main() { solve(); return 0; }
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back void solve() { int temp; cin >> temp; if (temp >= 30) cout << "Yes\n"; else cout << "No\n"; } int main() { solve(); return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
59
#include <bits/stdc++.h> #pragma GCC optmize("03") #define boost \ ios::sync_with_stdio(); \ cin.tie(); \ cout.tie(); using namesp...
#include <bits/stdc++.h> #pragma GCC optmize("03") #define boost \ ios::sync_with_stdio(); \ cin.tie(); \ cout.tie(); using namesp...
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
96
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <climits> #include <cmath> #include <cstdio> #include <cstring> #include <ctime> #include <deque> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <map> #include <numeric> #include <q...
#include <algorithm> #include <bitset> #include <cassert> #include <chrono> #include <climits> #include <cmath> #include <cstdio> #include <cstring> #include <ctime> #include <deque> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <map> #include <numeric> #include <q...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 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, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
203
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n > 30) cout << "Yes"; else cout << "No"; }
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n >= 30) cout << "Yes"; else cout << "No"; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
38
/* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂ ঔৣ۝महाकालᴳᵒᵈ۝ঔৣ */ #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; // template <typename T, typename cmp=less<T>> using oset =tree<T, null_type, // cmp, rb_...
/* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂ ঔৣ۝महाकालᴳᵒᵈ۝ঔৣ */ #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; // template <typename T, typename cmp=less<T>> using oset =tree<T, null_type, // cmp, rb_...
[["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18]]
1
235
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> using namespace __gnu_pbds; using namespace std; #define ff first #define ss second #define int long long #define pb push_back #define mp make_pair #define mt make_tuple #define pii pair<int, int> #define vi vector<int> #define mii map<int, int> #define...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> using namespace __gnu_pbds; using namespace std; #define ff first #define ss second #define int long long #define pb push_back #define mp make_pair #define mt make_tuple #define pii pair<int, int> #define vi vector<int> #define mii map<int, int> #define...
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
161
/*..........mango is luv..........*/ #include <bits/stdc++.h> using namespace std; #define fk(i, start, end) for (ll i = start; i < ll(end); i++) typedef long long int ll; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); ll n; cin >> n; if (n >= 30) { cout << "Yes"; } else...
/*..........mango is luv..........*/ #include <bits/stdc++.h> using namespace std; #define fk(i, start, end) for (ll i = start; i < ll(end); i++) typedef long long int ll; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); ll n; cin >> n; if (n >= 30) { cout << "Yes"; } else...
[["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]]
1
83
#include <bits/stdc++.h> #include <random> #include <unordered_set> using namespace std; #define ll long long #define fr first #define sc second #define pll pair<ll, ll> #define all(v) v.begin(), v.end() int main() { ios::sync_with_stdio(false); cin.tie(0); int x; cin >> x; if (x >= 30) cout << "YES"; ...
#include <bits/stdc++.h> #include <random> #include <unordered_set> using namespace std; #define ll long long #define fr first #define sc second #define pll pair<ll, ll> #define all(v) v.begin(), v.end() int main() { ios::sync_with_stdio(false); cin.tie(0); int x; cin >> x; if (x >= 30) cout << "Yes"; ...
[["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]]
1
77
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(0); ll x; cin >> x; cout << (x >= 30 ? "YES" : "NO") << '\n'; }
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(0); ll x; cin >> x; cout << (x >= 30 ? "Yes" : "No") << '\n'; }
[["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]]
1
59
#include <bits/stdc++.h> // https://qiita.com/ysuzuki19/items/d89057d65284ba1a16ac #define debug(var) \ do { \ std::cout << #var << " : "; ...
#include <bits/stdc++.h> // https://qiita.com/ysuzuki19/items/d89057d65284ba1a16ac #define debug(var) \ do { \ std::cout << #var << " : "; ...
[["+", 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
187
#include <bits/stdc++.h> using namespace std; int main() { int X; if (X < 30) { cout << "No" << endl; } else { cout << "Yes" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (X < 30) { cout << "No" << endl; } else { cout << "Yes" << 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
42
#include <algorithm> #include <bitset> #include <cmath> #include <complex> #include <cstdio> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <stack> #include <string.h> #include <string> #include <sys/time.h> #include...
#include <algorithm> #include <bitset> #include <cmath> #include <complex> #include <cstdio> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <stack> #include <string.h> #include <string> #include <sys/time.h> #include...
[["-", 0, 14, 8, 9, 0, 37, 0, 16, 17, 60], ["+", 0, 14, 8, 9, 0, 37, 0, 16, 17, 20]]
1
294
#pragma GCC optimize(2) #pragma GCC optimize(3) #include <bits/stdc++.h> using namespace std; #define MaxN 100010 //#define MOD 998244353 #define PI acos(-1.0) #define INF 0x3f3f3f3f #define endl '\n' #define LL long long #define PII pair<int, int> #define rint register int #define ULL unsigned long long const int MOD ...
#pragma GCC optimize(2) #pragma GCC optimize(3) #include <bits/stdc++.h> using namespace std; #define MaxN 100010 //#define MOD 998244353 #define PI acos(-1.0) #define INF 0x3f3f3f3f #define endl '\n' #define LL long long #define PII pair<int, int> #define rint register int #define ULL unsigned long long const int MOD ...
[["+", 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
256
#include <bits/stdc++.h> using namespace std; #define pb push_back #define mx 1000007 #define ll long long int main() { int n; cin >> n; n >= 30 ? cout << "YES" << endl : cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; #define pb push_back #define mx 1000007 #define ll long long int main() { int n; cin >> n; n >= 30 ? cout << "Yes" << endl : cout << "No" << endl; }
[["-", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 41, 75, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 75, 16, 31, 16, 12, 5, 0, 6]]
1
48
#include <stdio.h> int main(void) { // Your code here! int x; scanf("%d", x); if (x >= 30) { printf("Yes"); } else { printf("No"); } }
#include <stdio.h> int main(void) { // Your code here! int x; scanf("%d", &x); if (x >= 30) { printf("Yes"); } else { printf("No"); } }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
47
#include <bits/stdc++.h> using namespace std; int main() { int s; cin >> s; if (s >= 30) { cout << s << "Yes"; } else { cout << "No"; } }
#include <bits/stdc++.h> using namespace std; int main() { int s; cin >> s; if (s >= 30) { cout << "Yes"; } else { cout << "No"; } }
[["-", 64, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["-", 0, 57, 64, 9, 0, 1, 0, 16, 17, 151]]
1
44
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int degree = in.nextInt(); String ans = Ac(degree); System.out.println(ans); } public static String Ac(int degree) { String result; if (degree >= 30) { result...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int degree = in.nextInt(); String ans = Ac(degree); System.out.println(ans); } public static String Ac(int degree) { String result; if (degree >= 30) { result...
[["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 491], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 491], ["-", 75, 196, 0, 1, 0, 11, 12, 5, 0, 491], ["+", 75, 196, 0, 1, 0, 11, 12, 5, 0, 491]]
3
100
#include <stdio.h> int main() { int X; scanf("%d", &X); X >= 30 ? printf("yes") : printf("no"); return 0; }
#include <stdio.h> int main() { int X; scanf("%d", &X); (X >= 30) ? printf("Yes") : printf("No"); return 0; }
[["+", 8, 9, 0, 1, 0, 41, 15, 23, 0, 24], ["+", 8, 9, 0, 1, 0, 41, 15, 23, 0, 25], ["-", 0, 41, 64, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 41, 64, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 41, 75, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 41, 75, 2, 3, 4, 0, 5, 0, 6]]
1
42
#include <stdio.h> int main() { int temp; scanf("%d", &temp); temp == 30 ? printf("Yes") : printf("No"); return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); x >= 30 ? printf("Yes") : printf("No"); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22], ["-", 8, 9, 0, 1, 0, 41, 15, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 41, 15, 16, 17, 60], ["+", 8, 9, 0, 1, 0, 41, 15, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 41, 15, ...
1
42
#include <stdio.h> int main() { int suhu; scanf("%d", &suhu); suhu > 30 ? printf("Yes") : printf("No"); return 0; }
#include <stdio.h> int main() { int suhu; scanf("%d", &suhu); (suhu >= 30) ? printf("Yes") : printf("No"); return 0; }
[["+", 8, 9, 0, 1, 0, 41, 15, 23, 0, 24], ["-", 8, 9, 0, 1, 0, 41, 15, 16, 17, 47], ["+", 0, 1, 0, 41, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 1, 0, 41, 15, 23, 0, 25]]
1
42
#include <stdio.h> int main() { int x; scanf("%d", &x); x > 30 ? printf("Yes") : printf("No"); return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); (x >= 30) ? printf("Yes\n") : printf("No\n"); return 0; }
[["+", 8, 9, 0, 1, 0, 41, 15, 23, 0, 24], ["-", 8, 9, 0, 1, 0, 41, 15, 16, 17, 47], ["+", 0, 1, 0, 41, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 1, 0, 41, 15, 23, 0, 25], ["+", 0, 41, 64, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 41, 75, 2, 3, 4, 0, 5, 0, 44]]
1
42