結果
| 問題 | No.2607 Add One Digit |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 21:17:11 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 304 bytes |
| 記録 | |
| コンパイル時間 | 1,069 ms |
| コンパイル使用メモリ | 214,740 KB |
| 実行使用メモリ | 11,968 KB |
| 最終ジャッジ日時 | 2026-07-04 12:35:41 |
| 合計ジャッジ時間 | 1,938 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
/**
* auther: deviceF
* created: 19.04.2024 21:11:10
**/
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
string s = to_string(n);
int size = (int)s.size();
cout << 9 * size + 9 << '\n';
return 0;
}