0
0

yukicoder No.2637 Factorize? 解説

Posted at

問題文

解説

$P=1\times P$ である。
よって、 $1$ と $P$ を順番に出力すればACできる。

解答例

#include <bits/stdc++.h>
using namespace std;
using ll=long long;

int main(){
  ll p;cin>>p;
  cout<<"1 "<<p<<endl;
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0