結果
問題 | No.1472 作為の和 |
ユーザー |
|
提出日時 | 2021-04-09 21:44:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 486 bytes |
コンパイル時間 | 1,717 ms |
コンパイル使用メモリ | 165,032 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-25 04:50:17 |
合計ジャッジ時間 | 2,269 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 9 |
ソースコード
#include <bits/stdc++.h>using namespace std;typedef long long ll;#define int ll#define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)#define pb emplace_back#define pii pair<int , int>#define F first#define S secondconst int mod = 1000000007;const int MAXX = 1e6 + 5;int n;signed main(){_FastIO;cin >> n;if(!n){cout << "9 1" << endl;return 0;}int ans = 9 * n + 2;cout << ans << " 1" << endl;return 0;}