Submission #1291493

#TimeUsernameProblemLanguageResultExecution timeMemory
1291493tunademayoscanf 함수 4 (BSC_0_6)C++20
100 / 100
1 ms576 KiB
#include<bits/stdc++.h>
using namespace std;

#define ll long long
#define FOR(i, l, r) for(int i = l ; i <= r ; i++)
#define REP(i, l, r) for(int i = l ; i < r ; i++)
#define fi first
#define se second

const bool Multitest = 0;

const int N = 2e5 + 10;
void work()
{
    string x; int cnt = 0;
    while(cin >> x) cnt++;
    cout << cnt;
}

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);

    int q = 1;

    if(Multitest)   cin >> q;

    while(q--) work();
}
#Verdict Execution timeMemoryGrader output
Fetching results...