結果

問題 No.687 E869120 and Constructing Array 1
ユーザー dgd1724
提出日時 2018-06-26 19:05:18
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 277 bytes
コンパイル時間 419 ms
コンパイル使用メモリ 58,844 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 22:57:53
合計ジャッジ時間 1,025 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <fstream>
#include <iostream>

int main() {

	//std::ifstream inf("Text.txt");	std::cin.rdbuf(inf.rdbuf());

	int N = 0;
	std::cin >> N;

	if (10 < N) {
		std::cout << "10 " << N - 10 << std::endl;
	}
	else {
		std::cout << "1 " << N - 1 << std::endl;
	}

	return 0;
}
0