結果

問題 No.687 E869120 and Constructing Array 1
ユーザー Athena2911
提出日時 2018-08-16 10:53:07
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 181 bytes
コンパイル時間 530 ms
コンパイル使用メモリ 57,704 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-01 12:54:38
合計ジャッジ時間 1,071 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
int a;
cin>>a;
if(a%2==0){
	cout<<a/2<<" "<<a/2<<endl;
}else cout<<a/2<<" "<<a/2+1<<endl;

}
0