結果

問題 No.687 E869120 and Constructing Array 1
ユーザー okkuukenken
提出日時 2018-10-06 14:15:46
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 418 ms
コンパイル使用メモリ 67,132 KB
最終ジャッジ日時 2025-01-06 14:22:43
ジャッジサーバーID
(参考情報)
judge4 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
	int n;
	cin >> n;
	cout << (n <= 10 ? 1 : 10) << ' ' << (n <= 10 ? n - 1 : n - 10) << endl;
}
0