Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
fix: buffered output possibility (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
dipeshkaphle authored Mar 1, 2022
1 parent 1ca3d8a commit 34ab2d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "utils/game_map.hpp"

int main() {
std::cout.setf(std::ios::unitbuf);
unsigned turns, coins;
std::cin >> turns >> coins;

Expand Down

0 comments on commit 34ab2d8

Please sign in to comment.