結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-02 15:44:14 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 189 bytes |
| コンパイル時間 | 187 ms |
| コンパイル使用メモリ | 27,904 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-14 04:42:00 |
| 合計ジャッジ時間 | 694 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <stdio.h>
int main(void)
{
double a, b, c;
scanf("%lf %lf", &a, &b);
c = b/a;
if(c > (int)c) {
c++;
}
printf("%d\n", (int)c);
return 0;
}