結果
問題 | No.1472 作為の和 |
ユーザー |
👑 ![]() |
提出日時 | 2021-04-09 21:41:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 227 bytes |
コンパイル時間 | 2,849 ms |
コンパイル使用メモリ | 188,992 KB |
最終ジャッジ日時 | 2025-01-20 13:54:04 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll=long long; #define rep(i,n) for(int i=0; i<(n); i++) ll N; int main(){ cin>>N; if(N==0){ cout<<"9 1\n"; } else{ cout<<(N*18+8)<<" 1\n"; } return 0; }