Advent of Code 2015 Day 1 in CPP

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

God c++ is so awful for things like this. Both Rust and Python let you read everything from a given file in one shot. Here you make a buffer and an input stream and have to manually >> it.

Also, I don't know who thought cout and endl are better than plain old printf. C++ overcomplicates things

yes-niod