Borderou de evaluare (job #2988740)

Utilizator robert111Peter Robert robert111 Data 5 martie 2023 13:53:11
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:18:19: error: 'INT_MAX' was not declared in this scope 18 | int n,st=0,dr=INT_MAX-1,m; | ^~~~~~~ main.cpp:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 1 | #include <fstream> +++ |+#include <climits> 2 | main.cpp:22:9: error: 'm' was not declared in this scope 22 | m=(st+dr)/2; | ^ main.cpp:31:5: error: 'm' was not declared in this scope 31 | m=m-m%5; | ^ Non zero exit status: 1

Ceva nu functioneaza?