Submission #65799699
Source Code Expand
#include <bits/stdc++.h>
using namespace std; using ll = long long;
#if __has_include(<atcoder/all>)
#include <atcoder/all>
using namespace atcoder;
#endif
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
using pi = pair<int,int>;
using pl = pair<ll,ll>;
const ll mod = 998244353;
signed main(void){
string s;
cin >> s;
cout << s[0] << s.size() - 2 << s[s.size() - 1] << endl;
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - i18n |
| User | karaju |
| Language | C++ 23 (gcc 12.2) |
| Score | 200 |
| Code Size | 421 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3604 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 0_00.txt, 0_01.txt, 0_02.txt |
| All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_00.txt | AC | 1 ms | 3540 KiB |
| 0_01.txt | AC | 1 ms | 3504 KiB |
| 0_02.txt | AC | 1 ms | 3508 KiB |
| 1_00.txt | AC | 1 ms | 3504 KiB |
| 1_01.txt | AC | 1 ms | 3604 KiB |
| 1_02.txt | AC | 1 ms | 3568 KiB |
| 1_03.txt | AC | 1 ms | 3532 KiB |
| 1_04.txt | AC | 1 ms | 3508 KiB |
| 1_05.txt | AC | 1 ms | 3532 KiB |
| 1_06.txt | AC | 1 ms | 3512 KiB |
| 1_07.txt | AC | 1 ms | 3568 KiB |