結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-25 22:26:27 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 199 bytes |
| コンパイル時間 | 397 ms |
| コンパイル使用メモリ | 53,976 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-27 04:53:24 |
| 合計ジャッジ時間 | 948 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include<iostream>
using namespace std;
int main()
{
int N;
cin>>N;
if(N>10)cout<<N-10<<" 10"<<endl;
if(N==10)cout<<N-9<<" 9"<<endl;
else cout<<N-1<<" 1"<<endl;
return 0;
}