結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2019-09-12 00:45:29 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 215 bytes |
コンパイル時間 | 99 ms |
コンパイル使用メモリ | 27,648 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-02 16:56:51 |
合計ジャッジ時間 | 696 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
コンパイルメッセージ
main.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] 3 | main() { | ^~~~
ソースコード
#include <stdio.h> main() { long step, length; scanf("%ld %ld", &step, &length); if (length % step == 0) printf("%d\n", length/step); else printf("%d\n", length/step+1); }