結果

問題 No.773 コンテスト
ユーザー Pachicobue
提出日時 2018-12-21 00:09:08
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 66,284 KB
最終ジャッジ日時 2025-01-06 19:45:35
ジャッジサーバーID
(参考情報)
judge3 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
int main()
{
    int A, B;
    std::cin >> A >> B;
    int ans = 3;
    for (int i = 23; i <= 25; i++) {
        if (A <= i and i <= B) { ans--; }
    }
    std::cout << ans << std::endl;
    return 0;
}
0