結果
| 問題 |
No.1223 I hate Golf
|
| コンテスト | |
| ユーザー |
Schnee
|
| 提出日時 | 2022-01-02 22:21:25 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 299 bytes |
| コンパイル時間 | 122 ms |
| コンパイル使用メモリ | 28,288 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-12 02:54:31 |
| 合計ジャッジ時間 | 843 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
int main(void){
char buf[34];
int n,k,t;
fgets(buf, sizeof(buf), stdin);
sscanf(buf, "%d %d %d", &n, &k, &t);
if ((double)abs(n)/k <= t){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
}
Schnee