結果
問題 | No.414 衝動 |
ユーザー |
|
提出日時 | 2020-06-20 00:54:20 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 13 ms / 1,000 ms |
コード長 | 240 bytes |
コンパイル時間 | 1,808 ms |
コンパイル使用メモリ | 192,272 KB |
最終ジャッジ日時 | 2025-01-11 08:20:02 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); int64_t m; cin>>m; for(int64_t i=2;i*i<=m;++i){ if(m%i==0){ cout<<i<<" "s<<m/i<<"\n"s; return 0; } } cout<<1<<" "s<<m<<"\n"s; }