結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー | saming2209 |
提出日時 | 2018-05-18 22:32:37 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 1,328 ms |
コンパイル使用メモリ | 159,268 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-28 13:52:35 |
合計ジャッジ時間 | 1,820 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include<bits/stdc++.h> #define INF 1000000007 #define LINF 1000000000000000007 using namespace std; typedef long long Int; typedef pair<Int, Int> P; int n; int main(){ cin >> n; cout << min(n-1, 10) << " " << n - min(n-1, 10) << endl; return 0; }