結果
問題 |
No.2607 Add One Digit
|
ユーザー |
![]() |
提出日時 | 2025-05-08 15:57:51 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 156 bytes |
コンパイル時間 | 3,071 ms |
コンパイル使用メモリ | 273,488 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-05-08 15:57:55 |
合計ジャッジ時間 | 4,151 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string N; cin >> N; int ans = (N.size() + 1) * 10 - 1 - N.size(); cout << ans; }