結果
問題 |
No.388 階段 (1)
|
ユーザー |
![]() |
提出日時 | 2017-01-22 19:16:31 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 527 ms |
コンパイル使用メモリ | 63,424 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-23 05:40:59 |
合計ジャッジ時間 | 1,503 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 10 RE * 2 |
ソースコード
#include "iostream" #include "cmath" #include "algorithm" #include "string" #include "vector" using namespace std; int s; void output() { cout << s << endl; } int main() { int a, b; cin >> a >> b; s = b / a; if ((b % a) == 0) { s += 1; } output(); return 0; }