Borderou de evaluare (job #2984803)

Utilizator imihaibBuleu Mihai imihaib Data 24 februarie 2023 22:23:38
Problema Războiul lui Vlăduț Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:15: error: 'INT_MIN' was not declared in this scope 25 | int maxim=INT_MIN; | ^~~~~~~ main.cpp:3:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? 2 | #include <fstream> +++ |+#include <climits> 3 | main.cpp:46:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 46 | for(int js=1;js<=n;++js) | ^~~ main.cpp:52:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 52 | fout<<t_copie-t+1<<":"<<maxim<<"\n"; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?