結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2017-06-22 14:23:46 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 27,520 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-02 12:12:35 |
合計ジャッジ時間 | 581 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 7 |
ソースコード
/***** y_46.c 2017.6.22 Ericle *****/ #include <stdio.h> int main() { int a, b; int ans; scanf("%d %d", &a, &b); ans = b / a; if(ans == 0) { printf("%d\n", ans); } else { ans += 1; printf("%d\n", ans); } return 0; }