結果

問題 No.863 計算量
ユーザー Konton7
提出日時 2019-11-26 16:15:41
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 850 ms
コンパイル使用メモリ 69,504 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-06 21:52:36
合計ジャッジ時間 1,445 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 5 WA * 8
権限があれば一括ダウンロードができます

ソースコード

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 >= a*40 ) ans = 1;
    cout << ans << endl;
    return 0;
}
0