結果
| 問題 | No.47 ポケットを叩くとビスケットが2倍 |
| コンテスト | |
| ユーザー |
yukkuriesu
|
| 提出日時 | 2017-11-19 22:56:40 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 178 bytes |
| コンパイル時間 | 398 ms |
| コンパイル使用メモリ | 53,592 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-26 00:41:28 |
| 合計ジャッジ時間 | 1,305 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 1 WA * 20 |
ソースコード
#include <iostream>
using namespace std;
int main(int argc, char const* argv[])
{
int a,b;
cin>>a>>b;
int ans=b/a;
ans=(b%a==0?ans:(ans+1));
cout<<ans<<endl;
return 0;
}
yukkuriesu