結果
問題 |
No.2297 Best Grouping
|
ユーザー |
|
提出日時 | 2023-05-15 05:39:42 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 257 bytes |
コンパイル時間 | 648 ms |
コンパイル使用メモリ | 65,576 KB |
最終ジャッジ日時 | 2025-02-13 00:38:11 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 5 WA * 15 |
ソースコード
#include <iostream> typedef long long int ll; using namespace std; int main() { ll n; cin>>n; if(n%2==1){ cout<<2<<endl; } else if(n%2==2){ cout<<1<<endl; } else{ cout<<0<<endl; } return 0; }