题目传送门

#include <bits/stdc++.h>

using namespace std;
string s;
int c;

int main() {
    while (cin >> s)
        c += s.size();
    printf("%d", c);
    return 0;
}

相关文章:

  • 2022-02-02
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2021-10-29
  • 2021-12-17
相关资源
相似解决方案