結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-11-20 14:24:57 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 78 bytes |
| コンパイル時間 | 142 ms |
| コンパイル使用メモリ | 29,952 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-27 06:56:12 |
| 合計ジャッジ時間 | 642 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){int a,b;scanf("%d%d",&a,&b);printf("%d\n",(a+b-1)/a);}
| ^~~~
ソースコード
#include<cstdio>
main(){int a,b;scanf("%d%d",&a,&b);printf("%d\n",(a+b-1)/a);}