結果

問題 No.2007 Arbitrary Mod (Easy)
ユーザー nao109
提出日時 2022-12-02 13:26:58
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 267 bytes
コンパイル時間 2,015 ms
コンパイル使用メモリ 191,460 KB
最終ジャッジ日時 2025-02-09 03:09:47
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define fi first
#define se second
#define all(a) a.begin(),a.end()
int main(){
  int a,n;
  cin >> a >> n;
  cout << 2 << endl;
  if(a%2==1) cout << 1 << endl;
  else cout << 0 << endl;
  return 0;
}
0