Borderou de evaluare (job #3258377)

Utilizator tteodoraTita Georgiana Teodora tteodora Data 22 noiembrie 2024 11:30:50
Problema Orase1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int verif(int)': main.cpp:31:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 31 | if(j==n) | ^~ main.cpp:33:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 33 | if(k2>k) | ^~ main.cpp:34:24: error: 'INT_MAX' was not declared in this scope 34 | return INT_MAX; | ^~~~~~~ main.cpp:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 1 | #include <fstream> +++ |+#include <climits> 2 | Non zero exit status: 1

Ceva nu functioneaza?