Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
Help me rectify the runtime error in the code
Here's the problem statement: https://szkopul.edu.pl/problemset/problem/98e_K-Vvcg5TnMG4-hXTNsFG/site/?key=statement & here's my try : https://code.sololearn.com/c9sP1Ki1fRTR/?ref=app
1 ответ
+ 3
Ash no clue, sorry. I am not a big wizard in CPP and this code contains some fancy I/O handling I am not familiar with. Might as well be because of how the Sololearn engine runs and compiles the code.
On another note, this looks VERY fishy to me. Redefining a built-in data type. I am sure this would blow the fuse in a professional codebase.
#define int long long
it messes with the return type of main method as well, breaking convention.