結果

問題 No.388 階段 (1)
ユーザー kapokapo
提出日時 2016-07-08 23:28:35
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 295 bytes
コンパイル時間 557 ms
コンパイル使用メモリ 63,128 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-21 08:24:42
合計ジャッジ時間 1,175 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 2 ms
5,376 KB
testcase_09 AC 1 ms
5,376 KB
testcase_10 AC 2 ms
5,376 KB
testcase_11 AC 2 ms
5,376 KB
testcase_12 AC 2 ms
5,376 KB
testcase_13 WA -
testcase_14 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _CRT_SECURE_NO_WARNINGS // #pragma warning(disable:4996)
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <functional>
using namespace std; 

int main()
{
	int S, F;
	cin >> S >> F;
	int ans = S/F;
	if (S&F) ans++;
	cout << ans << endl;
	return 0;
}
0