0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-28 07:11:58 +00:00
OI-codes/Luogu/problem/B2120/B2120.cpp

18 lines
282 B
C++
Raw Normal View History

2021-07-13 02:00:55 +00:00
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
bool flag = true;
while (cin >> s) {
if (flag) {
flag = false;
cout << s.size();
} else {
cout << ',' << s.size();
}
}
return 0;
}