QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#153012 | #6855. Assertion | heaksicn | AC ✓ | 8ms | 3636kb | C++14 | 568b | 2023-08-29 08:43:31 | 2023-08-29 08:43:32 |
Judging History
answer
//Man always remember love because of romance only!
#include<bits/stdc++.h>
using namespace std;
inline int read(){
int X=0,w=0; char ch=0;
while(!isdigit(ch)) {w|=ch=='-';ch=getchar();}
while(isdigit(ch)) X=(X<<3)+(X<<1)+(ch^48),ch=getchar();
return w?-X:X;
}
inline void write(int x){
if(x<0) putchar('-'),x=-x;
if(x>9) write(x/10);
putchar(x%10+'0');
}
int main(){
int T=read();
while(T--){
int n=read(),m=read(),d=read();
int tp=m/n;
if(m%n) tp++;
if(tp>=d) puts("Yes");
else puts("No");
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 8ms
memory: 3636kb
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