-
HackerRank.com Practice > C++Introduction > Input and Outputhackerrank.com 2020. 4. 16. 20:11728x90
#include <iostream> using namespace std; int main() { int n; int r = 0; while(cin >> n) { r += n; } cout << r; return 0; }
728x90'hackerrank.com' 카테고리의 다른 글
HackerRank.com Practice > C++ > Introduction > Conditional Statements (0) 2020.04.16 HackerRank.com Practice > C++ > Introduction > Basic Data Types (0) 2020.04.16 HackerRank.com Practice > C++ > Introduction > Say "Hello, World!" With C++ (0) 2020.04.16 Java 1D Array (Part 2) / hackerrank.com (0) 2019.12.10 Hackerrank.com Practice>Java>Advanced>Java Singleton Pattern (0) 2019.12.02