結果

問題 No.1139 Slime Race
ユーザー 👑 CleyL
提出日時 2022-07-31 18:50:14
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 234 bytes
コンパイル時間 875 ms
コンパイル使用メモリ 67,064 KB
最終ジャッジ日時 2025-01-30 17:03:45
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int a,b;cin>>a>>b;
    int sm = 0;
    int tmp;
    for(int i = 0; a > i; i++)cin>>tmp;
    for(int i = 0; a > i; i++)cin>>tmp,sm += tmp;
    cout << (b+sm-1)/sm << endl;
    
}
0