結果
問題 |
No.2607 Add One Digit
|
ユーザー |
![]() |
提出日時 | 2024-01-05 18:19:20 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 190 bytes |
コンパイル時間 | 1,641 ms |
コンパイル使用メモリ | 165,496 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-27 19:24:31 |
合計ジャッジ時間 | 2,099 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i,start,end) for(ll i=start;i<(ll)(end);i++) int main(){ string n;cin>>n; cout<<(n.size()+1)*9<<endl; }