← Back to List

11023번: 더하기 3 ↗

Solutions

C++14
158 B | 158 chars
#include <iostream>
#include <stdio.h>
using namespace std;
int N;
int S;
int main()
{
    while(scanf("%d",&N)!=EOF)
    {
        S+=N;
    }
    cout<<S;
}