結果

問題 No.890 移調の限られた旋法
ユーザー fine
提出日時 2019-09-20 21:45:18
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 281 bytes
コンパイル時間 1,574 ms
コンパイル使用メモリ 164,876 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-14 17:07:14
合計ジャッジ時間 5,591 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 RE * 2
other AC * 10 WA * 5 RE * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

using ll = long long;

int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    ll n, K;
    cin >> n >> K;
    assert(n % 2 == 1 || K % 2 == 1);
    if (n == K) cout << 1 << endl;
    else cout << 0 << endl;
    return 0;
}
0