Borderou de evaluare (job #3271397)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 25 ianuarie 2025 23:12:32
Problema Rubarba 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:81:25: error: 'LLONG_MAX' was not declared in this scope 81 | start.x = start.y = LLONG_MAX; | ^~~~~~~~~ main.cpp:7:1: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 6 | #include <algorithm> +++ |+#include <climits> 7 | //#include <bits/stdc++.h> main.cpp:82:33: error: 'LLONG_MIN' was not declared in this scope 82 | ll xmin = LLONG_MAX, xmax = LLONG_MIN; | ^~~~~~~~~ main.cpp:82:33: note: 'LLONG_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:118:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for(int i = 0; i + 1 < infs.size(); i++){ | ~~~~~~^~~~~~~~~~~~~ main.cpp:127:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 127 | for(int k = 0; k < infs.size(); k++){ | ~~^~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?