메모리는 신경쓸 필요가 없다. 시간만 신경쓰면 공간은 따라온다.
C : scanf/printf
C++ : scanf/printf, cin/cout
cin/cout은 느림
해결 방법)
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
endl 대신에 '\n' 를 사용 (endl은 불필요한 'flush')
Python : input/print, sys.stdin.readlind()