結果
問題 | No.1472 作為の和 |
ユーザー |
|
提出日時 | 2021-04-09 21:44:47 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 359 bytes |
コンパイル時間 | 687 ms |
コンパイル使用メモリ | 72,072 KB |
最終ジャッジ日時 | 2025-01-20 13:59:16 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 9 |
ソースコード
#line 1 "main.cpp" #include <iostream> #include <algorithm> #include <numeric> #include <vector> #include <string> using namespace std; using lint = long long; void solve() { int n; cin >> n; cout << (n == 0 ? 9 : n * 18) << " " << 1 << "\n"; } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); solve(); return 0; }