QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#140951 | #6855. Assertion | neko_nyaa | AC ✓ | 13ms | 3492kb | C++23 | 323b | 2023-08-17 01:01:56 | 2023-08-17 01:01:57 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
void solve() {
int n, m, d; cin >> n >> m >> d;
int cz = (m+n-1)/n;
if (cz >= d) {
cout << "Yes\n";
} else {
cout << "No\n";
}
}
signed main() {
ios::sync_with_stdio(0); cin.tie(0);
int t; cin >> t;
while (t--) {
solve();
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 13ms
memory: 3492kb
input:
100000 357307304 363942958 1 662576913 905718124 995220611 453416937 526170453 0 119873136 154256418 1 41415817 125860824 705825857 200416889 827676915 3 176598443 191432743 294885355 215284443 380024466 389737003 578805740 738635880 0 22343465 928072945 1 73751065 983487501 572309207 511276117 7047...
output:
Yes No Yes Yes No Yes No No Yes Yes No Yes No No No Yes Yes Yes No Yes Yes No No No No No Yes Yes No Yes Yes Yes No Yes Yes No No Yes No Yes Yes No No Yes No Yes No No Yes No No Yes No Yes No Yes No Yes No Yes Yes Yes No Yes Yes Yes No Yes Yes Yes Yes No Yes Yes No No No No Yes No No Yes Yes Yes No ...
result:
ok 100000 lines