結果
問題 |
No.414 衝動
|
ユーザー |
|
提出日時 | 2020-06-20 00:52:52 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 2,726 ms |
コンパイル使用メモリ | 192,468 KB |
最終ジャッジ日時 | 2025-01-11 08:19:37 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 TLE * 3 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); int64_t m; cin>>m; for(int 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; }