結果

問題 No.1422 Social Distance in Train
ユーザー e869120
提出日時 2021-03-12 21:21:08
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 283 bytes
コンパイル時間 704 ms
コンパイル使用メモリ 81,180 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-14 11:15:41
合計ジャッジ時間 1,323 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <map>
#include <cmath>
#include <queue>
#include <vector>
#include <string>
#include <algorithm>
#include <functional>
using namespace std;

int main() {
	long long N;
	cin >> N;
	if (N % 2 == 0) cout << N << endl;
	else cout << "1" << endl;
	return 0;
}
0