Add FZOI Codes

This commit is contained in:
2024-06-26 22:14:00 +08:00
parent 8f564ca60e
commit b80791cfad
49 changed files with 1653 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include <iostream>
using namespace std;
int main()
{
char ch;
int cnt = 1;
while(ch != '.')
{
ch = getchar();
if(ch == ' ')
{
cnt ++ ;
}
}
cout << cnt ;
return 0;
}