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 <bits/stdc++.h> using namespace std; #define int ll #define ll long long #define I32_MAX 2147483647 #define I64_MAX 9223372036854775807LL #define I64_MAX2 1223372036854775807LL #define INF I64_MAX2 #define MOD 1000000007 // #define MOD 998244353 #define MEM_SIZE 101010 #define DEBUG_OUT true #define ALL(x) (x)...
#include <bits/stdc++.h> using namespace std; #define int ll #define ll long long #define I32_MAX 2147483647 #define I64_MAX 9223372036854775807LL #define I64_MAX2 1223372036854775807LL #define INF I64_MAX2 #define MOD 1000000007 // #define MOD 998244353 #define MEM_SIZE 101010 #define DEBUG_OUT true #define ALL(x) (x)...
[["-", 8, 9, 0, 43, 49, 50, 51, 4, 0, 21], ["-", 8, 9, 0, 43, 49, 50, 51, 4, 0, 13]]
1
1,051
// This Code was made by Chinese_zjc_. #include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <time.h> #include <vector> // #include<...
// This Code was made by Chinese_zjc_. #include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <time.h> #include <vector> // #include<...
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 47], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
588
#define M ' ' char *s, T[M], *r = T; U[M * 35]; n; k; main(i) { for (; gets(r + 1); k = !--n) for (; *++r &= 31;) U[r - T] = k |= !!n << *r; for (; ~i--;) for (s = r; s-- > T; k = U[k] = U[k -= ~-~*s * M] ?: *s ? s - T : 0) n += __builtin_popcount(U[s - T] & (U[k - M] ^= !s[-1] << *s)); prin...
#define M ' ' char *s, T[M], *r = T; U[M * 35]; n; k; main(i) { for (; gets(r + 1); k = !--n) for (; *++r &= 31;) U[r - T] = k |= !!n << *r; for (; ~i--;) for (s = r; s-- > T; k = U[k] = U[k -= ~-~*s * M] ?: *s ? s - T : 0) n += __builtin_popcount(U[s - T] & (U[k + M] ^= !s[-1] << *s)); prin...
[["-", 12, 23, 0, 11, 31, 69, 71, 16, 17, 33], ["+", 12, 23, 0, 11, 31, 69, 71, 16, 17, 72]]
0
167
#include <bits/stdc++.h> using namespace std; using ll = long long; using pp = pair<char, int>; using pic = pair<int, pair<char, int>>; template <typename T> struct BIT { int mxn; vector<T> data; const bool zi; const T un; BIT<T>(int max_n, bool zero_indexed = false, T unit = T(0)) : mxn(max_n), zi(zer...
#include <bits/stdc++.h> using namespace std; using ll = long long; using pp = pair<char, int>; using pic = pair<int, pair<char, int>>; template <typename T> struct BIT { int mxn; vector<T> data; const bool zi; const T un; BIT<T>(int max_n, bool zero_indexed = false, T unit = T(0)) : mxn(max_n), zi(zer...
[["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 20], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 33], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
1,505
#include <bits/stdc++.h> using namespace std; #define pb push_back #define LL long long const int N = 2e5 + 5; int n; vector<string> v; vector<int> c[N][26]; LL ans; int main() { cin >> n; for (int i = 0; i < n; i++) { string s; cin >> s; reverse(s.begin(), s.end()); v.pb(s); } sort(v.begin(),...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define LL long long const int N = 2e5 + 5; int n; vector<string> v; vector<int> c[N][26]; LL ans; int main() { cin >> n; for (int i = 0; i < n; i++) { string s; cin >> s; reverse(s.begin(), s.end()); v.pb(s); } sort(v.begin(),...
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]]
1
579
import numpy as np from numpy.fft import rfft,irfft p = 200003 N = int(input()) A = list(map(int,input().split())) a = np.zeros(p-1) g = 1 d = {} p2 = [1]*p for i in range(p): d[g] = i p2[i] = g g *= 2 g %= p for i in range(N): if A[i]==0: continue a[d[A[i]]] += 1 b = rfft(a,2*p-2) b...
import numpy as np from numpy.fft import rfft,irfft p = 200003 N = int(input()) A = list(map(int,input().split())) a = np.zeros(p-1) g = 1 d = {} p2 = [1]*(p-1) for i in range(p-1): d[g] = i p2[i] = g g *= 2 g %= p for i in range(N): if A[i]==0: continue a[d[A[i]]] += 1 b = rfft(a,2*...
[["+", 0, 1, 0, 662, 12, 657, 12, 23, 0, 24], ["+", 0, 662, 12, 657, 12, 23, 0, 657, 17, 33], ["+", 0, 662, 12, 657, 12, 23, 0, 657, 12, 612], ["+", 0, 1, 0, 662, 12, 657, 12, 23, 0, 25], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 33], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]]
5
220
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = a; i < (b); ++i) #define all(x) begin(x), end(x) #define sz(x) (int)(x).size() #define pb push_back typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; /** * Author: Ludo Pulles, chilli, Simon Lindholm * Date: 2019...
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = a; i < (b); ++i) #define all(x) begin(x), end(x) #define sz(x) (int)(x).size() #define pb push_back typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; /** * Author: Ludo Pulles, chilli, Simon Lindholm * Date: 2019...
[["+", 12, 16, 12, 2, 3, 4, 0, 2, 63, 22], ["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 24], ["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 25]]
1
863
import numpy def convolve(g, h): s=len(g)+len(h)+1 n=1 while n<s: n*=2 gg=numpy.fft.fft(g+[0]*(n-len(g))) hh=numpy.fft.fft(h+[0]*(n-len(h))) ff=[gg[i]*hh[i] for i in range(n)] ff=numpy.fft.ifft(ff) ans=[int(ff[i].real+0.5) for i in range(n)] return ans p=200003 n=int(input()) arr=list(map(int,...
import numpy def convolve(g, h): s=len(g)+len(h)+1 n=1 while n<s: n*=2 gg=numpy.fft.fft(g+[0]*(n-len(g))) hh=numpy.fft.fft(h+[0]*(n-len(h))) ff=[gg[i]*hh[i] for i in range(n)] ff=numpy.fft.ifft(ff) ans=[int(ff[i].real+0.5) for i in range(n)] return ans p=200003 n=int(input()) arr=list(map(int,...
[["+", 0, 656, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 0, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 79], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 0, 612], ["+", 0, 656, 0, 7, 8, 196, 0, 57, 0, 102]]
5
300
#include <bits/stdc++.h> using namespace std; using int64 = long long; constexpr int DEBUG = 0; constexpr int64 P = 200003; using Complex = complex<double>; // Reference: http://www.prefield.com/algorithm/math/fft.html vector<Complex> DFT(const vector<Complex> &p, int n, int sign = 1) { const double theta = 2.0 ...
#include <bits/stdc++.h> using namespace std; using int64 = long long; constexpr int DEBUG = 0; constexpr int64 P = 200003; using Complex = complex<double>; // Reference: http://www.prefield.com/algorithm/math/fft.html vector<Complex> DFT(const vector<Complex> &p, int n, int sign = 1) { const double theta = 2.0 ...
[["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 35]]
1
875
// May this submission get accepted #include <bits/stdc++.h> // エイリアス using ll = long signed long; using ull = long unsigned long; using ld = long double; using namespace std; // AtCoder/Codeforces 用 デバッグ検知 #ifdef ONLINE_JUDGE constexpr bool DEBUG_MODE = false; #else constexpr bool DEBUG_MODE = true; #endif // エイリアス...
// May this submission get accepted #include <bits/stdc++.h> // エイリアス using ll = long signed long; using ull = long unsigned long; using ld = long double; using namespace std; // AtCoder/Codeforces 用 デバッグ検知 #ifdef ONLINE_JUDGE constexpr bool DEBUG_MODE = false; #else constexpr bool DEBUG_MODE = true; #endif // エイリアス...
[["+", 0, 43, 49, 50, 51, 4, 0, 16, 17, 33], ["+", 0, 43, 49, 50, 51, 4, 0, 16, 12, 13], ["+", 8, 9, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13]]
1
1,850
#include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define RI(X) scanf("%d", &(X)) #define RII(X, Y) scanf("%d%d", &(X), &(Y)) #define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y...
#include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define RI(X) scanf("%d", &(X)) #define RII(X, Y) scanf("%d%d", &(X), &(Y)) #define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y...
[["-", 0, 14, 39, 344, 3, 347, 0, 77, 39, 40], ["+", 0, 14, 39, 344, 3, 347, 0, 77, 39, 78], ["-", 0, 43, 39, 344, 3, 347, 0, 77, 39, 40], ["+", 0, 43, 39, 344, 3, 347, 0, 77, 39, 78], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 4, 0, 16, 17, 33], [...
1
892
#include <bits/stdc++.h> using namespace std; #define double long double #define ALL(x) (x).begin(), (x).end() #define SZ(x) static_cast<int>((x).size()) template <class T, size_t D> struct vec : vector<vec<T, D - 1>> { template <class... Args> vec(size_t n = 0, Args... args) : vector<vec<T, D - 1>>(n, vec<...
#include <bits/stdc++.h> using namespace std; #define double long double #define ALL(x) (x).begin(), (x).end() #define SZ(x) static_cast<int>((x).size()) template <class T, size_t D> struct vec : vector<vec<T, D - 1>> { template <class... Args> vec(size_t n = 0, Args... args) : vector<vec<T, D - 1>>(n, vec<...
[["+", 12, 16, 31, 2, 3, 4, 0, 16, 17, 72], ["+", 12, 16, 31, 2, 3, 4, 0, 16, 12, 13]]
1
1,685
// FFT部分はtsutajさんのコードからコピペhttps://atcoder.jp/contests/atc001/submissions/2739303 #include <algorithm> #include <cassert> #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <lim...
// FFT部分はtsutajさんのコードからコピペhttps://atcoder.jp/contests/atc001/submissions/2739303 #include <algorithm> #include <cassert> #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <lim...
[["-", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 17, 107]]
1
904
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String result = 30 >= x ? "Yes" : "No"; System.out.println(result); sc.close(); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String result = 30 <= x ? "Yes" : "No"; System.out.println(result); sc.close(); } }
[["-", 0, 503, 49, 200, 51, 510, 15, 16, 17, 20], ["+", 0, 503, 49, 200, 51, 510, 15, 16, 17, 19]]
3
74
#include <algorithm> #include <iomanip> #include <iostream> #include <math.h> #include <queue> #include <stack> #include <stdlib.h> #include <string> #include <vector> using namespace std; #define PI 3.14159265358979 typedef long long ll; #define rep(i, n) for (int i = 0; i < n; i++) #include <set> int main(void) { i...
#include <algorithm> #include <iomanip> #include <iostream> #include <math.h> #include <queue> #include <stack> #include <stdlib.h> #include <string> #include <vector> using namespace std; #define PI 3.14159265358979 typedef long long ll; #define rep(i, n) for (int i = 0; i < n; i++) #include <set> int main(void) { i...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
77
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n >= 30) { cout << "Yes"; } else cout << "NO"; return 0; }
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]]
1
43
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) { printf("yes"); } else { printf("no"); } return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x < 30) { printf("No\n"); } else { printf("Yes"); } return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["-", 0, 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, 44]]
0
49
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) { printf("yes"); } else { printf("no"); } return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) { printf("Yes\n"); } 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], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["-", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]]
0
49
#include <stdio.h> int main() { int x; scanf("%d", &x); x >= 30 ? printf("YES\n") : printf("NO\n"); return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); x >= 30 ? printf("Yes") : printf("No"); return 0; }
[["-", 0, 41, 64, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 41, 64, 2, 3, 4, 0, 5, 0, 44], ["+", 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, 44], ["+", 0, 41, 75, 2, 3, 4, 0, 5, 0, 6]]
0
44
import sys def solve(): readline = sys.stdin.buffer.readline mod = 10 ** 9 + 7 x = int(readline()) print("Yes" if x >= 20 else "No") if __name__ == '__main__': solve()
import sys def solve(): readline = sys.stdin.buffer.readline mod = 10 ** 9 + 7 x = int(readline()) print("Yes" if x >= 30 else "No") if __name__ == '__main__': solve()
[["-", 0, 652, 3, 4, 0, 41, 0, 666, 0, 612], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 0, 612]]
5
55
#include <bits/stdc++.h> using namespace std; #define fast() \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long...
#include <bits/stdc++.h> using namespace std; #define fast() \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long...
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
243
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main(int argc, const char *argv[]) { // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below / int X; cin >> X; if (X < 31) { cout << "Yes" << endl...
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main(int argc, const char *argv[]) { // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below / int X; cin >> X; if (X < 30) { cout << "No" << endl;...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
82
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cmath> #include <cstdlib> #include <utility> #include <cstdio> #define vii vector<pair<int, int>> #define vi vector<int> #define INF 1000000007 #define ff first #define ss second #define lli long long int #define ulli u...
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cmath> #include <cstdlib> #include <utility> #include <cstdio> #define vii vector<pair<int, int>> #define vi vector<int> #define INF 1000000007 #define ff first #define ss second #define lli long long int #define ulli u...
[["-", 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
87
#include <iostream> using namespace std; int main() { int X; cin >> X; if (X = 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <iostream> using namespace std; int main() { int X; cin >> X; if (X >= 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
45
x = int(input()) if x >= 30: print("yes") else: print("No")
x = int(input()) if x >= 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
27
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <functional> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; typedef long long ll; const int maxn = 3e5 + 50; const int inf = 0x3f3f3f3f; const int MOD = 1e9 + 7...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <functional> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <vector> using namespace std; typedef long long ll; const int maxn = 3e5 + 50; const int inf = 0x3f3f3f3f; const int MOD = 1e9 + 7...
[["-", 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
116
#include <stdio.h> int main(void) { int X; scanf("%d", &X); if (X <= 30) { printf("Yes"); } else { printf("No"); } return 0; }
#include <stdio.h> int main(void) { int X; scanf("%d", &X); if (30 <= X) { printf("Yes"); } else { printf("No"); } return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 12, 22]]
0
50
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, x, y) for (ll i = x; i <= y; i++) #define imin INT_MIN #define imax INT_MAX int mod = 1e9 + 7; int main() { cin.tie(NULL); ios_base::sync_with_stdio(); int tem; cin >> tem; if (tem >= 30) { cout << "YES"; } else { co...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, x, y) for (ll i = x; i <= y; i++) #define imin INT_MIN #define imax INT_MAX int mod = 1e9 + 7; int main() { cin.tie(NULL); ios_base::sync_with_stdio(); int tem; cin >> tem; if (tem >= 30) { cout << "Yes"; } else { co...
[["-", 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
86
#include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) printf("YES\n"); else printf("NO\n"); return 0; }
#include <stdio.h> int main() { int t; scanf("%d", &t); if (t >= 30) printf("Yes\n"); else printf("No\n"); return 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
47
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #includ...
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #includ...
[["-", 64, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["-", 64, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 16, 31, 16, 12, 103, 0, 42, 0, 22], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["+", 0...
1
205
#include <bits/stdc++.h> #define ll long long #define f first #define s second #define pii pair<int, int> #define pll pair<ll, l> #define ull unsigned ll #define mp make_pair #define pb push_back using namespace std; int main() { int t; cin >> t; if (t >= 30) cout << "YES"; else cout << "NO"; return...
#include <bits/stdc++.h> #define ll long long #define f first #define s second #define pii pair<int, int> #define pll pair<ll, l> #define ull unsigned ll #define mp make_pair #define pb push_back using namespace std; int main() { int t; cin >> t; if (t >= 30) cout << "Yes"; else cout << "No"; return...
[["-", 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
65
X = input() if (int(X) >= 30): print("Yes") else: print("no")
X = input() if (int(X) >= 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
t=input() t=int(t) if(t>30): print("Yes") else: print("No")
t=input() t=int(t) if(t>=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
32
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); // freopen("in.txt","r",stdin); // freopen("out.txt","w",stdout); long long n; cin >> n; if (n >= 30) { cout << "Yes"; } cout << "No"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); // freopen("in.txt","r",stdin); // freopen("out.txt","w",stdout); long long n; cin >> n; if (n >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]]
1
66
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 5; int child[nax][26]; // trie bool isEnd[nax]; int nxt = 1; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<string> in(n); vector<vector<int>> path(n); for (int i = 0; i < n; i++) { string &s = in[i];...
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 5; int child[nax][26]; // trie bool isEnd[nax]; int nxt = 1; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<string> in(n); vector<vector<int>> path(n); for (int i = 0; i < n; i++) { string &s = in[i];...
[["+", 10, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 10, 43, 49, 50, 51, 16, 31, 74, 0, 25], ["-", 8, 9, 0, 7, 8, 9, 0, 338, 12, 22], ["+", 8, 9, 0, 7, 8, 9, 0, 338, 12, 22]]
1
322
import sys input = lambda: sys.stdin.readline().rstrip() P = 10 ** 30 + 57 N = int(input()) X = sorted([input()[::-1] for _ in range(N)], key = len) D = {} ans = 0 for x in X: L = [0] * 26 T, a = x[:-1], ord(x[-1]) - 97 h = 0 for t in T: if h in D: for i in range(26): ...
import sys input = lambda: sys.stdin.readline().rstrip() P = 10 ** 40 + 121 N = int(input()) X = sorted([input()[::-1] for _ in range(N)], key = len) D = {} ans = 0 for x in X: L = [0] * 26 T, a = x[:-1], ord(x[-1]) - 97 h = 0 for t in T: if h in D: for i in range(26): ...
[["-", 0, 1, 0, 662, 12, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 12, 612], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612], ["+", 12, 657, 31, 657, 31, 23, 0, 657, 17, 72], ["+", 12, 657, 31, 657, 31, 23, 0, 657, 12, 612]]
5
208
#include <bits/stdc++.h> using namespace std; #define FOR(i, a, b) for (int i = (a), i##formax = (b); i < i##formax; i++) #define FORR(i, a, b) for (int i = (a), i##formin = (b); i >= i##formin; i--) #define pb push_back #define eb emplace_back #define mp make_pair #define fi first #define se second #define pcnt __buil...
#include <bits/stdc++.h> using namespace std; #define FOR(i, a, b) for (int i = (a), i##formax = (b); i < i##formax; i++) #define FORR(i, a, b) for (int i = (a), i##formin = (b); i >= i##formin; i--) #define pb push_back #define eb emplace_back #define mp make_pair #define fi first #define se second #define pcnt __buil...
[["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13]]
1
803
#include <bits/stdc++.h> using namespace std; #define ll long long #define fr(i, j, k) for (int i = j; i < k; i++) #define f(n) fr(i, 0, n) #define f1(n) fr(i, 1, n + 1) #define pb push_back #define F first #define S second #define all(x) x.begin(), x.end() const int mod = 1e9 + 7; const int maxn = 1000005; void solve...
#include <bits/stdc++.h> using namespace std; #define ll long long #define fr(i, j, k) for (int i = j; i < k; i++) #define f(n) fr(i, 0, n) #define f1(n) fr(i, 1, n + 1) #define pb push_back #define F first #define S second #define all(x) x.begin(), x.end() const int mod = 1e9 + 7; const int maxn = 1000005; void solve...
[["-", 0, 1, 0, 11, 12, 23, 0, 16, 17, 33], ["-", 0, 11, 12, 23, 0, 16, 12, 103, 0, 104], ["-", 0, 11, 12, 23, 0, 16, 12, 103, 0, 125]]
1
370
#include <bits/stdc++.h> using namespace std; typedef long long ll; template <typename T1, typename T2> bool chmin(T1 &a, T2 b) { if (a <= b) return 0; a = b; return 1; } template <typename T1, typename T2> bool chmax(T1 &a, T2 b) { if (a >= b) return 0; a = b; return 1; } int dx[4] = {0, 1, -1, 0};...
#include <bits/stdc++.h> using namespace std; typedef long long ll; template <typename T1, typename T2> bool chmin(T1 &a, T2 b) { if (a <= b) return 0; a = b; return 1; } template <typename T1, typename T2> bool chmax(T1 &a, T2 b) { if (a >= b) return 0; a = b; return 1; } int dx[4] = {0, 1, -1, 0};...
[["-", 0, 16, 31, 69, 341, 342, 0, 16, 31, 22], ["-", 0, 16, 31, 69, 341, 342, 0, 16, 17, 33], ["-", 0, 16, 31, 69, 341, 342, 0, 16, 12, 13], ["+", 51, 23, 0, 16, 31, 69, 341, 342, 0, 13]]
1
663
import sys input = sys.stdin.readline base = 1999849216943526259 mod = (1 << 61) - 1 N = int(input()) S = [input().rstrip()[::-1] for _ in range(N)] S.sort(key=lambda s: -len(s)) cnt = {} ans = 0 one = [0] * 26 for s in S: n = len(s) if n == 1: ans += one[ord(s[0]) - ord('a')] continue has...
import sys input = sys.stdin.readline base = 27 mod = (1 << 61) - 1 N = int(input()) S = [input().rstrip()[::-1] for _ in range(N)] S.sort(key=lambda s: -len(s)) cnt = {} ans = 0 one = [0] * 26 for s in S: n = len(s) if n == 1: ans += one[ord(s[0]) - ord('a')] continue hashes = [0] * (n - ...
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 72], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 12, 612], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 17, 72], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 12, 612]]
5
380
#include <bits/stdc++.h> #define rep(i, a, b) for (int i = a; i < b; i++) #define rrep(i, a, b) for (int i = a; i >= b; i--) #define fore(i, a) for (auto &i : a) #define all(x) (x).begin(), (x).end() //#pragma GCC optimize ("-O3") using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(fals...
#include <bits/stdc++.h> #define rep(i, a, b) for (int i = a; i < b; i++) #define rrep(i, a, b) for (int i = a; i >= b; i--) #define fore(i, a) for (auto &i : a) #define all(x) (x).begin(), (x).end() //#pragma GCC optimize ("-O3") using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(fals...
[["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 9, 0, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 9, 0, 9, 0, 57, 64, 9, 0, 46]]
1
1,587
#include <bits/stdc++.h> #define ll long long #define rep(A, B, C) for (A = B; A < C; ++A) #define pii pair<int, int> #define pll pair<ll, ll> #define vv vector #define fi first #define se second #define all(A) A.begin(), A.end() void mxin(ll &a, ll b) { if (a < b) a = b; } using namespace std; /////////////...
#include <bits/stdc++.h> #define ll long long #define rep(A, B, C) for (A = B; A < C; ++A) #define pii pair<int, int> #define pll pair<ll, ll> #define vv vector #define fi first #define se second #define all(A) A.begin(), A.end() void mxin(ll &a, ll b) { if (a < b) a = b; } using namespace std; /////////////...
[["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 98]]
1
631
#include <bits/stdc++.h> using namespace std; #define ll long long #define scl(n) scanf("%lld", &n) #define scll(n, m) scanf("%lld%lld", &n, &m) #define scs(ch) scanf("%s", ch) #define pb push_back #define mp make_pair #define fr first #define sc second int trie[1000002][27]; ll cnt[30], ans = 0, nxt; char ch[1000005...
#include <bits/stdc++.h> using namespace std; #define ll long long #define scl(n) scanf("%lld", &n) #define scll(n, m) scanf("%lld%lld", &n, &m) #define scs(ch) scanf("%s", ch) #define pb push_back #define mp make_pair #define fr first #define sc second ll trie[1000002][27]; ll cnt[30], ans = 0, nxt = 1; char ch[1000...
[["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 78], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 0, 32], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13]]
1
459
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using Graph = vector<vector<ll>>; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++) #define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--) const int dx[4] = {1, 0, -1, 0...
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using Graph = vector<vector<ll>>; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++) #define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--) const int dx[4] = {1, 0, -1, 0...
[["-", 39, 344, 3, 347, 0, 77, 39, 344, 141, 78], ["+", 39, 344, 3, 347, 0, 77, 39, 344, 141, 78], ["-", 0, 9, 0, 1, 0, 2, 63, 118, 119, 120], ["+", 0, 9, 0, 1, 0, 2, 63, 118, 119, 120], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 33], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
1
1,089
#include <bits/stdc++.h> #include <ctime> #include <iostream> using namespace std; #define _LL long long #define rep(i, n) for (_LL i = 0; i < (_LL)(n); i++) #define vecrep(itr, v) for (auto itr = (v).begin(); itr != (v).end(); itr++) struct cnode { int index[26]; bool last[26]; cnode() { rep(i, 26) { ...
#include <bits/stdc++.h> #include <ctime> #include <iostream> using namespace std; #define _LL long long #define rep(i, n) for (_LL i = 0; i < (_LL)(n); i++) #define vecrep(itr, v) for (auto itr = (v).begin(); itr != (v).end(); itr++) struct cnode { int index[26]; bool last[26]; cnode() { rep(i, 26) { ...
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
397
#include <bits/stdc++.h> using namespace std; #define il inline #define re register #define debug printf("Now is Line : %d\n", __LINE__) #define file(a) \ freopen(#a ".in", "r", stdin); \ freopen(#a ".out", ...
#include <bits/stdc++.h> using namespace std; #define il inline #define re register #define debug printf("Now is Line : %d\n", __LINE__) #define file(a) \ freopen(#a ".in", "r", stdin); \ freopen(#a ".out", ...
[["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["-", 8, 9, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 9, 0, 1, 0, 2, 63, 22]]
1
641
#include <bits/stdc++.h> // Common using namespace std; using f64 = double; using i64 = long long; using u64 = unsigned long long; template <typename T> using Arr = vector<T>; template <typename T> using Func = function<T>; template <typename T> using Str = basic_string<T>; #define hfor(v, s, e) ...
#include <bits/stdc++.h> // Common using namespace std; using f64 = double; using i64 = long long; using u64 = unsigned long long; template <typename T> using Arr = vector<T>; template <typename T> using Func = function<T>; template <typename T> using Str = basic_string<T>; #define hfor(v, s, e) ...
[["-", 0, 338, 8, 9, 0, 1, 0, 27, 17, 29], ["+", 0, 338, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 338, 8, 9, 0, 1, 0, 11, 12, 13]]
1
1,812
import sys sys.setrecursionlimit(10**7) def input(): return sys.stdin.readline().rstrip() def main(): if int(input()) <= 30: print('Yes') else: print('No') if __name__ == '__main__': main()
import sys sys.setrecursionlimit(10**7) def input(): return sys.stdin.readline().rstrip() def main(): if int(input()) >= 30: print('Yes') else: print('No') if __name__ == '__main__': main()
[["-", 0, 14, 8, 196, 0, 57, 15, 666, 667, 19], ["+", 0, 14, 8, 196, 0, 57, 15, 666, 667, 20]]
5
66
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main() { // input from txt (提出時にこの箇 所は削除すること) ifstream in("Input.txt"); cin.rdbuf(in.rdbuf()); // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below...
#include <algorithm> #include <fstream> #include <iostream> #include <vector> using namespace std; int main() { // input from txt (提出時にこの箇 所は削除すること) ifstream in("Input.txt"); cin.rdbuf(in.rdbuf()); // cinを高速にするためのおまじない cin.tie(0); ios::sync_with_stdio(false); ///////////////////// // Write code below...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
93
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #pragma comment(linker, "/STACK:268435456") #pragma warning(disable : 6031) #pragma warning(disable : 4244) #pragma warning(disable : 26451) #endif #ifndef _MSC_VER #pragma GCC target("sse4.2") #endif #ifdef _MSC_VER #include <intrin.h> #define _...
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #pragma comment(linker, "/STACK:268435456") #pragma warning(disable : 6031) #pragma warning(disable : 4244) #pragma warning(disable : 26451) #endif #ifndef _MSC_VER #pragma GCC target("sse4.2") #endif #ifdef _MSC_VER #include <intrin.h> #define _...
[["-", 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
455
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x > 30) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x < 30) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]]
1
49
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; if (x >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
45
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
139
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define sl set<ll> #define vs vector<string> #define vl vector<ll> #define vi vector<int> #define vpl vector<pair<ll, ll>> #define pb push_back #define PI 3.14159265358979323846 #define ll long long #define ld long double #define endl "\n" #define rep...
[["-", 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
139
#include <bits/stdc++.h> using namespace std; #define int long long #define rapido \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.ti...
#include <bits/stdc++.h> using namespace std; #define int long long #define rapido \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.ti...
[["-", 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
77
if int(input())>=30: print(Yes) else: print(No)
if int(input())>=30: 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; cin >> x; if (x > 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x >= 30) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
45
#include <bits/stdc++.h> #include <cmath> #include <string> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<pii> vpii; typedef vector<pll> vpll; typedef vector<ll> vll; #define all(v) v.begin(), v.end() #de...
#include <bits/stdc++.h> #include <cmath> #include <string> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<pii> vpii; typedef vector<pll> vpll; typedef vector<ll> vll; #define all(v) v.begin(), v.end() #de...
[["+", 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
127
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (25 < 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; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
49
#include <bits/stdc++.h> const int INF = 1e9; const int MOD = 1e9 + 7; const long long LINF = 1e18; #define dump(x) cout << 'x' << ' = ' << (x) << ` `; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define rep(i, n) for (int i = 0; i < (n); ++i) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOREACH(x, ...
#include <bits/stdc++.h> const int INF = 1e9; const int MOD = 1e9 + 7; const long long LINF = 1e18; #define dump(x) cout << 'x' << ' = ' << (x) << ` `; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define rep(i, n) for (int i = 0; i < (n); ++i) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOREACH(x, ...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
478
import sys sys.setrecursionlimit(10 ** 6) input = sys.stdin.readline from math import floor, sqrt, factorial, hypot, log # log2ないyp from heapq import heappop, heappush, heappushpop from collections import Counter, defaultdict, deque from itertools import accumulate, permutations, combinations, product, combinations_w...
import sys sys.setrecursionlimit(10 ** 6) input = sys.stdin.readline from math import floor, sqrt, factorial, hypot, log # log2ないyp from heapq import heappop, heappush, heappushpop from collections import Counter, defaultdict, deque from itertools import accumulate, permutations, combinations, product, combinations_w...
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
457
#include <algorithm> #include <ctime> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <unordered_set> #include <vector> using namespace std; #de...
#include <algorithm> #include <ctime> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <unordered_set> #include <vector> using namespace std; #de...
[["-", 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
256
X = int(input()) if X < 30: print(No) else: print(Yes)
X = int(input()) if X < 30: print("No") else: print("Yes")
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
23
#include <bits/stdc++.h> using namespace std; #define pb push_back #define mp make_pair #define ll long long typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<ll> vl; typedef vector<vi> vvi; typedef vector<vl> vll; void solve() { int x; if (x >= 30) { cout << "Yes"; ...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define mp make_pair #define ll long long typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<ll> vl; typedef vector<vi> vvi; typedef vector<vl> vll; void solve() { int x; cin >> x; if (x >= 30) { 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
133
#include <bits/stdc++.h> using namespace std; #define ll long long //~ #define endl '\n' void solve() { int x; cin >> x; if (x >= 3) { cout << "Yes" << endl; } else { cout << "No" << endl; } } int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t = 1; // cin>>t; while ...
#include <bits/stdc++.h> using namespace std; #define ll long long //~ #define endl '\n' void solve() { int x; cin >> x; if (x >= 30) { cout << "Yes" << endl; } else { cout << "No" << endl; } } int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t = 1; // cin>>t; while...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
97
x = int(input()) ans = 'YES' if x >= 30 else 'NO' print(ans)
x = int(input()) ans = 'Yes' if x >= 30 else 'No' print(ans)
[["-", 0, 1, 0, 662, 12, 41, 0, 557, 0, 6], ["+", 0, 1, 0, 662, 12, 41, 0, 557, 0, 6]]
5
25
X = input() if X < 30: print('No') else: print('Yes')
X = int(input()) if X < 30: print('No') else: print('Yes')
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
24
print('YNeos'[int(input())<30])
print('YNeos'[int(input())<30::2])
[["+", 0, 652, 3, 4, 0, 206, 206, 663, 0, 102], ["+", 0, 652, 3, 4, 0, 206, 206, 663, 0, 612]]
5
16
X=int(input()) ans=None if X>=30: ans=Yes else: ans=No print(ans)
X=int(input()) ans=None if X>=30: ans="Yes" else: ans="No" print(ans)
[["+", 64, 196, 0, 1, 0, 662, 12, 557, 0, 654], ["+", 64, 196, 0, 1, 0, 662, 12, 557, 0, 655], ["+", 8, 196, 0, 1, 0, 662, 12, 557, 0, 654], ["+", 8, 196, 0, 1, 0, 662, 12, 557, 0, 655]]
5
28
x=gets.to_i if x>=30 print "YES" elsif x<30 print "NO" end
x=gets.to_i if x>=30 print "Yes" elsif x<30 print "No" end
[["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6]]
4
22
/*=============================================================================================================================/* Bismillahir Rahmanir Rahim _ ____ ___ ____ _ _ _ ___ ____ _ _ __ __ / \ / ___||_ _|| __ ) | | |...
/*=============================================================================================================================/* Bismillahir Rahmanir Rahim _ ____ ___ ____ _ _ _ ___ ____ _ _ __ __ / \ / ___||_ _|| __ ) | | |...
[["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
264
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (X <= 30) cout << "Yes"; else cout << "No"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int X; cin >> X; if (X >= 30) cout << "Yes"; else cout << "No"; return 0; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
41
#include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <iterator> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> //#include<bits/stdc++.h> #define...
#include <algorithm> #include <bitset> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <iterator> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> //#include<bits/stdc++.h> #define...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 75, 76, 0, 1, 0, 16, 31, 16, 17, 151], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]]
1
123
#include <bits/stdc++.h> using namespace std; using ll = long long; ll X; int main() { cin >> X; cout << (X > 30 ? "Yes" : "No") << endl; }
#include <bits/stdc++.h> using namespace std; using ll = long long; ll X; int main() { cin >> X; cout << (X >= 30 ? "Yes" : "No") << endl; }
[["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 47], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20]]
1
43
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) printf("YES\n"); else printf("NO\n"); return 0; }
#include <stdio.h> int main() { int x; scanf("%d", &x); if (x >= 30) printf("Yes"); else printf("No"); return 0; }
[["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 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, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
47
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define ff first #define ss second #define all(x) (x).begin(), (x).end() #define ll long long #define ii pair<int, int> #define vi vector<int> #define vll vector<ll> #define vii vector<ii> const int INF = 0x3f3f3f3f; const ll LINF = 0x3f3f3f3f3f3f3f3f...
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define ff first #define ss second #define all(x) (x).begin(), (x).end() #define ll long long #define ii pair<int, int> #define vi vector<int> #define vll vector<ll> #define vii vector<ii> const int INF = 0x3f3f3f3f; const ll LINF = 0x3f3f3f3f3f3f3f3f...
[["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 60], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20]]
1
145
#include <cstdio> #include <iostream> using namespace std; int n; int main() { cin >> n; cout << (n <= 30 ? "Yes" : "No"); return 0; }
#include <cstdio> #include <iostream> using namespace std; int n; int main() { cin >> n; cout << (n >= 30 ? "Yes" : "No"); return 0; }
[["-", 0, 16, 12, 23, 0, 41, 15, 16, 17, 19], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 20]]
1
40
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep_lr(i, l, r) for (int i = (l); i < (r); i++) #define all(x) (x).begin(), (x).end() #define V vector typedef V<int> vi; typedef V<vi> vvi; typedef long long ll; typedef pair<ll, ll> P; typedef tuple<int, int, int> T;...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep_lr(i, l, r) for (int i = (l); i < (r); i++) #define all(x) (x).begin(), (x).end() #define V vector typedef V<int> vi; typedef V<vi> vvi; typedef long long ll; typedef pair<ll, ll> P; typedef tuple<int, int, int> T;...
[["+", 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
124
X = int(input()) if (X<=30): print("Yes") else: print("No")
X = int(input()) if (X>=30): print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 20]]
5
29
def ac_control(q): if q >= 30: return "Yes" else: return "No" if __name__ == '__main__': q = int(input()) ac_control(q)
def ac_control(q): if q >= 30: print("Yes") else: print("No") if __name__ == '__main__': q = int(input()) ac_control(q)
[["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25], ["-", 0, 57, 75, 76, 8, 196, 0, 37, 0, 38], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 8, 196...
5
40
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n >= 30) cout << "YES" << "\n"; else cout << "NO" << "\n"; }
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n >= 30) cout << "Yes" << "\n"; else cout << "No" << "\n"; }
[["-", 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
46
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> // Common file #include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update using namespace std; using namespace __gnu_pbds; #define TRACE #ifdef TRACE #define trace(...) __f(#__VA_ARGS__, __VA_ARGS__) template <typename Arg1> vo...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> // Common file #include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update using namespace std; using namespace __gnu_pbds; #define TRACE #ifdef TRACE #define trace(...) __f(#__VA_ARGS__, __VA_ARGS__) template <typename Arg1> vo...
[["-", 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
544
// Atcoder beginner round 174 A - Air Conditioner #include <iostream> using namespace std; int main() { int X; cin >> X; cout << ((X >= 30) ? "YES" : "NO"); return 0; }
// Atcoder beginner round 174 A - Air Conditioner #include <iostream> using namespace std; int main() { int X; cin >> X; cout << ((X >= 30) ? "Yes" : "No"); return 0; }
[["-", 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
41
#include <bits/stdc++.h> using namespace std; #define ll long long #define ar array int n, k, tmp; string s; void solve() { cin >> n; if (n >= 30) cout << "YES" << "\n"; else { cout << "NO" << "\n"; } } int main() { ios::sync_with_stdio(false); cin.tie(0); solve(); }
#include <bits/stdc++.h> using namespace std; #define ll long long #define ar array int n, k, tmp; string s; void solve() { cin >> n; if (n >= 30) cout << "Yes" << "\n"; else { cout << "No" << "\n"; } } int main() { ios::sync_with_stdio(false); cin.tie(0); solve(); }
[["-", 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
85
#include <algorithm> #include <cmath> #include <cstdlib> #include <iostream> #include <list> #include <map> #include <vector> using namespace std; int main(void) { int N; cin >> N; cout << ((N >= 30) ? "yes" : "no"); return 0; }
#include <algorithm> #include <cmath> #include <cstdlib> #include <iostream> #include <list> #include <map> #include <vector> using namespace std; int main(void) { int N; cin >> N; cout << ((N >= 30) ? "Yes" : "No"); return 0; }
[["-", 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
53
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; cout << (x > 30 ? "Yes" : "No"); }
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; cout << (x >= 30 ? "Yes" : "No"); }
[["-", 0, 16, 12, 23, 0, 41, 15, 16, 17, 47], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 20]]
1
35
#include <bits/stdc++.h> #include <chrono> #include <math.h> using namespace std; using ll = long long; using ld = long double; using namespace std::chrono; #define fo(i, z, n) for (int i = z; i < n; i++) #define Fo(i, z, n) for (ll i = z; i < n; i++) #define INT_BITS 32 #define mod 1000000007 #define vi vector<int> #d...
#include <bits/stdc++.h> #include <chrono> #include <math.h> using namespace std; using ll = long long; using ld = long double; using namespace std::chrono; #define fo(i, z, n) for (int i = z; i < n; i++) #define Fo(i, z, n) for (ll i = z; i < n; i++) #define INT_BITS 32 #define mod 1000000007 #define vi vector<int> #d...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
154
#include <bits/stdc++.h> using namespace std; using ll = long long int; #define IOS \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cou...
#include <bits/stdc++.h> using namespace std; using ll = long long int; #define IOS \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cou...
[["-", 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
63
#include <stdio.h> #include <stdlib.h> int main() { int temp = 0; scanf("%d", &temp); if (temp >= 30) { printf("yes"); } else { printf("no"); } return 0; }
#include <stdio.h> #include <stdlib.h> int main() { int temp = 0; scanf("%i", &temp); if (temp >= 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]]
0
53
#include <bits/stdc++.h> #define FastIO \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); using namespace std; typedef long int...
#include <bits/stdc++.h> #define FastIO \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); using namespace std; typedef long int...
[["-", 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
82
a = input() if a >= 30: print('Yes') else: print('No')
a = int(input()) if a >= 30: print('Yes') else: print('No')
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
24
#include <iostream> using namespace std; int main(void) { int x; cin >> x; if (x >= 30) { cout << "yes" << endl; } else { cout << "No" << endl; } }
#include <iostream> using namespace std; int main(void) { int 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
47
#include <cmath> #include <iostream> #include <string> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using P = pair<int, int>; #include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using P...
#include <cmath> #include <iostream> #include <string> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using P = pair<int, int>; #include <algorithm> #include <cmath> #include <iostream> #include <string> #include <vector> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using P...
[["-", 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
105
x = input() if int(x) >= 30: print("yes") else: print("no")
x = input() if int(x) >= 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
27
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { int x; cin >> x; if (x >= 30) { cout << "YES"; } else { cout << "NO"; } return 0; }
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { int x; cin >> x; if (x >= 30) { cout << "Yes"; } else { cout << "No"; } return 0; }
[["-", 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
48
#include <bits/stdc++.h> #define pb push_back #define mxn 100005 #define fst first #define snd second typedef long long ll; using namespace std; // Debuging template <class Debug> Debug debug(string x, Debug y) { cout << "[" << x << " : " << y << "] "; } int main() { int n; cin >> n; if (n <= 30) cout << "Y...
#include <bits/stdc++.h> #define pb push_back #define mxn 100005 #define fst first #define snd second typedef long long ll; using namespace std; // Debuging template <class Debug> Debug debug(string x, Debug y) { cout << "[" << x << " : " << y << "] "; } int main() { int n; cin >> n; if (n >= 30) cout << "Y...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
95
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x <= 30) { printf("yes\n"); } else { printf("No\n"); } return 0; }
#include <stdio.h> int main(void) { int x; scanf("%d", &x); if (x >= 30) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
52
import java.io.*; import java.lang.Math; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.concurrent.*; import java.util.regex.*; public class Main { static class FastReader { Buf...
import java.io.*; import java.lang.Math; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.concurrent.*; import java.util.regex.*; public class Main { static class FastReader { Buf...
[["-", 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
954
#include <iostream> using namespace std; int main() { int N; cin >> N; (N >= 30) ? (cout << "YES") : (cout << "No"); cout << "\n"; }
#include <iostream> using namespace std; int main() { int X; cin >> X; (X >= 30) ? (cout << "Yes") : (cout << "No"); cout << "\n"; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 1, 0, 41, 15, 23, 0, 16, 31, 22], ["+", 0, 1, 0, 41, 15, 23, 0, 16, 31, 22], ["-", 0, 41, 64, 23, 0, 16, 12, 5, 0, 6], ["+", 0, 41, 64, 23, 0, 1...
1
47
#include <iostream> using namespace std; int main(void) { int x = 0; cin >> x; if (x >= 30) { cout << "YES\n"; } else { cout << "NO\n"; } return 0; }
#include <iostream> using namespace std; int main(void) { int x = 0; cin >> x; if (x >= 30) { cout << "Yes\n"; } else { cout << "No\n"; } return 0; }
[["-", 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
50