답안 #197679

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
197679 2020-01-22T09:25:46 Z joylintp scanf 함수 4 (BSC_0_6) C++17
100 / 100
3 ms 504 KB
#include<bits/stdc++.h>

using namespace std;

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

    int cnt = 0, t;
    while (cin >> t)
        cnt++;
    cout << cnt << '\n';

    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 504 KB Output is correct
2 Correct 3 ms 376 KB Output is correct
3 Correct 2 ms 504 KB Output is correct
4 Correct 2 ms 376 KB Output is correct
5 Correct 2 ms 376 KB Output is correct
6 Correct 2 ms 376 KB Output is correct
7 Correct 2 ms 376 KB Output is correct
8 Correct 2 ms 376 KB Output is correct
9 Correct 2 ms 376 KB Output is correct
10 Correct 3 ms 376 KB Output is correct