結果
| 問題 |
No.2607 Add One Digit
|
| コンテスト | |
| ユーザー |
Today03
|
| 提出日時 | 2024-01-19 21:23:35 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 243 bytes |
| コンパイル時間 | 1,918 ms |
| コンパイル使用メモリ | 193,080 KB |
| 最終ジャッジ日時 | 2025-02-18 20:34:11 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <bits/stdc++.h>
#ifdef LOCAL
#include "./debug.cpp"
#else
#define debug(...)
#define print_line
#endif
using namespace std;
using ll = long long;
int main() {
string N;
cin >> N;
int M = N.size();
M++;
cout << 9 * M << endl;
}
Today03