結果
問題 | No.46 はじめのn歩 |
ユーザー |
|
提出日時 | 2023-01-22 11:18:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 70 bytes |
コンパイル時間 | 598 ms |
コンパイル使用メモリ | 63,484 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-24 16:02:08 |
合計ジャッジ時間 | 1,440 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
コンパイルメッセージ
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import<iostream> | ^~~~~~ main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 2 | main(){int a,b;std::cin>>a>>b;std::cout<<(a+b-1)/a;} | ^~~~
ソースコード
#import<iostream> main(){int a,b;std::cin>>a>>b;std::cout<<(a+b-1)/a;}