Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

CHA01 - Тэмдэгт мөр 1

 Өгөгдсөн үгийн үсгийн тоог тоол

Оролт: Hello

Гаралт: 5

 Өгөгдсөн үгийн үсгийн тоог тоол

Оролт: Hello

Гаралт: 5


Нэмсэн:munkhbat
Огноо:2016-03-20
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP GOSU JULIA PYPY3

hide comments
2024-07-03 07:21:14
#include<bits/stdc++.h>
using namespace std;
main () {
int a,b,c,l=0,i;
char q;
string s;
cin>>s;
l=s.size();
cout<<l;
}
2024-07-03 07:10:11
#include <iostream>
#include <string>
using namespace std;

int main() {
string input;
cout << "Enter a word or phrase: ";
getline(cin, input); // Read the entire line of input

int count = 0;
for (int i = 0; i < input.length(); ++i) {
if (isalpha(input[i])) { // Check if the character is a letter
count++;
}
}

cout << "Number of characters: " << count << endl;

return 0;
}
men jazdm
2023-09-26 03:08:19
ganaa was here
2023-09-26 03:07:14


Last edit: 2023-09-26 03:07:36
2023-09-26 03:07:13
ganaa 9=w-ap-s-0 00-h09e8765rko9lp0o9iu8y78ujiko9lp
2023-09-26 03:07:12
ganaa 9=w-ap-s-0 00-h09e8765rko9lp0o9iu8y78ujiko9lp
2023-09-26 03:06:43
llll
2023-09-26 03:06:43
llll
2023-09-26 03:06:42
llll
2023-09-26 03:06:42
llll
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.