結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2019-10-29 16:01:50 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 217 bytes |
コンパイル時間 | 647 ms |
コンパイル使用メモリ | 53,592 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 21:30:49 |
合計ジャッジ時間 | 1,583 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 5 |
ソースコード
#include<iostream> using namespace std; int main(){ int a,b; cin >> a >> b; int foot=a; int count=0; while(a<=b){ a+=foot; ++count; } cout << count << endl; return 0; }