結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-01 22:55:24 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 259 bytes |
| コンパイル時間 | 1,555 ms |
| コンパイル使用メモリ | 165,188 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-09-30 22:41:19 |
| 合計ジャッジ時間 | 2,528 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 5 WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vll=vector<long long>;
int main() {
ll n;
cin>>n;
if(n%2){
cout<<n/2<<" "<<n/2-1<<endl;
}else{
cout<<n/2<<" "<<n/2<<endl;
}
system("pause");
}