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 <stdio.h> typedef struct { int key, id, rest, flag; } data; typedef struct { data obj[200001]; int size; } max_heap; void push(data x, max_heap *h) { int i = ++(h->size), j = i >> 1; data tmp; h->obj[i] = x; while (j > 0) { if (h->obj[i].key > h->obj[j].key) { tmp = h->obj[j]; ...
#include <stdio.h> typedef struct { int key, id, rest, flag; } data; typedef struct { data obj[200001]; int size; } max_heap; void push(data x, max_heap *h) { int i = ++(h->size), j = i >> 1; data tmp; h->obj[i] = x; while (j > 0) { if (h->obj[i].key > h->obj[j].key) { tmp = h->obj[j]; ...
[["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 17, 47], ["-", 64, 9, 0, 1, 0, 11, 12, 69, 71, 22], ["+", 0, 1, 0, 11, 12, 69, 71, 118, 28, 22], ["+", 0, 1, 0, 11, 12, 69, 71, 118, 17, 131], ["+", 0, 1, 0, 11, 12, 69, 71, 118, 119, 120]]
0
903
import java.util.*; class UF { public int[] a; public UF(int size) { Arrays.fill(a = new int[size], -1); } public int root(int t) { return a[t] < 0 ? t : (a[t] = root(a[t])); } public boolean connect(int r, int s) { r = root(r); s = root(s); if (r == s) return false; if (a[r] > a[s]) { ...
import java.util.*; class UF { public int[] a; public UF(int size) { Arrays.fill(a = new int[size], -1); } public int root(int t) { return a[t] < 0 ? t : (a[t] = root(a[t])); } public boolean connect(int r, int s) { r = root(r); s = root(s); if (r == s) return false; if (a[r] > a[s]) { ...
[["-", 0, 195, 8, 196, 0, 503, 49, 200, 141, 22], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 141, 22]]
3
365
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, N) for (int i = 0; i < int(N); ++i) #define rep1(i, N) for (int i = 1; i < int(N); ++i) #define all(a) (a).begin(), (a).end() #define bit(k) (1LL << (k)) #define SUM(v) accumulate(all(v), 0LL) typedef pair<int, int> i_i; typedef pair<ll...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, N) for (int i = 0; i < int(N); ++i) #define rep1(i, N) for (int i = 1; i < int(N); ++i) #define all(a) (a).begin(), (a).end() #define bit(k) (1LL << (k)) #define SUM(v) accumulate(all(v), 0LL) typedef pair<int, int> i_i; typedef pair<ll...
[["+", 0, 57, 75, 76, 0, 1, 0, 16, 17, 151], ["+", 0, 57, 75, 76, 0, 1, 0, 16, 12, 22]]
1
929
class UnionFind: def __init__(self, size): self.par = [-1] * size def find(self, x): if self.par[x] < 0: return x else: self.par[x] = self.find(self.par[x]) return self.par[x] def unite(self, x, y): x, y = self.find(x), self.find(...
class UnionFind: def __init__(self, size): self.par = [-1] * size def find(self, x): if self.par[x] < 0: return x else: self.par[x] = self.find(self.par[x]) return self.par[x] def unite(self, x, y): x, y = self.find(x), self.find(...
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
275
#Union Find #xの根を求める def find(x): if par[x] < 0: return x else: tank = [] while par[x] >= 0: tank.append(x) x = par[x] for elt in tank: par[elt] = x return x #xとyの属する集合の併合 def unite(x,y): x = find(x) y = find(y) if x =...
#Union Find #xの根を求める def find(x): if par[x] < 0: return x else: tank = [] while par[x] >= 0: tank.append(x) x = par[x] for elt in tank: par[elt] = x return x #xとyの属する集合の併合 def unite(x,y): x = find(x) y = find(y) if x =...
[["-", 0, 57, 75, 665, 15, 652, 3, 4, 0, 22], ["+", 0, 57, 75, 665, 15, 652, 3, 4, 0, 22]]
5
248
#include <iostream> using namespace std; #include <vector> struct UF { int n; vector<int> parent, rank; UF(int n_ = 0) : n(n_), parent(n_), rank(n_, 1) { for (int i = 0; i < n_; i++) parent[i] = i; } int find(int a) { return parent[a] != a ? parent[a] = find(parent[a]) : a; } bool same(int a, int ...
#include <iostream> using namespace std; #include <vector> struct UF { int n; vector<int> parent, rank; UF(int n_ = 0) : n(n_), parent(n_), rank(n_, 1) { for (int i = 0; i < n_; i++) parent[i] = i; } int find(int a) { return parent[a] != a ? parent[a] = find(parent[a]) : a; } bool same(int a, int ...
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]]
1
309
/// HuDzG #include <bits/stdc++.h> #define reset(a) memset(a, 0, sizeof(a)) #define ll long long #define ld long double #define endl '\n' #define AutoAC int main() #define OO 1000000000000000000 #define F first #define S second #define pii pair<ll, ll> #define pb push_back #define nmax 1000005 #define HUNGIT "" #define...
/// HuDzG #include <bits/stdc++.h> #define reset(a) memset(a, 0, sizeof(a)) #define ll long long #define ld long double #define endl '\n' #define AutoAC int main() #define OO 1000000000000000000 #define F first #define S second #define pii pair<ll, ll> #define pb push_back #define nmax 1000005 #define HUNGIT "" #define...
[["+", 64, 1, 0, 16, 31, 16, 12, 91, 17, 111]]
1
250
def solve(n, m, a, b): if n == 0: return 0 res = 0 if a > m: res += (n-1) * n // 2 * (a // m) a %= m if b > m: res += n * (b // m) b %= m p = (a*n + b) // m q = p*m - b return res + solve(p, a, m, a*n-q) t = int(input()) for i in range(t): n, m, a...
def solve(n, m, a, b): if n == 0: return 0 res = 0 if a >= m: res += (n-1) * n // 2 * (a // m) a %= m if b >= m: res += n * (b // m) b %= m p = (a*n + b) // m q = p*m - b return res + solve(p, a, m, a*n-q) t = int(input()) for i in range(t): n, m,...
[["-", 0, 14, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 14, 8, 196, 0, 57, 15, 666, 667, 20]]
5
148
# 一番早いのを写経したものを弄ってアルゴリズム勉強のための試し打ち中 def floor_sum(n, m, a, b): res = 0 if b >= m: res += n * (b // m) b %= m while True: if a >= m: res += (n - 1) * n * (a // m) // 2 a %= m y_max = a*n//m if y_max == 0: break x_max = -y_max*m ...
# 一番早いのを写経したものを弄ってアルゴリズム勉強のための試し打ち中 def floor_sum(n, m, a, b): res = 0 if b >= m: res += n * (b // m) b %= m while True: if a >= m: res += (n - 1) * n * (a // m) // 2 a %= m y_max = (a * n + b) // m if y_max == 0: break x_max = b - y_m...
[["+", 0, 1, 0, 662, 12, 657, 31, 23, 0, 24], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 17, 72], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 12, 22], ["+", 0, 1, 0, 662, 12, 657, 31, 23, 0, 25], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 31, 22]]
5
194
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(final String[] args) { final FastScanner scanner = new FastScanner(System.in); final int t = scanner.nextInt(...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(final String[] args) { final FastScanner scanner = new FastScanner(System.in); final int t = scanner.nextInt(...
[["+", 0, 195, 8, 196, 0, 503, 0, 494, 0, 535], ["+", 0, 503, 49, 200, 51, 16, 31, 23, 0, 25], ["-", 8, 196, 0, 503, 49, 200, 51, 23, 0, 25]]
3
499
// #define _GLIBCXX_DEBUG #define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using vi = vector<int>; using vvi = vector<vi>; using vl = vector<ll>; using vvl = vector<vl>; using vb = vector<bool>; using vvb = vector<vb>; #define rep0(TMS) for (int C...
// #define _GLIBCXX_DEBUG #define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using vi = vector<int>; using vvi = vector<vi>; using vl = vector<ll>; using vvl = vector<vl>; using vb = vector<bool>; using vvb = vector<vb>; #define rep0(TMS) for (int C...
[["+", 8, 9, 0, 57, 64, 1, 0, 16, 17, 151], ["+", 8, 9, 0, 57, 64, 1, 0, 16, 12, 22]]
1
15,153
import sys input = sys.stdin.readline def find(A,x): p = A[x] if p == x: return x a = find(A,p) A[x] = a return a def union(A, x, y): # bx, by = sorted([find(A,x), find(A,y)]) # bx, by = find(A,x), find(A,y)だと無限ループ。 if find(A,x) > find(A,y): bx, by = find(A,y), find(A,x) ...
import sys input = sys.stdin.readline def find(A,x): p = A[x] if p == x: return x a = find(A,p) A[x] = a return a def union(A, x, y): # bx, by = sorted([find(A,x), find(A,y)]) # bx, by = find(A,x), find(A,y)だと無限ループ。 if find(A,x) > find(A,y): bx, by = find(A,y), find(A,x) ...
[["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 57, 15, 666, 0, 652, 3, 4, 0, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 22]]
5
262
def input(): return sys.stdin.readline()[:-1] sys.setrecursionlimit(300000) class uf: def __init__(self,n): self.n=n self.l=[-1]*n def ro(self,n): #root if self.l[n]<0: return n r=self.ro(self.l[n]) self.l[n]=r return r def me(self,a,b)...
import sys def input(): return sys.stdin.readline()[:-1] sys.setrecursionlimit(300000) class uf: def __init__(self,n): self.n=n self.l=[-1]*n def ro(self,n): #root if self.l[n]<0: return n r=self.ro(self.l[n]) self.l[n]=r return r def m...
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
444
p=[-1]*8**6 for q in[open(0)][1:]: q,*x=map(int,q.split());a,b=sorted(map(f:=lambda x:f(p[x])if~p[x]<0else x,x)) if q:print(+(a==b)) elif a<b:p[b]=a
p=[-1]*8**6 for q in[*open(0)][1:]: q,*x=map(int,q.split());a,b=sorted(map(f:=lambda x:f(p[x])if~p[x]<0else x,x)) if q:print(+(a==b)) elif a<b:p[b]=a
[["+", 12, 206, 51, 634, 0, 652, 63, 661, 0, 48]]
5
97
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; #define sim template <class c #define ris return *this #define dor > debug &operator<< #define eni(x) \ ...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; #define sim template <class c #define ris return *this #define dor > debug &operator<< #define eni(x) \ ...
[["+", 51, 16, 31, 69, 341, 342, 0, 2, 63, 22], ["+", 31, 69, 341, 342, 0, 2, 3, 4, 0, 24], ["+", 31, 69, 341, 342, 0, 2, 3, 4, 0, 25], ["+", 51, 16, 12, 69, 341, 342, 0, 2, 63, 22], ["+", 12, 69, 341, 342, 0, 2, 3, 4, 0, 24], ["+", 12, 69, 341, 342, 0, 2, 3, 4, 0, 25]]
1
736
#include <bits/stdc++.h> using namespace std; using i64 = long long; template <i64 M> struct modint { i64 a; constexpr modint(const i64 x = 0) : a((x % M + M) % M) {} constexpr i64 value() const { return a; } constexpr modint inv() const { return this->pow(M - 2); } constexpr modint pow(i64 r) const { mo...
#include <bits/stdc++.h> using namespace std; using i64 = long long; template <i64 M> struct modint { i64 a; constexpr modint(const i64 x = 0) : a((x % M + M) % M) {} constexpr i64 value() const { return a; } constexpr modint inv() const { return this->pow(M - 2); } constexpr modint pow(i64 r) const { mo...
[["-", 0, 14, 8, 9, 0, 7, 15, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 12, 22], ["-", 0, 7, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 16, 31, 22]]
1
2,248
#include <bits/stdc++.h> using namespace std; namespace internal { int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; return x; } int bsf(unsigned int n) { #ifdef _MSC_VER unsigned long index; _BitScanForward(&index, n); return index; #else return __builtin_ctz(n); #endif } ...
#include <bits/stdc++.h> using namespace std; namespace internal { int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; return x; } int bsf(unsigned int n) { #ifdef _MSC_VER unsigned long index; _BitScanForward(&index, n); return index; #else return __builtin_ctz(n); #endif } ...
[["-", 8, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 8, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
5,107
mod = 998244353 omega = pow(3,119,mod) rev_omega = pow(omega,mod-2,mod) N = 2*10**5 g1 = [1]*(N+1) # 元テーブル g2 = [1]*(N+1) #逆元テーブル inv = [1]*(N+1) #逆元テーブル計算用テーブル for i in range( 2, N + 1 ): g1[i]=( ( g1[i-1] * i ) % mod ) inv[i]=( ( -inv[mod % i] * (mod//i) ) % mod ) g2[i]=( (g2[i-1] * inv[i]) % mod ) inv[...
mod = 998244353 omega = pow(3,119,mod) rev_omega = pow(omega,mod-2,mod) N = 2*10**5 g1 = [1]*(N+1) # 元テーブル g2 = [1]*(N+1) #逆元テーブル inv = [1]*(N+1) #逆元テーブル計算用テーブル for i in range( 2, N + 1 ): g1[i]=( ( g1[i-1] * i ) % mod ) inv[i]=( ( -inv[mod % i] * (mod//i) ) % mod ) g2[i]=( (g2[i-1] * inv[i]) % mod ) inv[...
[["+", 0, 656, 0, 14, 8, 196, 0, 57, 0, 121], ["+", 0, 14, 8, 196, 0, 57, 15, 681, 0, 372], ["+", 0, 14, 8, 196, 0, 57, 15, 681, 28, 22], ["+", 0, 656, 0, 14, 8, 196, 0, 57, 0, 102], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 22]]
5
707
#ifndef ATCODER_INTERNAL_BITOP_HPP #define ATCODER_INTERNAL_BITOP_HPP 1 #ifdef _MSC_VER #include <intrin.h> #endif namespace atcoder { namespace internal { // @param n `0 <= n` // @return minimum non-negative `x` s.t. `n <= 2**x` int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; ret...
#ifndef ATCODER_INTERNAL_BITOP_HPP #define ATCODER_INTERNAL_BITOP_HPP 1 #ifdef _MSC_VER #include <intrin.h> #endif namespace atcoder { namespace internal { // @param n `0 <= n` // @return minimum non-negative `x` s.t. `n <= 2**x` int ceil_pow2(int n) { int x = 0; while ((1U << x) < (unsigned int)(n)) x++; ret...
[["-", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["+", 0, 43, 49, 50, 51, 2, 63, 346, 141, 22], ["+", 49, 50, 51, 2, 63, 346, 3, 347, 0, 18], ["+", 49, 50, 51, 2, 63, 346, 3, 347, 0, 13], ["+", 49, 50, 51, 2, 63, 346, 3, 347, 0, 47]]
1
15,046
from collections import defaultdict import sys sys.setrecursionlimit(10**6) def scc(V, E): g = defaultdict(list) rg = defaultdict(list) for u, v in E: g[u].append(v) rg[v].append(u) print(g) def dfs(u, done, o): done.add(u) for v in g[u]: if v in done: ...
from collections import defaultdict import sys sys.setrecursionlimit(10**6) def scc(V, E): g = defaultdict(list) rg = defaultdict(list) for u, v in E: g[u].append(v) rg[v].append(u) def dfs(u, done, o): done.add(u) for v in g[u]: if v in done: ...
[["-", 0, 14, 8, 196, 0, 1, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]]
5
431
class csr(): def __init__(self, n: int, edges: list): self.start = [0] * (n+1) self.elist = [0] * len(edges) for e in edges: self.start[e[0]+1] += 1 for i in range(1, n+1): self.start[i] += self.start[i-1] counter = self.start[::] for e in edge...
class csr(): def __init__(self, n: int, edges: list): self.start = [0] * (n+1) self.elist = [0] * len(edges) for e in edges: self.start[e[0]+1] += 1 for i in range(1, n+1): self.start[i] += self.start[i-1] counter = self.start[::] for e in edge...
[["+", 64, 196, 0, 1, 0, 662, 31, 206, 51, 22], ["+", 64, 196, 0, 1, 0, 662, 31, 206, 0, 70], ["+", 64, 196, 0, 1, 0, 662, 31, 206, 206, 22], ["+", 64, 196, 0, 1, 0, 662, 31, 206, 0, 73], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 12, 22]]
5
852
class Graph(): #directed def __init__(self, n, edge, indexed=1): self.n = n self.graph = [[] for _ in range(n)] self.rev = [[] for _ in range(n)] self.deg = [0 for _ in range(n)] for e in edge: self.graph[e[0] - indexed].append(e[1] - indexed) self.rev...
class Graph(): #directed def __init__(self, n, edge, indexed=1): self.n = n self.graph = [[] for _ in range(n)] self.rev = [[] for _ in range(n)] self.deg = [0 for _ in range(n)] for e in edge: self.graph[e[0] - indexed].append(e[1] - indexed) self.rev...
[["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]]
5
474
import sys; input = sys.stdin.buffer.readline sys.setrecursionlimit(10**7) from collections import defaultdict mod = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) def inverse(N, mod): return (pow(N, mod - 2, mod)) class Graph(object): def __init__(self): self.graph = defa...
import sys; input = sys.stdin.buffer.readline sys.setrecursionlimit(10**7) from collections import defaultdict mod = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) def inverse(N, mod): return (pow(N, mod - 2, mod)) class Graph(object): def __init__(self): self.graph = defa...
[["+", 0, 14, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]]
5
496
import sys input = sys.stdin.readline sys.setrecursionlimit(5*10**5) N,M = map(int,input().split()) edge = [[] for i in range(M)] rev_edge = [[] for i in range(M)] for _ in range(M): a,b = map(int,input().split()) edge[a].append(b) rev_edge[b].append(a) seen = [False]*N stop = [] def dfs(v): for nv...
import sys input = sys.stdin.readline sys.setrecursionlimit(5*10**5) N,M = map(int,input().split()) edge = [[] for i in range(N)] rev_edge = [[] for i in range(N)] for _ in range(M): a,b = map(int,input().split()) edge[a].append(b) rev_edge[b].append(a) seen = [False]*N stop = [] def dfs(v): for nv...
[["-", 12, 658, 0, 659, 12, 652, 3, 4, 0, 22], ["+", 12, 658, 0, 659, 12, 652, 3, 4, 0, 22]]
5
320
#include <bits/stdc++.h> using namespace std; typedef long long ll; template <class T> bool chmax(T &a, const T &b) { if (a < b) { a = b; return true; } return false; } template <class T> bool chmin(T &a, const T &b) { if (b < a) { a = b; return true; } return false; } #define all(x) (x).beg...
#include <bits/stdc++.h> using namespace std; typedef long long ll; template <class T> bool chmax(T &a, const T &b) { if (a < b) { a = b; return true; } return false; } template <class T> bool chmin(T &a, const T &b) { if (b < a) { a = b; return true; } return false; } #define all(x) (x).beg...
[["-", 28, 69, 341, 342, 0, 16, 31, 16, 31, 22], ["-", 28, 69, 341, 342, 0, 16, 31, 16, 17, 33], ["-", 28, 69, 341, 342, 0, 16, 31, 16, 12, 13], ["-", 63, 118, 28, 69, 341, 342, 0, 16, 17, 33]]
1
650
#include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <utility> #include <vector> #define rep(i, n) for (int i = 0; i < n; ++i) #define rep1(i, n) for (int i = 1; i <= n; ++i) #define rep2(i, s, t) for (int i = s; i <= t; ++...
#include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <utility> #include <vector> #define rep(i, n) for (int i = 0; i < n; ++i) #define rep1(i, n) for (int i = 1; i <= n; ++i) #define rep2(i, s, t) for (int i = s; i <= t; ++...
[["-", 0, 14, 8, 9, 0, 57, 64, 37, 0, 13], ["+", 0, 14, 8, 9, 0, 57, 64, 37, 0, 22]]
1
395
# https://atcoder.jp/contests/practice2/submissions/16598132 # 上記のリンクの提出をいじらせてもらってます。 from collections import deque class mf_graph: __slots__ = ["N", "graph"] def __init__(self, N): self.N = N self.graph = [[] for _ in range(N)] def add_edge(self, v, w, cap): edge = [w, cap, No...
# https://atcoder.jp/contests/practice2/submissions/16598132 # 上記のリンクの提出をいじらせてもらってます。 from collections import deque class mf_graph: __slots__ = ["N", "graph", "level", "it"] def __init__(self, N): self.N = N self.graph = [[] for _ in range(N)] def add_edge(self, v, w, cap): edg...
[["+", 8, 196, 0, 1, 0, 662, 12, 634, 0, 21], ["+", 0, 1, 0, 662, 12, 634, 0, 557, 0, 654], ["+", 0, 1, 0, 662, 12, 634, 0, 557, 0, 6], ["+", 0, 1, 0, 662, 12, 634, 0, 557, 0, 655]]
5
1,104
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int N; cin >> N; int A[200010], B[200010]; for (int i = 0; i < N; i++) cin >> A[i]; for (int i = 0; i < N; i++) cin >> B[i]; int cnt[200010] = {}; for (int i = 0; i < N; i++) { cn...
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int N; cin >> N; int A[200010], B[200010]; for (int i = 0; i < N; i++) cin >> A[i]; for (int i = 0; i < N; i++) cin >> B[i]; int cnt[200010] = {}; for (int i = 0; i < N; i++) { cn...
[["-", 15, 339, 51, 16, 12, 16, 31, 69, 28, 22], ["-", 51, 16, 12, 16, 31, 69, 341, 342, 0, 70], ["-", 51, 16, 12, 16, 31, 69, 341, 342, 0, 22], ["-", 51, 16, 12, 16, 31, 69, 341, 342, 0, 73], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 79], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 79], ["+", 0, 57, 15, 339, 51, 16, 12,...
1
403
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { ll N; cin >> N; vector<ll> a(N), b(N); for (ll i = 0; i < N; i++) cin >> a[i]; for (ll i = 0; i < N; i++) cin >> b[i]; map<ll, ll> am, bm; for (ll i = 0; i < N; i++) { am[a[i]]++; bm[b[i]]++; } for (auto...
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { ll N; cin >> N; vector<ll> a(N), b(N); for (ll i = 0; i < N; i++) cin >> a[i]; for (ll i = 0; i < N; i++) cin >> b[i]; map<ll, ll> am, bm; for (ll i = 0; i < N; i++) { am[a[i]]++; bm[b[i]]++; } for (auto...
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["-", 341, 342, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 33], ["+", 341, 342, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 341, 342, 0, 16, 31, 23, 0, 16, 12, 22]]
1
389
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (d / s <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (d <= t * s) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 22]]
1
55
#include <bits/stdc++.h> using namespace std; #define AC ios::sync_with_stdio(0), cin.tie(0); #define ll long long int int main() { AC ll a, b, c; cin >> a >> b >> c; if (a < b * c) cout << "No" << endl; else cout << "Yes" << endl; }
#include <bits/stdc++.h> using namespace std; #define AC ios::sync_with_stdio(0), cin.tie(0); #define ll long long int int main() { AC ll a, b, c; cin >> a >> b >> c; if (a > b * c) cout << "No" << endl; else cout << "Yes" << endl; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]]
1
59
#include <iostream> using namespace std; int main() { int D, T, S; cin >> D >> T >> S; int t = (double)D / S; if (t <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int D, T, S; cin >> D >> T >> S; double t = (double)D / S; if (t <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
67
#include <bits/stdc++.h> using namespace std; #define IOS \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.tie(NULL); #define ld ...
#include <bits/stdc++.h> using namespace std; #define IOS \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.tie(NULL); #define ld ...
[["-", 0, 16, 12, 23, 0, 41, 15, 16, 12, 22], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 12, 22]]
1
280
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; scanf("%d %d %d", &d, &t, &s); if (d <= t * s) { printf("YES\n"); } else { printf("NO\n"); } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; scanf("%d %d %d", &d, &t, &s); if (d <= t * s) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
67
#include <bits/stdc++.h> using namespace std; #define ll long long #define fastio \ ios_base::sync_with_stdio(0); \ cin.tie(0), cout.tie(0) const ll mod = 10e9 + 7; int main() { fastio; int d, s, t; ...
#include <bits/stdc++.h> using namespace std; #define ll long long #define fastio \ ios_base::sync_with_stdio(0); \ cin.tie(0), cout.tie(0) const ll mod = 10e9 + 7; int main() { fastio; float d, s, t;...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
76
[D, T, S] = [int(i) for i in input().split()] if D <= T * S: print("yes") else: print("no")
[D, T, S] = [int(i) for i in input().split()] if D <= T * S: 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
45
#include <bits/stdc++.h> #define fo(i, a, b) for (int i = a; i < b; ++i) #define rep(i, n) fo(i, 0, n) #define pln(n) printf("%lld\n", n) #define sll(n) scanf("%lld", &n) #define ss(n) scanf("%s", n) #define vi vector<int> #define pii pair<int, int> #define pb push_back #define mp make_pair #define ll long long #define...
#include <bits/stdc++.h> #define fo(i, a, b) for (int i = a; i < b; ++i) #define rep(i, n) fo(i, 0, n) #define pln(n) printf("%lld\n", n) #define sll(n) scanf("%lld", &n) #define ss(n) scanf("%s", n) #define vi vector<int> #define pii pair<int, int> #define pb push_back #define mp make_pair #define ll long long #define...
[["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 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
195
#include <bits/stdc++.h> using namespace std; int main() { int D, T; double S; cin >> D >> T >> S; double t; t = D / S; // double同士の演算なら小数点以下の結果も出る if (t < T) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D, T; double S; cin >> D >> T >> S; double t; t = D / S; // double同士の演算なら小数点以下の結果も出る if (t <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
65
#include <bits/stdc++.h> using namespace std; int main() { int D, T, S; cin >> D >> T >> S; double t; t = D / S; if (t <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D, T; double S; cin >> D >> T >> S; double t; t = D / S; if (t <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
63
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (d * t >= s) { cout << "Yes"; } else { cout << "No"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (t * s >= d) { cout << "Yes"; } else { cout << "No"; } return 0; }
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]]
1
55
#include <stdio.h> int d, t, s; int main() { scanf("%d%d%d", &d, &t, &s); if ((s * t) >= d) printf("yes"); else printf("no"); }
#include <stdio.h> int d, t, s; int main() { scanf("%d%d%d", &d, &t, &s); if ((s * t) >= d) printf("Yes"); else printf("No"); }
[["-", 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
56
#include <stdio.h> int D, T, S; int main() { scanf("%d %d %d", &D, &T, &S); if (D / S <= T) printf("Yes"); else printf("No"); }
#include <stdio.h> int D, T, S; int main() { scanf("%d %d %d", &D, &T, &S); if ((D + S - 1) / S <= T) printf("Yes"); else printf("No"); }
[["+", 15, 339, 51, 16, 31, 16, 31, 23, 0, 24], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 51, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 51, 16, 31, 16, 31, 23, 0, 16, 12, 13], ["+", 15, 339, 51, 16, 31, 16, 31, 23, 0, 25]]
1
54
#include <stdio.h> int main(void) { int D, T, S, x; scanf("%d %d %d", &D, &T, &S); x = D / S; if ("x>=T") { printf("Yes\n"); } else { printf("No\n"); } return 0; }
#include <stdio.h> int main(void) { int D, T, S, x; scanf("%d %d %d", &D, &T, &S); x = T * S; if (x >= D) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 9, 0, 57, 15, 339, 51, 5, 0, 62], ["-", 8, 9, 0, 57, 15, 339, 51, 5, 0, 6], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15...
1
70
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); int d = in.nextInt(); int t = in.nextInt(); int s = in.nextI...
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); int d = in.nextInt(); int t = in.nextInt(); int s = in.nextI...
[["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18]]
3
115
d=input() arr = [int(d) for i in d.split()] t1 = arr[0]/arr[-1] if t1<= arr[1]: print("Yes") else: print("No")
d=input() arr = [int(i) for i in d.split()] t1 = arr[0]/arr[-1] if t1<= arr[1]: print("Yes") else: print("No")
[["-", 0, 662, 12, 658, 8, 652, 3, 4, 0, 22], ["+", 0, 662, 12, 658, 8, 652, 3, 4, 0, 22]]
5
55
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int d = sc.nextInt(); int t = sc.nextInt(); int s = sc.nextInt(); int time = d / s; if (time <= t) { System.out.println("Yes"); } else { System.out.println("No"); ...
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double d = sc.nextInt(); double t = sc.nextInt(); double s = sc.nextInt(); double time = d / s; if (time <= t) { System.out.println("Yes"); } else { System.out.pri...
[["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 507], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512]]
3
101
d, t, s = list(map(int, input().split())) if t * s >= d: print("yes") else: print("no")
d, t, s = list(map(int, input().split())) if t * s >= d: 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
42
#include <bits/stdc++.h> using namespace std; typedef long long int ll; int main() { ll d, t, s; cin >> d >> t >> s; ll x = t * s; if (x >= d) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
#include <bits/stdc++.h> using namespace std; typedef long long int ll; int main() { ll d, t, s; cin >> d >> t >> s; ll x = t * s; if (x >= d) { 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
67
#include <stdio.h> int main() { int d, t, s; scanf("%d %d %d", &d, &t, &s); t = t * s; if (t >= d) printf("YES\n"); else printf("NO\n"); return 0; }
#include <stdio.h> int main() { int d, t, s; scanf("%d %d %d", &d, &t, &s); t = t * s; if (t >= d) 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]]
0
63
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair<int, int>; int main() { int d, t, s; cin >> d >> t >> s; if (s * t <= d) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair<int, int>; int main() { int d, t, s; cin >> d >> t >> s; if (s * t >= d) cout << "Yes" << endl; else cout << "No" << endl; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
76
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (d / s <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { float d, t, s; cin >> d >> t >> s; if (float(d / s) <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 57, 15, 339, 51, 16, 31, 2, 63, 40], ["+", 15, 339, 51, 16, 31, 2, 3, 4, 0, 24], ["+", 15, 339, 51, 16, 31, 2, 3, 4, 0, 25]]
1
55
#include <iostream> using namespace std; int main() { double d, t, s; cin >> d >> t >> s; if (d / (s * 1.0) <= t) cout << "YES" << endl; else cout << "NO" << endl; return 0; }
#include <iostream> using namespace std; int main() { double d, t, s; cin >> d >> t >> s; if (d / (s * 1.0) <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["-", 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
59
#include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #include <iostream> #define endl "\n" #define ll long long int #define vi vector<int> #define vll vector<ll> #define vvi vector<vi> #define pii pair<int, int> #define pll pair<long long, long long> #define mod 1000000007 #define...
#include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #include <iostream> #define endl "\n" #define ll long long int #define vi vector<int> #define vll vector<ll> #define vvi vector<vi> #define pii pair<int, int> #define pll pair<long long, long long> #define mod 1000000007 #define...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22]]
1
133
d,t,s = input().split() gool = int(d) // int(s) if gool <= int(t): print('Yes') else: print('No')
d,t,s = input().split() gool = int(d) / int(s) if gool <= int(t): print('Yes') else: print('No')
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]]
5
46
import math li=list(map(int,input().split())) if li[0]<li[1]*li[2]: print("Yes") else: print("No")
import math li=list(map(int,input().split())) if li[0]<=li[1]*li[2]: print("Yes") else: print("No")
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]]
5
49
// Har Har Mahadev using namespace std; #include <bits/stdc++.h> #define booga cout << "booga" << endl #define ll long long int #define pb push_back #define mp make_pair #define debug(args...) \ { ...
// Har Har Mahadev using namespace std; #include <bits/stdc++.h> #define booga cout << "booga" << endl #define ll long long int #define pb push_back #define mp make_pair #define debug(args...) \ { ...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
168
D, T, S = map(int,input().split()) print('YES') if T * S >= D else print('No')
D, T, S = map(int,input().split()) print('Yes') if T * S >= D else print('No')
[["-", 0, 41, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 41, 0, 652, 3, 4, 0, 557, 0, 6]]
5
37
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int mod = 1e9 + 7; void add_self(int &a, int b) { a += b; if (a >= mod) { a -= mod; } } int main() { int d, t, s; cin >> d >> t >> s; if ((d / s) > t) { cout << "No"; } else { cout << "Yes"; } }
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int mod = 1e9 + 7; void add_self(int &a, int b) { a += b; if (a >= mod) { a -= mod; } } int main() { float d, t, s; cin >> d >> t >> s; if ((d / s) > t) { cout << "No"; } else { cout << "Yes"; } }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
95
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; string result; cin >> d >> t >> s; if (d < t * s) { result = "Yes"; } else { result = "No"; } cout << result << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; string result; cin >> d >> t >> s; if (d <= t * s) { result = "Yes"; } else { result = "No"; } cout << result << endl; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
61
#include <stdio.h> #include <stdlib.h> int main(void) { int d, t, s; scanf("%d %d %d", &d, &t, &s); if ((float)d / s >= (float)t) printf("Yes\n"); else printf("No\n"); return 0; }
#include <stdio.h> #include <stdlib.h> int main(void) { int d, t, s; scanf("%d %d %d", &d, &t, &s); if ((float)d / s <= (float)t) printf("Yes\n"); else printf("No\n"); return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19]]
0
68
#include <iostream> using namespace std; typedef long long int ll; int main() { ll d, t, s; cin >> d >> t >> s; if (s * t <= d) cout << "Yes"; else cout << "No"; }
#include <iostream> using namespace std; typedef long long int ll; int main() { ll d, t, s; cin >> d >> t >> s; if (s * t >= d) cout << "Yes"; else cout << "No"; }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
54
#include <iostream> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; float time = d / s; if (time > t) { cout << "No"; } else { cout << "Yes"; } }
#include <iostream> using namespace std; int main() { float d, t, s; cin >> d >> t >> s; float time = d / s; if (time > t) { cout << "No"; } else { cout << "Yes"; } }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
57
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (s * t < d) { cout << "NO"; } else { cout << "YES"; } }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (s * t < d) { cout << "No"; } else { cout << "Yes"; } }
[["-", 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
52
#include <stdio.h> #include <string.h> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (b >= (a / c)) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
/*Bismillahir Rahmanir Rahim.*/ #include <stdio.h> #include <string.h> int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); if (a <= (b * c)) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["-", 0, 57, 15, 23, 0, 16, 12, 23, 0, 24], ["-", 15, 23, 0, 16, 12, 23, 0, 16, 17, 85], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19], ["+", 0, 57, 15, 23, 0, 16, 12, 23, 0, 24], ["+", 15, 23, 0, 16, 12, 23, 0, 16, 31, 22], ["+", 15, 23...
0
67
#include <iostream> #include <string> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a > b * c) cout << "no"; else cout << "yes"; }
#include <iostream> #include <string> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a > b * c) 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
50
#include <algorithm> #include <cctype> #include <cmath> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <locale> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector> #define ll long long #define rep(i, n) for (int i...
#include <algorithm> #include <cctype> #include <cmath> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <locale> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector> #define ll long long #define rep(i, n) for (int i...
[["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]]
1
225
#include <bits/stdc++.h> using namespace std; int main() { long D, T, S; cin >> D >> T >> S; long ans = D / S; if (ans <= T) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double D, T, S; cin >> D >> T >> S; double ans = D / S; if (ans <= T) cout << "Yes" << endl; else cout << "No" << endl; }
[["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
57
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using ll = long long; const long long INF = 1LL << 60; const int MOD = 1e9 + 7; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; r...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using ll = long long; const long long INF = 1LL << 60; const int MOD = 1e9 + 7; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; r...
[["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]]
1
172
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; int main() { int d, t, s; cin >> d >> t >> s; if (d / s <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; int main() { int d, t, s; cin >> d >> t >> s; if ((d + s - 1) / s <= t) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[["+", 15, 339, 51, 16, 31, 16, 31, 23, 0, 24], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 51, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 51, 16, 31, 16, 31, 23, 0, 16, 12, 13], ["+", 15, 339, 51, 16, 31, 16, 31, 23, 0, 25]]
1
73
#include <bits/stdc++.h> using namespace std; #define int long long int #define MOD 1000000007 int32_t main() { int d, t, s; cin >> d >> t >> s; if ((d / s) <= t) cout << "Yes"; else cout << "No"; }
#include <bits/stdc++.h> using namespace std; #define int long long int #define MOD 1000000007 int32_t main() { int d, t, s; cin >> d >> t >> s; if (((double)d / (double)s) <= t) cout << "Yes"; else cout << "No"; }
[["+", 51, 16, 31, 23, 0, 16, 31, 74, 0, 24], ["+", 31, 23, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 51, 16, 31, 23, 0, 16, 31, 74, 0, 25], ["+", 51, 16, 31, 23, 0, 16, 12, 74, 0, 24], ["+", 31, 23, 0, 16, 12, 74, 39, 77, 39, 40], ["+", 51, 16, 31, 23, 0, 16, 12, 74, 0, 25]]
1
56
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; int mul = t * s; if (mul >= d) cout << "YES" << endl; else cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; int mul = t * s; if (mul >= d) 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
57
#include <bits/stdc++.h> using namespace std; #define FOR(i, m, n) for (int i = m; i < n; ++i) #define FORD(i, m, n) for (int i = m; i >= n; --i) #define REP(i, n) for (int i = 0; i < n; ++i) #define REP1(i, n) for (int i = 0; i <= n; ++i) #define REPR(i, n) for (int i = n; i >= 0; --i) #define EPS (1e-7) #define INF...
#include <bits/stdc++.h> using namespace std; #define FOR(i, m, n) for (int i = m; i < n; ++i) #define FORD(i, m, n) for (int i = m; i >= n; --i) #define REP(i, n) for (int i = 0; i < n; ++i) #define REP1(i, n) for (int i = 0; i <= n; ++i) #define REPR(i, n) for (int i = n; i >= 0; --i) #define EPS (1e-7) #define INF...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
141
d, t, s = map(int, input().split( )) if d/s <= t: print(Yes) else: print(No)
d, t, s = map(int, input().split( )) if d/s <= t: 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
35
#include <bits/stdc++.h> using namespace std; int main() { int D, T, S; cin >> D >> T >> S; if (D / S <= T) { cout << "Yes"; } else { cout << "No"; } }
#include <bits/stdc++.h> using namespace std; int main() { double D, T, S; cin >> D >> T >> S; if (D / S <= T) { cout << "Yes"; } else { cout << "No"; } }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
52
# coding: utf-8 # Your code here! # map(int, input().split()) D,T,S = map(int, input().split()) if D//S <= T: print("Yes") else: print("No")
# coding: utf-8 # Your code here! D, T, S = map(int,input().split()) if D/S <= T: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 676], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 17, 85]]
5
42
#include <bits/stdc++.h> using namespace std; typedef long long LL; void setIO() { ios_base::sync_with_stdio(0); cin.tie(0); } const int SZ = 1003; int n, m; int a[SZ]; int main() { setIO(); cin >> n; // for (int i = 1; i <= n; i++) { // cin>>a[i]; // } int d, t, s; cin >> d >> t >> s; cout ...
#include <bits/stdc++.h> using namespace std; typedef long long LL; void setIO() { ios_base::sync_with_stdio(0); cin.tie(0); } const int SZ = 1003; int n, m; int a[SZ]; int main() { setIO(); // for (int i = 1; i <= n; i++) { // cin>>a[i]; // } int d, t, s; cin >> d >> t >> s; cout << ((d <= s ...
[["-", 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
105
D,T,S = [int(x) for x in input().split()] time = D/S if S>=time: print("Yes") else: print("No")
D,T,S = [int(x) for x in input().split()] time = D/S if T>=time: print("Yes") else: print("No")
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]]
5
46
d,t,s = map(int,input()) if d > t * s : print('No') else: print('Yes')
d,t,s = map(int,input().split()) if d > t * s : print('No') else: print('Yes')
[["+", 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
35
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; int dist = t * s; if (d == dist) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; int dist = t * s; if (dist >= d) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]]
1
61
#include <bits/stdc++.h> using namespace std; #define print cout << int main() { int dist, time, speed; cin >> dist >> time >> speed; if ((double)(dist / speed) <= time) { print "Yes" << endl; } else { print "No" << endl; } }
#include <bits/stdc++.h> using namespace std; #define print cout << int main() { int dist, time, speed; cin >> dist >> time >> speed; if ((double)dist / speed <= time) { print "Yes" << endl; } else { print "No" << endl; } }
[["-", 15, 339, 51, 16, 31, 74, 51, 23, 0, 24], ["-", 15, 339, 51, 16, 31, 74, 51, 23, 0, 25]]
1
62
#include <bits/stdc++.h> using namespace std; int main() { int D, T, S; cin >> D >> T >> S; double need_time = D / S; if (need_time <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int D, T, S; cin >> D >> T >> S; double need_time = (double)D / S; if (need_time <= T) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]]
1
61
#include <bits/stdc++.h> using namespace std; #define all(a) a.begin(), a.end() #define rep(i, n) for (int i = 0; i < n; i++) #define endl "\n" typedef long long ll; const int BIG_NUM = 1e9; // 8+ int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); ll d, t, s; cin >> d >> t >> s; double c1...
#include <bits/stdc++.h> using namespace std; #define all(a) a.begin(), a.end() #define rep(i, n) for (int i = 0; i < n; i++) #define endl "\n" typedef long long ll; const int BIG_NUM = 1e9; // 8+ int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int d, t, s; cin >> d >> t >> s; double c...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]]
1
110
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int d = stdIn.nextInt(); int t = stdIn.nextInt(); int s = stdIn.nextInt(); if ((d / s) <= t) { System.out.print("Yes"); } else if ((d / s) > t) { System...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int d = stdIn.nextInt(); int t = stdIn.nextInt(); int s = stdIn.nextInt(); if ((double)d / s <= t) { System.out.print("Yes"); } else if ((double)d / s > t) { ...
[["+", 0, 16, 31, 16, 31, 74, 39, 511, 0, 512], ["+", 15, 15, 0, 16, 31, 16, 31, 74, 0, 25], ["-", 0, 57, 15, 15, 0, 16, 31, 23, 0, 25], ["-", 75, 57, 15, 15, 0, 16, 31, 23, 0, 25]]
3
109
#include <stdio.h> int main() { int d, t, s; scanf("%d %d %d", &d, &t, &s); int x = d / s; if (x <= t) { printf("Yes\n"); } else { printf("No\n"); } }
#include <stdio.h> int main() { int d, t, s; scanf("%d %d %d", &d, &t, &s); int x = t * s; if (d <= x) { printf("Yes\n"); } else { printf("No\n"); } }
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 12, 22], ["+", 8, 9, 0,...
0
65
#include <bits/stdc++.h> typedef long long ll; const int inf = 1e9; using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); int d, t, s; cin >> d >> t >> s; cout << (d / t <= s ? "Yes\n" : "No\n"); return 0; }
#include <bits/stdc++.h> typedef long long ll; const int inf = 1e9; using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); double d, t, s; cin >> d >> t >> s; cout << (d / s <= t ? "Yes\n" : "No\n"); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 12, 23, 0, 41, 15, 16, 31, 16, 12, 22], ["-", 0, 16, 12, 23, 0, 41, 15, 16, 17, 19], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 19], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 12, 22]]
1
75
D, T, S = map(int, input().split) if S*T >= D: print("Yes") else: print("No")
D, T, S = map(int, input().split()) if S*T >= D: print("Yes") else: print("No")
[["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
37
d,t,s = map(int,input().split()) if t >= round(d // s): print('Yes') else: print('No')
d,t,s = map(int,input().split()) if t >= (d / s): print('Yes') else: print('No')
[["-", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["-", 15, 666, 0, 652, 3, 4, 0, 657, 17, 676], ["+", 0, 57, 15, 666, 0, 23, 0, 657, 17, 85]]
5
42
#include <algorithm> #include <bits/stdc++.h> #include <cmath> #include <iostream> #include <map> #include <math.h> #include <string> #include <vector> typedef long long ll; using namespace std; // const int MAX_CHAR = 26; string sortString(string &str) { // string a; sort(str.begin(), str.end()); return str; ...
#include <algorithm> #include <bits/stdc++.h> #include <cmath> #include <iostream> #include <map> #include <math.h> #include <string> #include <vector> typedef long long ll; using namespace std; // const int MAX_CHAR = 26; string sortString(string &str) { // string a; sort(str.begin(), str.end()); return str; ...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]]
1
3,354
#include <bits/stdc++.h> #define repr(i, a, b) for (int i = a; i < b; i++) #define rep(i, n) for (int i = 0; i < n; i++) #define reprrev(i, a, b) for (int i = b - 1; i >= a; i--) // [a, b) #define reprev(i, n) reprrev(i, 0, n) using ll = long long; using ull = unsigned long long; template <class T> inline bool chmax(T...
#include <bits/stdc++.h> #define repr(i, a, b) for (int i = a; i < b; i++) #define rep(i, n) for (int i = 0; i < n; i++) #define reprrev(i, a, b) for (int i = b - 1; i >= a; i--) // [a, b) #define reprev(i, n) reprrev(i, 0, n) using ll = long long; using ull = unsigned long long; template <class T> inline bool chmax(T...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
375
/*ABC176A*/ #include <stdio.h> int main() { int d, t, s, kekka; scanf("%d %d %d", &d, &t, &s); kekka = d / s; if (kekka <= t) { puts("Yes"); } else { puts("No"); } return 0; }
/*ABC176A*/ #include <stdio.h> int main() { int d, t, s, kekka; scanf("%d %d %d", &d, &t, &s); kekka = t * s; if (d <= kekka) { puts("Yes"); } else { puts("No"); } return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 12, 22], ["+", 8, 9, 0, 57, 15,...
0
68
text = [int(e) for e in input().split()] if text[1] * text[2] > text[0]: print("Yes") else: print("No")
text = [int(e) for e in input().split()] if text[1] * text[2] >= text[0]: print("Yes") else: print("No")
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20]]
5
48
text = input() text = text.split() if int(text[1]) * int(text[2]) > int(text[0]): print("Yes") else: print("No")
text = input() text = text.split() if int(text[1]) * int(text[2]) >= int(text[0]): print("Yes") else: print("No")
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20]]
5
51
//#pragma GCC optimize("Ofast") //#pragma GCC target("avx,avx2,fma") #pragma GCC optimize("O3") #include <algorithm> #include <chrono> #include <cmath> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #inclu...
//#pragma GCC optimize("Ofast") //#pragma GCC target("avx,avx2,fma") #pragma GCC optimize("O3") #include <algorithm> #include <chrono> #include <cmath> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #inclu...
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]]
1
592
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (s * t >= d) { cout << "YES"; } else { cout << "NO"; } cout << "\n"; }
#include <bits/stdc++.h> using namespace std; int main() { int d, t, s; cin >> d >> t >> s; if (s * t >= d) { cout << "Yes"; } else { cout << "No"; } cout << "\n"; }
[["-", 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
58
#A問題 D,T,S = map(int,input().split()) if D//S < T: print("Yes") else: print("No")
#A問題 D,T,S = map(int,input().split()) if D/S <= T: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 676], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 17, 85], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]]
5
40
#include <bits/stdc++.h> #pragma GCC optimize("Ofast") using namespace std; typedef long long ll; typedef map<int, int> M; typedef pair<int, int> P; #define REP(i, n) for (int i = 0; i < n; i++) #define FOR(i, m, n) for (int i = m; i < n; i++) #define ALL(v) v.begin(), v.end() #define SIZE(x) ((ll)(x).size()) int ma...
#include <bits/stdc++.h> #pragma GCC optimize("Ofast") using namespace std; typedef long long ll; typedef map<int, int> M; typedef pair<int, int> P; #define REP(i, n) for (int i = 0; i < n; i++) #define FOR(i, m, n) for (int i = m; i < n; i++) #define ALL(v) v.begin(), v.end() #define SIZE(x) ((ll)(x).size()) int ma...
[["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]]
1
114
#include <bits/stdc++.h> #pragma GCC optimize("Ofast") using namespace std; typedef long long ll; typedef map<ll, ll> M; typedef pair<ll, ll> P; #define REP(i, n) for (ll i = 0; i < n; i++) #define FOR(i, m, n) for (ll i = m; i < n; i++) #define ALL(v) v.begin(), v.end() #define SIZE(x) ((ll)(x).size()) int main() {...
#include <bits/stdc++.h> #pragma GCC optimize("Ofast") using namespace std; typedef long long ll; typedef map<ll, ll> M; typedef pair<ll, ll> P; #define REP(i, n) for (ll i = 0; i < n; i++) #define FOR(i, m, n) for (ll i = m; i < n; i++) #define ALL(v) v.begin(), v.end() #define SIZE(x) ((ll)(x).size()) int main() {...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
114
#include "bits/stdc++.h" #pragma GCC optimize("O3,Ofast,no-stack-protector,unroll-loops,fast-math") #pragma GCC target("avx,avx2") using namespace std; using ll = long long; #define all(x) begin(x), end(x) int main() { ios_base::sync_with_stdio(0); cin.tie(0); int d, t, s; cin >> d >> t >> s; if (d / s <= ...
#include "bits/stdc++.h" #pragma GCC optimize("O3,Ofast,no-stack-protector,unroll-loops,fast-math") #pragma GCC target("avx,avx2") using namespace std; using ll = long long; #define all(x) begin(x), end(x) int main() { ios_base::sync_with_stdio(0); cin.tie(0); int d, t, s; cin >> d >> t >> s; if ((double)d...
[["+", 15, 339, 51, 16, 31, 16, 31, 74, 0, 24], ["+", 51, 16, 31, 16, 31, 74, 39, 77, 39, 40], ["+", 15, 339, 51, 16, 31, 16, 31, 74, 0, 25], ["+", 0, 57, 15, 339, 51, 16, 12, 74, 0, 24], ["+", 15, 339, 51, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 57, 15, 339, 51, 16, 12, 74, 0, 25]]
1
80
package main import ( "fmt" ) func main(){ var D int var T int var S int fmt.Scan(&D) fmt.Scan(&T) fmt.Scan(&S) if D<=T*S { fmt.Println("YES") }else{ fmt.Println("NO") } }
package main import ( "fmt" ) func main(){ var D int var T int var S int //fmt.Println(">>") fmt.Scan(&D) fmt.Scan(&T) fmt.Scan(&S) if D<=T*S { fmt.Println("Yes") }else{ fmt.Println("No") } }
[["-", 36, 36, 0, 434, 0, 435, 8, 196, 0, 165], ["+", 36, 36, 0, 434, 0, 435, 8, 196, 0, 165]]
7
84
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; if (B * C > A) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; if (B * C >= A) 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
52