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;
int main(void) {
string S, T;
cin >> S;
cin >> T;
int counter;
int res = 0;
for (int i = 0; i < S.length() - T.length(); i++) {
counter = 0;
for (int j = 0; j < T.length(); j++) {
if (S[i + j] == T[j]) {
counter++;
}
}
if (... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string S, T;
cin >> S;
cin >> T;
int counter;
int res = 0;
for (int i = 0; i < S.length() - T.length() + 1; i++) {
counter = 0;
for (int j = 0; j < T.length(); j++) {
if (S[i + j] == T[j]) {
counter++;
}
}
... | [["+", 8, 9, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13]] | 1 | 127 |
#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 100;
const int mod = 1e9 + 7;
typedef long long ll;
int ans = 1e9;
string s, ss;
int len1, len2;
void work(int h) {
int sum = 0;
for (int i = h; i <= h + len2 - 1; i++) {
if (s[i] != ss[i - h])
sum++;
}
// cout<<sum<<endl;
ans = m... | #include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 100;
const int mod = 1e9 + 7;
typedef long long ll;
int ans = 1e9;
string s, ss;
int len1, len2;
void work(int h) {
int sum = 0;
for (int i = h; i <= h + len2 - 1; i++) {
if (s[i] != ss[i - h])
sum++;
}
// cout<<sum<<endl;
ans = m... | [["+", 8, 9, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13]] | 1 | 176 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, c) for (long long i = 0; i < (long long)c; i++)
const ll INF = 1000000000000001;
int main() {
string s, t;
int ans = 0;
cin >> s >> t;
int mx, mx2, na;
mx2 = t.length();
na = s.length();
na -= mx2;
rep(i, na) {
mx = t... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, c) for (long long i = 0; i < (long long)c; i++)
const ll INF = 1000000000000001;
int main() {
string s, t;
int ans = 0;
cin >> s >> t;
int mx, mx2, na;
mx2 = t.length();
na = s.length();
na -= mx2;
// cout<<na<<endl;
re... | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 25, 0, 35]] | 1 | 143 |
s = input()
t = input()
x = len(t)
mx= 0
# print(x - mx)
res= 0
for i in range(len(s) - x):
tmp = s[i:i+x]
cntmp = 0
for j in range(x):
if t[j] == tmp[j]:
cntmp += 1
# print(tmp, i)
res = max(res, cntmp)
print(x-res) | s = input()
t = input()
x = len(t)
mx= 0
res= 0
for i in range(len(s) - x+1):
# print(i)
tmp = s[i:i+x]
cntmp = 0
for j in range(x):
if t[j] == tmp[j]:
cntmp += 1
# print(tmp, i)
res = max(res, cntmp)
print(x-res) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 86 |
s= input()
t= input()
a = len(s)
b = len(t)
i = 0
j = 0
cnt = 0
ans = b
while(j <= a - b):
while (i < b):
if (s[i + j] != t[i]):
cnt+=1
i+=1
ans = min(b, cnt)
cnt = 0
i = 0
j+=1
print(ans) | s= input()
t= input()
a = len(s)
b = len(t)
i = 0
j = 0
cnt = 0
ans = b
while(j <= a - b):
while (i < b):
if (s[i + j] != t[i]):
cnt+=1
i+=1
ans = min(ans, cnt)
cnt = 0
i = 0
j+=1
print(ans) | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 92 |
#include <bits/stdc++.h>
#define PI 3.1415926535897932
#define _GLIBCXX_DEBUG
using namespace std;
long long GCD(long long A, long long B) {
if (B == 0) {
return A;
} else {
return GCD(B, A % B);
}
}
int main() {
string S, T;
cin >> S >> T;
int ans = 10000;
int count = 0;
for (int i = 0; i <... | #include <bits/stdc++.h>
#define PI 3.1415926535897932
#define _GLIBCXX_DEBUG
using namespace std;
long long GCD(long long A, long long B) {
if (B == 0) {
return A;
} else {
return GCD(B, A % B);
}
}
int main() {
string S, T;
cin >> S >> T;
int ans = 10000;
int count = 0;
for (int i = 0; i <... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19]] | 1 | 174 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
string S, T;
int mcnt = 0;
cin >> S >> T;
rep(i, S.size() - T.size() + 1) {
int cnt = 0;
rep(j, T.size()) {
if (S[i + j] == T[i + j]) {
cnt++;
}
}
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
string S, T;
int mcnt = 0;
cin >> S >> T;
rep(i, S.size() - T.size() + 1) {
int cnt = 0;
rep(j, T.size()) {
if (S[i + j] == T[j]) {
cnt++;
}
}
if ... | [["-", 51, 16, 12, 69, 341, 342, 0, 16, 31, 22], ["-", 51, 16, 12, 69, 341, 342, 0, 16, 17, 72]] | 1 | 126 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S, T;
cin >> S >> T;
int maxmatch = 0;
for (int i = 0; i < S.size() - T.size(); i++) {
int match = 0;
for (int j = 0; j < T.size() + 1; j++) {
if (S.at(i + j) == T.at(j))
match++;
}
if (maxmatch < match)
maxma... | #include <bits/stdc++.h>
using namespace std;
int main() {
string S, T;
cin >> S >> T;
int maxmatch = 0;
for (int i = 0; i < S.size() - T.size() + 1; i++) {
int match = 0;
for (int j = 0; j < T.size(); j++) {
if (S.at(i + j) == T.at(j))
match++;
}
if (maxmatch < match)
maxma... | [["+", 8, 9, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13], ["-", 8, 9, 0, 7, 15, 16, 12, 16, 17, 72], ["-", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13]] | 1 | 127 |
#include <iostream>
#include <string>
using namespace std;
int main(void) {
string S, T;
cin >> S >> T;
int max = 0;
for (int i = 0; i < (int)S.size() - (int)T.size(); i++) {
string sub = S.substr(i, T.size());
int count = 0;
for (int j = 0; j < (int)T.size(); j++) {
if (sub[j] == T[j]) {
... | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string S, T;
cin >> S >> T;
int max = 0;
int count;
for (int i = 0; i <= (int)S.size() - (int)T.size(); i++) {
string sub = S.substr(i, T.size());
count = 0;
for (int j = 0; j < (int)T.size(); j++) {
if (sub[j] == T[... | [["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19], ["-", 8, 9, 0, 7, 8, 9, 0, 43, 39, 40]] | 1 | 154 |
#include <stdio.h>
#include <string.h>
int main(void) {
char s[1001];
char t[1001];
int num[1000] = {0};
int slen;
int tlen;
int max;
scanf("%s", s);
scanf("%s", t);
slen = strlen(s);
tlen = strlen(t);
for (int i = 0; i < slen - tlen; i++) {
for (int j = 0; j < tlen; j++) {
if (s[i + j... | #include <stdio.h>
#include <string.h>
int main(void) {
char s[1001];
char t[1001];
int num[1000] = {0};
int slen;
int tlen;
int max;
scanf("%s", s);
scanf("%s", t);
slen = strlen(s);
tlen = strlen(t);
for (int i = 0; i <= slen - tlen; i++) {
for (int j = 0; j < tlen; j++) {
if (s[i + ... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19]] | 0 | 181 |
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
string s, t;
cin >> s >> t;
int l = s.length();
int n = t.length();
if (l < n) {
cout << "0";
return 0;
}
int ss = 0;
int ans = 100005;
int g;
for (int i = 0; i < l - n; i++) {
g = i;
ss = 0;
for... | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
string s, t;
cin >> s >> t;
int l = s.length();
int n = t.length();
// cout<<l<<n<<"\n";
if (l < n) {
cout << "0";
return 0;
}
int ss = 0;
int ans = 100005;
int g;
for (int i = 0; i <= l - n; i++) {
ss... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 7, 8, 9, 0, 1, 0, 11, 17, 32], ["-", 0, 7, 8, 9, 0, 1, 0, 11, 12, 22], ["-", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 1 | 161 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repbit(bit, n) for (int bit = 0; bit < (1 << n); bit++)
using namespace std;
typedef long long ll;
// const int INF = 1001001001;
// const ll INF18 = 1000000000000000000;
// const ll INF15 = 1000000000000000;
const ll mod = 1000000007;
i... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repbit(bit, n) for (int bit = 0; bit < (1 << n); bit++)
using namespace std;
typedef long long ll;
// const int INF = 1001001001;
// const ll INF18 = 1000000000000000000;
// const ll INF15 = 1000000000000000;
const ll mod = 1000000007;
i... | [["-", 0, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 152 |
// hackerearth incom
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll N = 5e5 + 5;
const ll MOD = 1000000007;
#define all(x) x.begin(), x.end()
#define pii pair<ll, ll>
#define pis pair<ll, string>
#define F first
#define S second
#define LCM(a, b) ((a * b) / __gcd(a, b))
#define inf 1e15
... | // hackerearth incom
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll N = 5e5 + 5;
const ll MOD = 1000000007;
#define all(x) x.begin(), x.end()
#define pii pair<ll, ll>
#define pis pair<ll, string>
#define F first
#define S second
#define LCM(a, b) ((a * b) / __gcd(a, b))
#define inf 1e15
... | [["+", 0, 7, 8, 9, 0, 7, 8, 9, 0, 45], ["-", 15, 339, 51, 16, 12, 69, 341, 342, 0, 22], ["+", 15, 339, 51, 16, 12, 69, 341, 342, 0, 22], ["+", 0, 7, 8, 9, 0, 7, 8, 9, 0, 46]] | 1 | 261 |
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
float d, t, s;
cin >> d >> t >> s;
cout << (t > d / s ? "Yes" : "No") << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
float d, t, s;
cin >> d >> t >> s;
cout << (t >= d / s ? "Yes" : "No") << endl;
return 0;
} | [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 47], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20]] | 1 | 66 |
#include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <iter... | #include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <iter... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 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 | 132 |
[d,t,s] = list(map(int,input().split()))
m = int(d/s)
if t >= m:
print("Yes")
else:
print("No")
| [d,t,s] = list(map(int,input().split()))
m = d/s
if t >= m:
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], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 50 |
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
;
#define ato find_by_order
#define of order_of_key
typedef long long ll;
#define pb push_back
#def... | #pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
;
#define ato find_by_order
#define of order_of_key
typedef long long ll;
#define pb push_back
#def... | [["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40]] | 1 | 248 |
import sys
def main():
# n = int(input())
[D, T, S] = [int(x) for x in input().split()]
if D/S <= T:
print('YES')
else:
print('NO')
main()
| import sys
def main():
# n = int(input())
[D, T, S] = [int(x) for x in input().split()]
if D/S <= T:
print('Yes')
else:
print('No')
main()
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 56 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
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 ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
double D, T, S;
cin >> D >> T >> S;
if (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]] | 1 | 66 |
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('No')
else:
print('Yes')
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 42 |
input_str = input()
input_elements = input_str.split()
d = float(input_elements[0])
t = float(input_elements[1])
s = float(input_elements[2])
arrive_time = d / s
if t > arrive_time:
print("Yes")
else:
print("No")
| input_str = input()
input_elements = input_str.split()
d = float(input_elements[0])
t = float(input_elements[1])
s = float(input_elements[2])
arrive_time = d / s
if t >= arrive_time:
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 | 63 |
D, T, S = gets.split.map &:to_i
if D / S <= T
puts 'Yes'
else
puts 'No'
end | D, T, S = gets.split.map &:to_i
if D / S.to_f <= T
puts 'Yes'
else
puts 'No'
end | [["+", 0, 121, 15, 738, 31, 738, 12, 652, 17, 131], ["+", 0, 121, 15, 738, 31, 738, 12, 652, 735, 22]] | 4 | 29 |
#include <iostream>
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d == t * s)
cout << "Yes";
else
cout << "No";
} | #include <iostream>
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (t * s >= d)
cout << "Yes";
else
cout << "No";
} | [["-", 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 | 48 |
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
const double pi = 3.14159265358979323846;
#define all(s) s.begin(), s.end()
#define allr(s) s.rbegin(), s.rend()
#define speed \
... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
const double pi = 3.14159265358979323846;
#define all(s) s.begin(), s.end()
#define allr(s) s.rbegin(), s.rend()
#define speed \
... | [["-", 0, 16, 12, 23, 0, 41, 15, 16, 17, 20], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 47]] | 1 | 130 |
#include <bits/stdc++.h>
#include <fstream>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
int main() {
int d, t, s;
cin >> d >> t >> s;
if (t >= d / s) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
#include <fstream>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
int main() {
double d, t, s;
cin >> d >> t >> s;
if (t >= (d / s)) {
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, 12, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]] | 1 | 70 |
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define ll long long
int main() {
int D, T, S;
cin >> D >> T >> S;
if (D / S <= T) {
cout << "Yes" << endl;
} else {
... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define ll long long
int main() {
float D, T, S;
cin >> D >> T >> S;
if (D / S <= T) {
cout << "Yes" << endl;
} else {... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, a) for (int i = 0; i < (a); i++)
#define repd(i, a) for (int i = (a)-1; i >= 0; i--)
#define reps(i, a, j) for (int i = (j); i < (a); i++)
#define deb(x) cout << #x << " " << x << endl;
#define debs(x) cout << #x << " " << x << " ";
#de... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, a) for (int i = 0; i < (a); i++)
#define repd(i, a) for (int i = (a)-1; i >= 0; i--)
#define reps(i, a, j) for (int i = (j); i < (a); i++)
#define deb(x) cout << #x << " " << x << endl;
#define debs(x) cout << #x << " " << x << " ";
#de... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 164 |
#include <bits/stdc++.h>
using namespace std;
using ull = unsigned long long;
using ll = long long;
using ld = long double;
int main() {
ll D, T, S;
cin >> D >> T >> S;
if (T * S <= D)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ull = unsigned long long;
using ll = long long;
using ld = long double;
int main() {
ll D, T, S;
cin >> D >> T >> S;
if (T * S >= D)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 74 |
#include "bits/stdc++.h"
#define MOD 1000000007
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rrep(i, n) for (ll i = (n)-1; i >= 0; i--)
#define ALL(v) v.begin(), v.end()
#define rALL(v) v.rbegin(), v.rend()
#define FOR(i, j, k) for (ll i = j; i < k; i++)
#define debug_print(var) cerr << #var << "=" << var <<... | #include "bits/stdc++.h"
#define MOD 1000000007
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rrep(i, n) for (ll i = (n)-1; i >= 0; i--)
#define ALL(v) v.begin(), v.end()
#define rALL(v) v.rbegin(), v.rend()
#define FOR(i, j, k) for (ll i = j; i < k; i++)
#define debug_print(var) cerr << #var << "=" << var <<... | [["-", 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 | 955 |
// HEADER FILES AND NAMESPACES
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
template <typename T>
using ordered_set =
tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
template <t... | // HEADER FILES AND NAMESPACES
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
template <typename T>
using ordered_set =
tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
template <t... | [["-", 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 | 1,251 |
//
// AtCoder Beginner Contest 177
// A
//
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <ctime>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <tuple>
#include <vector>
using namespace std;
... | //
// AtCoder Beginner Contest 177
// A
//
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <ctime>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <tuple>
#include <vector>
using namespace std;
... | [["-", 15, 339, 51, 16, 12, 16, 31, 16, 12, 13], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]] | 1 | 272 |
d,t,k=map(int,input().split())
if (d>=t*k):
print("Yes")
else :
print("No") | d,t,k=map(int,input().split())
if (d<=t*k):
print("Yes")
else :
print("No") | [["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 20], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 19]] | 5 | 41 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
double n;
cin >> n;
double k;
cin >> k;
double l;
cin >> l;
if (n / l >= k)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
double n;
cin >> n;
double k;
cin >> k;
double l;
cin >> l;
if (n / l <= k)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 60 |
#include <bits/stdc++.h>
#define ll long long
#define fo(i, n) for (int i = 0; i < n; i++)
#define rfo(i, n) for (int i = n - 1; i >= 0; i--)
#define Fo(i, q, n) for (int i = q; i < n; i++)
#define rFo(i, q, n) for (int i = n - 1; i >= q; i--)
#define fO(i, n, k) for (int i = 0; i < n; i += k)
#define FO(i, q, n, k) fo... | #include <bits/stdc++.h>
#define ll long long
#define fo(i, n) for (int i = 0; i < n; i++)
#define rfo(i, n) for (int i = n - 1; i >= 0; i--)
#define Fo(i, q, n) for (int i = q; i < n; i++)
#define rFo(i, q, n) for (int i = n - 1; i >= q; i--)
#define fO(i, n, k) for (int i = 0; i < n; i += k)
#define FO(i, q, n, k) fo... | [["-", 0, 57, 15, 339, 51, 16, 31, 74, 0, 24], ["-", 15, 339, 51, 16, 31, 74, 39, 77, 39, 40], ["-", 0, 57, 15, 339, 51, 16, 31, 74, 0, 25], ["+", 0, 57, 15, 339, 51, 16, 31, 2, 63, 22], ["-", 51, 16, 31, 74, 51, 23, 0, 16, 17, 85], ["+", 15, 339, 51, 16, 31, 2, 3, 4, 0, 21]] | 1 | 345 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <new>
#include <queue>
#include <stack>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define loop(i, x, z) for (int i = x; i < z; i++)
us... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <new>
#include <queue>
#include <stack>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define loop(i, x, z) for (int i = x; i < z; i++)
us... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 17, 152], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 100 |
#include <bits/stdc++.h>
#define fastio \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
typedef unsigned long long ull;
typed... | #include <bits/stdc++.h>
#define fastio \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
typedef unsigned long long ull;
typed... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22]] | 1 | 481 |
/* Simplicity and Goodness */
#include <bits/stdc++.h>
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
using namespace std;
// using namespace __gnu_pbds;
// typedef tree<int, null_type, less<int>, rb_tree_tag,
// tree_order_statistics_node_update> indexed_set;
void my_dbg() { cou... | /* Simplicity and Goodness */
#include <bits/stdc++.h>
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
using namespace std;
// using namespace __gnu_pbds;
// typedef tree<int, null_type, less<int>, rb_tree_tag,
// tree_order_statistics_node_update> indexed_set;
void my_dbg() { cou... | [["+", 0, 41, 15, 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], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 25]] | 1 | 235 |
#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";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int D, T, S;
cin >> D >> T >> S;
if ((double)D / S <= (double)T)
cout << "Yes";
else
cout << "No";
return 0;
} | [["+", 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 | 51 |
#n= gets.to_i
d,t,s = gets.split(" ").map(&:to_i)
puts d / s <= t ? "Yes" : "No"
| #n= gets.to_i
d,t,s = gets.split(" ").map(&:to_f)
puts d / s <= t ? "Yes" : "No"
| [["-", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753], ["+", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753]] | 4 | 35 |
#include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define ll long ... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define ll long ... | [["+", 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 | 256 |
#pragma once
#undef _GLIBCXX_DEBUG
#include "bits/stdc++.h"
#include "ext/pb_ds/assoc_container.hpp"
#include "ext/pb_ds/tree_policy.hpp"
#include "ext/rope"
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
void trace(int x) { cerr << x; }
void trace(long x) { cerr << x; }
void trace(long ... | #pragma once
#undef _GLIBCXX_DEBUG
#include "bits/stdc++.h"
#include "ext/pb_ds/assoc_container.hpp"
#include "ext/pb_ds/tree_policy.hpp"
#include "ext/rope"
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
void trace(int x) { cerr << x; }
void trace(long x) { cerr << x; }
void trace(long ... | [["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 17, 72], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 17, 33], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]] | 1 | 1,240 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double d, t, s;
cin >> d >> t >> s;
double x = (d / s);
if (x > t)
cout << "NO" << endl;
else
cout << "YES" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double d, t, s;
cin >> d >> t >> s;
double x = (d / s);
if (x > t)
cout << "No" << endl;
else
cout << "Yes" << 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 | 59 |
D, T, S = list(map(int, input().split()))
if D - S*T >= 0:
print("Yes")
else:
print("No") | D, T, S = list(map(int, input().split()))
if D - S*T <= 0:
print("Yes")
else:
print("No")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 44 |
import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
static void solve(int[] arr, int n) {}
public static void main(String args[]) throws IOException {
FastReader sc = new FastReader();
int d = sc.nextInt(), t = sc.nextInt(), s = sc.nextInt();
int time = d / s;
if (time == ... | import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
static void solve(int[] arr, int n) {}
public static void main(String args[]) throws IOException {
FastReader sc = new FastReader();
double d = sc.nextDouble(), t = sc.nextDouble(), s = sc.nextDouble();
double time = d / s;
... | [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 507], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19]] | 3 | 599 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int gcd(int x, int y) { return (x % y) ? gcd(y, x % y) : y; }
const double PI = 3.14159265358979323846;
int vector_finder(vector<int> vec, int number) {
auto itr = find(vec.begin(), vec.end(), number);
size_t index = distance(vec.begin(), itr);
if... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int gcd(int x, int y) { return (x % y) ? gcd(y, x % y) : y; }
const double PI = 3.14159265358979323846;
int vector_finder(vector<int> vec, int number) {
auto itr = find(vec.begin(), vec.end(), number);
size_t index = distance(vec.begin(), itr);
if... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 177 |
d, t, s = map(int, input().split())
if int(d / s) <= t:
print('Yes')
else:
print('No') | import math
d, t, s = map(int, input().split())
if math.ceil(d / s) <= t:
print('Yes')
else:
print('No') | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 63, 319, 500, 22], ["+", 0, 57, 15, 666, 0, 652, 63, 319, 0, 131], ["+", 0, 57, 15, 666, 0, 652, 63, 319, 319, 22]] | 5 | 42 |
#include <algorithm> //ソート等に使用
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <string> //
#include <vector> //
#define _USE_MATH_DEFINES
#include <bitset>
#include <cmath>
#include <math.h>
#include <queue> //幅優先等のキュー
#include <stack>
#include <stdio.h>
#include <th... | #include <algorithm> //ソート等に使用
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <string> //
#include <vector> //
#define _USE_MATH_DEFINES
#include <bitset>
#include <cmath>
#include <math.h>
#include <queue> //幅優先等のキュー
#include <stack>
#include <stdio.h>
#include <th... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 180 |
#include <algorithm>
#include <assert.h>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 690 |
#include <bits/stdc++.h>
#include <cstdlib>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int D, T, S;
string ans = "Yes";
cin >> D >> T >> S;
if (D / S > T)
ans = "No";
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
#include <cstdlib>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
double D, T, S;
string ans = "Yes";
cin >> D >> T >> S;
if (D * 1.0 / S > T)
ans = "No";
cout << ans << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 48], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 12, 13]] | 1 | 73 |
D, T, S = map(int, input().rstrip().split())
print(D)
dis = S * T
r = 'Yes' if dis >= D else 'No'
print(r)
| D, T, S = map(int, input().rstrip().split())
dis = S * T
r = 'Yes' if dis >= D else 'No'
print(r)
| [["-", 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 | 48 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d / s <= t)
cout << "Yes";
else
cout << "No";
return ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d <= s * t)
cout << "Yes";
else
cout << "No";
return ... | [["-", 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 | 90 |
#include <bits/stdc++.h>
#include <cstdio>
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (t >= d / s) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
#include <cstdio>
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (t >= (double)d / s) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [["+", 15, 339, 51, 16, 12, 16, 31, 74, 0, 24], ["+", 51, 16, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 15, 339, 51, 16, 12, 16, 31, 74, 0, 25]] | 1 | 61 |
#include <iostream>
#include <string>
#include <vector>
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 <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d / (double)s <= t) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["+", 15, 339, 51, 16, 31, 16, 12, 74, 0, 24], ["+", 51, 16, 31, 16, 12, 74, 39, 77, 39, 40], ["+", 15, 339, 51, 16, 31, 16, 12, 74, 0, 25]] | 1 | 63 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define _GLIBCXX_DEBUG
using namespace std;
using ll = long long;
using vi = vector<int>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using P = pair<int, int>;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d / s <= ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define _GLIBCXX_DEBUG
using namespace std;
using ll = long long;
using vi = vector<int>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using P = pair<int, int>;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d <= s * ... | [["-", 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 | 113 |
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
const int mod = 1e9 + 7;
// I'm in Love with Experience. �😎�
void solve() {
ll D, T, S;
cin >> D >> T >> S;
if ((D / S) <= T)
cout << "Yes";
else
cout << "No";
}
int main(void) {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
... | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
const int mod = 1e9 + 7;
// I'm in Love with Experience. �😎�
void solve() {
ll D, T, S;
cin >> D >> T >> S;
if ((D / (double)S) <= T)
cout << "Yes";
else
cout << "No";
}
int main(void) {
ios_base::sync_with_stdio(false);
cin.tie... | [["+", 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 | 100 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fastt \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fastt \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie... | [["-", 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 <bits/stdc++.h>
using namespace std;
#define ll long long
void debug() { cerr << "]" << endl; }
template <class H, class... T> void debug(H h, T... t) {
cerr << to_string(h);
if (sizeof...(t))
cerr << ", ";
debug(t...);
}
#ifdef _DEBUG
#define dbg(...) ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
void debug() { cerr << "]" << endl; }
template <class H, class... T> void debug(H h, T... t) {
cerr << to_string(h);
if (sizeof...(t))
cerr << ", ";
debug(t...);
}
#ifdef _DEBUG
#define dbg(...) ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 151 |
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define M_PI 3.14159265358979323846
const int M = 1e9 + 7;
long long mod(long long x) { return ((x % M + M) % M); }
long long add(long long a, long long b) { return mod(mod(a) + mod(b)); }
long long m... | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define M_PI 3.14159265358979323846
const int M = 1e9 + 7;
long long mod(long long x) { return ((x % M + M) % M); }
long long add(long long a, long long b) { return mod(mod(a) + mod(b)); }
long long m... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 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, 339, 51, 16, 17, 19], ["-", 8, 9, 0,... | 1 | 228 |
#include <bits/stdc++.h>
#define IOS ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define mp make_pair
#define pb push_back
#define F first
#define pi 3.14159265358979323846
#define S second
#define ll long long
#define ld long double
#define sz(s) (ll) s.size()
#define vl vector<ll>
#define pll pair<ll, l... | #include <bits/stdc++.h>
#define IOS ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define mp make_pair
#define pb push_back
#define F first
#define pi 3.14159265358979323846
#define S second
#define ll long long
#define ld long double
#define sz(s) (ll) s.size()
#define vl vector<ll>
#define pll pair<ll, l... | [["-", 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 | 125 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <functional>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; ++i)
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (t < d /... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <functional>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; ++i)
using namespace std;
int main() {
float d, t, s;
cin >> d >> t >> s;
if (t < d... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 82 |
#include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
using namespace std;
//#Rohitpratap311
//#Keep Calm And Stay Happy
typedef long long ll;
typedef long double ld;
bool ifprime(ll n) {
if (n == 2 || n == 3) {
return true;
}
for (ll i = 2; i <= ... | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
using namespace std;
//#Rohitpratap311
//#Keep Calm And Stay Happy
typedef long long ll;
typedef long double ld;
bool ifprime(ll n) {
if (n == 2 || n == 3) {
return true;
}
for (ll i = 2; i <= ... | [["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78]] | 1 | 211 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
ll t;
int main(void) {
ll d, s, t;
cin >> d;
cin >> s;
cin >> t;
if (s * t >= d)
cout << "YES" << endl;
else
cout << "NO" << endl;
// Your code here!
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
ll t;
int main(void) {
ll d, s, t;
cin >> d;
cin >> s;
cin >> t;
if (s * t >= d)
cout << "Yes" << endl;
else
cout << "No" << endl;
// Your code here!
}
| [["-", 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 | 64 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d / s > t) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
double d, t, s;
cin >> d >> t >> s;
if (d / s > t) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 83 |
d,t,s = gets.split.map(&:to_i)
puts (d / s).to_f - t <= 0 ? "Yes" : "No"
| d,t,s = gets.split.map(&:to_i)
puts (d / s.to_f) - t <= 0 ? "Yes" : "No"
| [["-", 15, 738, 31, 738, 31, 652, 486, 739, 0, 25], ["+", 0, 754, 15, 738, 31, 738, 31, 739, 0, 25]] | 4 | 35 |
package main
import (
"fmt"
)
func main() {
var d, t, s int
fmt.Scan(&d, &t, &s)
if t >= d/s {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
func min(a, b int) int {
if a < b {
return a
}
return b
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
func abs(n int) int {
if n < 0 {... | package main
import (
"fmt"
)
func main() {
var d, t, s int
fmt.Scan(&d, &t, &s)
if t >= (d+s-1)/s {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
func min(a, b int) int {
if a < b {
return a
}
return b
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
func abs(n int) int {
if n... | [["+", 0, 57, 15, 16, 12, 16, 31, 23, 0, 24], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 17, 72], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 15, 16, 12, 16, 31, 23, 0, 16, 17, 33], ["+", 15, 16, 12, 16, 31, 23, 0, 16, 12, 433], ["+", 0, 57, 15, 16, 12, 16, 31, 23, 0, 25]] | 7 | 144 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <fstream>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_set>
#include <vector>
int MOD_BIG = 1000000007;
int MOD_BIG2 = 998244353;
using std::cerr;
using std::cin;
using std::co... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <fstream>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_set>
#include <vector>
int MOD_BIG = 1000000007;
int MOD_BIG2 = 998244353;
using std::cerr;
using std::cin;
using std::co... | [["-", 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 | 187 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.reflect.Method;
import java.util.*;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Deque;
import java.util.Map.Entry;
// import org.w3c.dom.css.Counter;
public class Main {
// publi... |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.reflect.Method;
import java.util.*;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Deque;
import java.util.Map.Entry;
// import org.w3c.dom.css.Counter;
public class Main {
// publ... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 179 |
#include <bits/stdc++.h>
const int INF = 1e9;
const int MOD = 1e9 + 7;
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define REPD(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (int i = a; i < int(b); i++)
#define FORD(i, a, b) for (int i = b - 1; i >... | #include <bits/stdc++.h>
const int INF = 1e9;
const int MOD = 1e9 + 7;
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define REPD(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (int i = a; i < int(b); i++)
#define FORD(i, a, b) for (int i = b - 1; i >... | [["-", 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 | 182 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll d, t, s;
cin >> d >> t >> s;
ll v = d / s;
if (v <= t) {
cout << "Yes" << endl;
} else {
cout << "No";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll d, t, s;
cin >> d >> t >> s;
float v = (float)d / s;
if (v <= t) {
cout << "Yes" << endl;
} else {
cout << "No";
}
return 0;
} | [["-", 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 | 82 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define deb(x) cout << #x << " " << x << endl;
#define debtwo(x, y) cout << #x << " " << x << ", " << #y << " " << y << endl;
#define mod 100000007
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int d, t, s;
cin >> d >> t... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define deb(x) cout << #x << " " << x << endl;
#define debtwo(x, y) cout << #x << " " << x << ", " << #y << " " << y << endl;
#define mod 100000007
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll d, t, s;
cin >> d >> t ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 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 | 85 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define RREP(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
using namespace std;
typedef long long ll;
int main(void) {
int d, t, s;
cin... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define RREP(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
using namespace std;
typedef long long ll;
int main(void) {
double d, t, s;
... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 102 |
#include <bits/stdc++.h>
using namespace std;
// defines...
#define ll long long
#define tata return;
#define pb push_back
#define mp make_pair
#define in insert
#define run \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
using namespace std;
// defines...
#define ll long long
#define tata return;
#define pb push_back
#define mp make_pair
#define in insert
#define run \
ios_base::sync_with_stdio(false); ... | [["-", 8, 9, 0, 57, 64, 9, 0, 42, 0, 22], ["+", 8, 9, 0, 57, 64, 9, 0, 42, 0, 22], ["-", 8, 9, 0, 57, 75, 76, 0, 1, 0, 22], ["+", 8, 9, 0, 57, 75, 76, 0, 1, 0, 22]] | 1 | 126 |
#include <bits/stdc++.h>
using namespace std;
#define rep(ver, n) rep2(ver, 0, n)
#define rep2(ver, m, n) for (int ver = m; ver < (n); ver++)
#define loop while (true)
#define dup(x, y) (((x) + (y)-1) / (y))
#define all(v) (v).begin(), (v).end()
#define debug(x) std::cerr << #x << ": " << x << "\n"
#define debug2(x, y... | #include <bits/stdc++.h>
using namespace std;
#define rep(ver, n) rep2(ver, 0, n)
#define rep2(ver, m, n) for (int ver = m; ver < (n); ver++)
#define loop while (true)
#define dup(x, y) (((x) + (y)-1) / (y))
#define all(v) (v).begin(), (v).end()
#define debug(x) std::cerr << #x << ": " << x << "\n"
#define debug2(x, y... | [["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40]] | 1 | 126 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define M 1000000007
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double d, t, s;
cin >> d >> t >> s;
if (s / d <= t) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define M 1000000007
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double d, t, s;
cin >> d >> t >> s;
if (d / s <= t) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 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, 17, 85], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22]] | 1 | 76 |
mod = 10**9 + 7
def solve():
d, t, s = map(int, input().split())
print('YES' if t * s >= d else 'NO')
t = 1
while t > 0:
solve()
t -= 1 | mod = 10**9 + 7
def solve():
d, t, s = map(int, input().split())
print('Yes' if t * s >= d else 'No')
t = 1
while t > 0:
solve()
t -= 1 | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 60 |
<?php
list($D, $T, $S)=sscanf(trim(fgets(STDIN)),"%d %d %d");
print(floor($D / $S) <= $T ? "Yes" : "No"); | <?php
list($D, $T, $S)=sscanf(trim(fgets(STDIN)),"%d %d %d");
print(ceil($D / $S) <= $T ? "Yes" : "No"); | [["-", 0, 23, 0, 41, 15, 16, 31, 613, 63, 141], ["+", 0, 23, 0, 41, 15, 16, 31, 613, 63, 141]] | 6 | 51 |
#include <bits/stdc++.h>
using namespace std;
typedef double db;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
typedef vector<ll> vll;
typedef vector<int> vi;
typedef complex<double> com;
#define MOD 1000000007
#define PI 3.14159265... | #include <bits/stdc++.h>
using namespace std;
typedef double db;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
typedef vector<ll> vll;
typedef vector<int> vi;
typedef complex<double> com;
#define MOD 1000000007
#define PI 3.14159265... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 232 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int t;
t = 1;
while (t--) {
int d, t, s;
cin >> d >> t >> s;
if ((d / s) <= t)
cout << "Yes\n";
else
cout << "No\n";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
t = 1;
while (t--) {
double d, t, s;
cin >> d >> t >> s;
if ((d / s) <= t)
cout << "Yes\n";
else
cout << "No\n";
}
}
| [["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40]] | 1 | 66 |
#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define puts(i) cout << i << endl
#define INF INT_MAX
#define INFL LLONG_MAX
typedef long long ll;
using namespace std;
int main() {
int d, t, s;
cin >> d >> t >> s;
if (d / s <= ... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define puts(i) cout << i << endl
#define INF INT_MAX
#define INFL LLONG_MAX
typedef long long ll;
using namespace std;
int main() {
double d, t, s;
cin >> d >> t >> s;
if ((doubl... | [["-", 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, 74, 0, 24], ["+", 15, 339, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 57, 15, 339, 51, 16, 31, 74, 0, 25], ["+", 15, 339, 51, 16, 31, 74, 51, 23, 0, 24], ["+", 15, 339, 51, 16, 31, 74, 51, 23, 0, 25]] | 1 | 83 |
#include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll d, t, s;
cin >> d >> t >> s;
if (d / s <= t) {
cout << "Yes"
<< "\n";
} else {
cout << "No"
<< "\n";
}
return 0;
} | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double d, t, s;
cin >> d >> t >> s;
if (d / s <= t) {
cout << "Yes"
<< "\n";
} else {
cout << "No"
<< "\n";
}
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 83 |
#include "bits/stdc++.h"
using namespace std;
#define ll long long
#define pb push_back
#define empb emplace_back
#define mp make_pair
#define F first
#define S second
#define endl "\n"
#define vii vector<int>
#define vll vector<ll>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define vpll vector<pll>
#define vp... | #include "bits/stdc++.h"
using namespace std;
#define ll long long
#define pb push_back
#define empb emplace_back
#define mp make_pair
#define F first
#define S second
#define endl "\n"
#define vii vector<int>
#define vll vector<ll>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define vpll vector<pll>
#define vp... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 129 |
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
typedef long lon... | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
typedef long lon... | [["-", 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 | 88 |
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
#define rep(src, dst) for (int i = src; i < dst; i++)
#define rep2(src, dst) for (int j = src; j < dst; j++)
#define INF 1000000000000 // 1e+12
#define MOD 10000007 // 1e9+7
#define PI acos(-1)
#define ll long long
template <typename T> i... | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
#define rep(src, dst) for (int i = src; i < dst; i++)
#define rep2(src, dst) for (int j = src; j < dst; j++)
#define INF 1000000000000 // 1e+12
#define MOD 10000007 // 1e9+7
#define PI acos(-1)
#define ll long long
template <typename T> i... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 205 |
#include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define llu unsigned long long int
#define sa(a, n, t) \
for (int ii = 0; ii < n; ii++) \
scanf("%" #t "", &(a)[ii])
#define rep(i, n) for ... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define llu unsigned long long int
#define sa(a, n, t) \
for (int ii = 0; ii < n; ii++) \
scanf("%" #t "", &(a)[ii])
#define rep(i, n) for ... | [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95]] | 1 | 293 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define endl "\n"
#define ff first
#define ss second
#define pb push_back
#define INF ll(1e18)
#define MOD 1000000007
#define debug(x) cout << x << "\n";
#define pll pair<ll, ll>
#define mp make_pair
#define Craig ios_base::sync_with_stdio(false),... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define endl "\n"
#define ff first
#define ss second
#define pb push_back
#define INF ll(1e18)
#define MOD 1000000007
#define debug(x) cout << x << "\n";
#define pll pair<ll, ll>
#define mp make_pair
#define Craig ios_base::sync_with_stdio(false),... | [["-", 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 | 115 |
///////////////////////Loading Payloads.......////////////////////////////
#include <bits/stdc++.h>
#define f(i, a, b) for (int i = a; i < b; i++)
#define fd(i, a, b) for (int i = a; i > b; i--)
#define ll long long
#define fl(i, a, b) for (ll i = a; i < b; i++)
#define VI vector<int>
#define VP vector<pair<int, int>>... |
///////////////////////Loading Payloads.......////////////////////////////
#include <bits/stdc++.h>
#define f(i, a, b) for (int i = a; i < b; i++)
#define fd(i, a, b) for (int i = a; i > b; i--)
#define ll long long
#define fl(i, a, b) for (ll i = a; i < b; i++)
#define VI vector<int>
#define VP vector<pair<int, int>>... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 199 |
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include ... | #pragma GCC target("avx2")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 111 |
d, t, s = map(int, input().split())
b = (d / s - t) >= 0
if b:
print("Yes")
else:
print("No") | d, t, s = map(int, input().split())
b = (t - d / s) >= 0
if b:
print("Yes")
else:
print("No") | [["+", 0, 662, 12, 666, 0, 23, 0, 657, 31, 22], ["+", 0, 662, 12, 666, 0, 23, 0, 657, 17, 33], ["-", 0, 662, 12, 666, 0, 23, 0, 657, 17, 33], ["-", 0, 662, 12, 666, 0, 23, 0, 657, 12, 22]] | 5 | 46 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
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 rep(i, n) for (int i = 0; i < (n); i++)
int main() {
float d, t, s;
cin >> d >> t >> s;
if (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]] | 1 | 63 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int d, t, s;
cin >> d >> t >> s;
double ans = d / s;
if (ans <= t) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
double d, t, s;
cin >> d >> t >> s;
double ans = d / s;
if (ans <= 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 | 69 |
/*
TASK: Trial division (prime factorization of a number)
NAME: Aryan
LANG: c++
*/
#include <bits/stdc++.h>
#define MAX 200005
using namespace std;
using ll = long long int;
ll dp[MAX];
#define FOR(n) for (int i = 0; i < n; i++)
bool isPower(ll x, ll y) {
// The only power of 1 is 1 itself
if (x == 1)
return (... | /*
TASK: Trial division (prime factorization of a number)
NAME: Aryan
LANG: c++
*/
#include <bits/stdc++.h>
#define MAX 200005
using namespace std;
using ll = long long int;
ll dp[MAX];
#define FOR(n) for (int i = 0; i < n; i++)
bool isPower(ll x, ll y) {
// The only power of 1 is 1 itself
if (x == 1)
return (... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 185 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define Q 1000000007
// ll white, black;
// vecto... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define Q 1000000007
// ll white, black;
// vecto... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 208 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
/* Input */
int D, T, S;
cin >> D >> T >> S;
/* Main Logic */
double time = D / S;
/* Output */
if (T < time)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
/* Input */
double D, T, S;
cin >> D >> T >> S;
/* Main Logic */
double time = D / S;
/* Output */
if (T < time)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 71 |
S = gets
T = gets
max = 0
(0..(S.size - T.size)).each do |n|
str = S[n..(T.size-1 + n)]
same_count = str.split("").filter.with_index do |s, i|
s == T[i]
end.size
max = same_count if max < same_count
end
puts T.size - max | S = gets.chomp
T = gets.chomp
max = 0
(0..(S.size - T.size)).each do |n|
str = S[n..(T.size-1 + n)]
same_count = str.split("").filter.with_index do |s, i|
s == T[i]
end.size
max = same_count if max < same_count
end
puts T.size - max | [["+", 36, 36, 0, 493, 0, 662, 12, 652, 17, 131], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22]] | 4 | 86 |
s=input()
t=input()
ans = 0
c = 0
m = 1001
for i in range(len(s)-len(t)+1):
tmp = s[i:i+len(t)]
#print(tmp)
for j in range(len(t)):
#print(tmp[j],t[j])
if tmp[j] != t[j]:
c+=1
#print(c)
if m > c:
ans = c
c=0
print(ans) | s=input()
t=input()
ans = 0
c = 0
m = 1001
for i in range(len(s)-len(t)+1):
tmp = s[i:i+len(t)]
#print(tmp)
for j in range(len(t)):
#print(tmp[j],t[j])
if tmp[j] != t[j]:
c+=1
#print(c)
if m > c:
m = c
ans = c
c=0
print(ans) | [["+", 0, 57, 64, 196, 0, 1, 0, 662, 31, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 12, 22]] | 5 | 93 |
#!/usr/bin/env python3
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)
S = input()
T = input()
lis = list(T)
max_count = 0
for i in range(len(S) - len(T)):
subS = list(S[i:i+len(T)])
count = 0
for j in ran... | #!/usr/bin/env python3
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)
S = input()
T = input()
lis = list(T)
max_count = 0
for i in range(len(S) - len(T)+1):
subS = list(S[i:i+len(T)])
count = 0
for j in r... | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 134 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String t = sc.nextLine();
int ans = 1001;
for (int i = 0; i < s.length() - t.length(); i++) {
String sub = s.substring(i, i + t.length());
... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String t = sc.nextLine();
int ans = 1001;
for (int i = 0; i < s.length() - t.length() + 1; i++) {
String sub = s.substring(i, i + t.length());
... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 499]] | 3 | 176 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a;... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a;... | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 33], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72]] | 1 | 203 |
#include <bits/stdc++.h>
using namespace std;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep2(i, m, n) for (int(i) = (m); (i) < (n); (i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll mod = 998244353;
int inf = 100... | #include <bits/stdc++.h>
using namespace std;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep2(i, m, n) for (int(i) = (m); (i) < (n); (i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll mod = 998244353;
int inf = 100... | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 166 |
def main():
s_long = input()
s_shor = input()
ans = len(s_shor)
max_len = len(s_long) - len(s_shor)
for i in range(max_len):
cnt = 0
for j in range(len(s_shor)):
short = s_shor[j]
longg = s_long[i + j]
if (short != longg):
... | def main():
s_long = input()
s_shor = input()
ans = len(s_shor)
max_len = len(s_long) - len(s_shor) + 1
for i in range(max_len):
cnt = 0
for j in range(len(s_shor)):
short = s_shor[j]
longg = s_long[i + j]
if (short != longg):
... | [["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 72], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 12, 612]] | 5 | 100 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.