結果
問題 | No.2637 Factorize? |
ユーザー |
![]() |
提出日時 | 2024-02-19 21:22:13 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,855 bytes |
コンパイル時間 | 1,594 ms |
コンパイル使用メモリ | 170,480 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-09-29 01:18:50 |
合計ジャッジ時間 | 2,750 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 |
ソースコード
#include <algorithm>#include <bitset>#include <complex>#include <deque>#include <exception>#include <fstream>#include <functional>#include <iomanip>#include <ios>#include <iosfwd>#include <iostream>#include <istream>#include <iterator>#include <limits>#include <list>#include <locale>#include <map>#include <memory>#include <new>#include <numeric>#include <ostream>#include <queue>#include <set>#include <sstream>#include <stack>#include <stdexcept>#include <streambuf>#include <string>#include <typeinfo>#include <utility>#include <valarray>#include <vector>using namespace std;using ll = long long;using ld = long double;using vi = vector<int>;using vl = vector<ll>;using vvi = vector<vector<int>>;using vvl = vector<vector<ll>>;struct Edge {int to;ll weight;};struct Graph {int n;vector<vector<Edge>> adj;};void add_edge(Graph &g, int from, int to, ll weight) {g.adj[from].push_back(Edge{to, weight});}#define overload4(_1, _2, _3, _4, name, ...) name#define rep1(n) for (int i = 0; i < n; ++i) // i: [0, n)#define rep2(i, n) for (int i = 0; i < n; ++i) // i: [0, n)#define rep3(i, a, b) for (int i = a; i < b; ++i) // i: [a, b)#define rep4(i, a, b, c) for (int i = a; i < b; i += c) // i: [a, b) step c#define rep(...) overload4(__VA_ARGS__, rep4, rep3, rep2, rep1)(__VA_ARGS__)#define all(v) (v).begin(), (v).end()const ll MOD = 998244353;const ll MOD17 = 1000000007;const ld PI = M_PI;const ll INF = 1LL << 60;const vector<char> abc = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i','j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r','s', 't', 'u', 'v', 'w', 'x', 'y', 'z'};int main() {std::cin.tie(0)->sync_with_stdio(0);ll p;cin >> p;cout << 1 << " " << p << endl;}