結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| コンテスト | |
| ユーザー |
Tamego
|
| 提出日時 | 2022-07-25 11:35:11 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 315 bytes |
| コンパイル時間 | 1,408 ms |
| コンパイル使用メモリ | 166,792 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-07 08:42:04 |
| 合計ジャッジ時間 | 1,928 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
#define rep(i,p,n)for(ll i=(ll)p;i<(ll)n;i++)
#define all(x)(x).begin(),(x).end()
#define edt(x1,y1,x2,y2)sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))
int main(){
ll N;
cin>>N;
if(N>=11){
cout<<"10 "<<N-10<<endl;
}
else{
cout<<"1 "<<N-1<<endl;
}
}
Tamego