結果

問題 No.687 E869120 and Constructing Array 1
ユーザー ttakanottakano
提出日時 2018-06-05 17:36:22
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 529 bytes
コンパイル時間 1,083 ms
コンパイル使用メモリ 143,280 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-12 22:27:05
合計ジャッジ時間 2,596 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 1 ms
4,380 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 2 ms
4,376 KB
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "bits/stdc++.h"
using namespace std;
#define print(x) cout<<x<<endl;
#define rep(i,a,b) for(int i=a;i<b;i++)
#define REP(i,a) for(int i=0;i<a;i++)
#define printall(n,array) {for(int i=0;i<n;i++){cout<<array[i]<<" ";}cout<<endl;}
#define U() cout<<endl;
typedef long long ll;
typedef pair<int, int> PI;
typedef pair<int, PI> V;
typedef vector<int> VE;
const ll mod = 10000000007; //10^9+7
 
int main(){
  int a, b;
  int n;
  cin>>n;
  REP(i,10){
    if(n - i <= 10){
      print(i<<" "<<n-i);
      return 0;
    }
  }
}
0