LogitechSellout's blog

By LogitechSellout, history, 5 years ago, In English

Problem Statement: http://www.usaco.org/index.php?page=viewproblem2&cpid=741 Program: https://pastebin.com/mFpMZJYx

For some reason I've been getting this error every time I try to run this program, I can always build it, but every time I try to run/debug it says some variation of "Create Process error 193: %1 is not a valid Win32 application". This happens with no other project and its very confusing to me why it only happens with this. I can't check if the code even works correctly since I can't run it.

Things I've tried: — Reinstalling MinGW — Making sure my project directory contains no spaces (stackoverflow recommended this) — Testing on multiple IDEs such as clion, code blocks, emacs

I suspect that something might be wrong with the code but im very new to c++.