結果

問題 No.863 計算量
ユーザー Konton7
提出日時 2019-11-26 16:17:47
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 230 bytes
コンパイル時間 687 ms
コンパイル使用メモリ 70,244 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-06 21:58:39
合計ジャッジ時間 1,381 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;

int main(){
    int a, b, ans;
    cin >> a >> b;
    ans = 2;
    if ( (a+1)*40 > b && b >= a*40 ) ans = 1;
    cout << ans << endl;
    return 0;
}
0