Borderou de evaluare (job #579446)

Utilizator avatar cmircea7 Cinca Mircea-Ionut cmircea7 IP ascuns
Problemă Bile3 Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 24 ian. 2021 14:54:04 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:9: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:3:1: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 2 | #include <fstream> +++ |+#include <climits> 3 | main.cpp:4:20: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:20: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:34: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:34: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:45: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:45: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:59: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:59: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:71: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:71: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:85: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:85: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:97: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:97: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:113: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:113: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:4:125: error: 'UCHAR_MAX' was not declared in this scope 4 | int sef[UCHAR_MAX* UCHAR_MAX], v[UCHAR_MAX* UCHAR_MAX], x[UCHAR_MAX * UCHAR_MAX], y[UCHAR_MAX * UCHAR_MAX], rez[UCHAR_MAX * UCHAR_MAX]; | ^~~~~~~~~ main.cpp:4:125: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp: In function 'int find(int)': main.cpp:11:6: error: 'sef' was not declared in this scope 11 | if (sef[nod] == nod) | ^~~ main.cpp: In function 'void connect(int, int)': main.cpp:29:3: error: 'v' was not declared in this scope 29 | v[sef1] = v[sef1] + v[sef2];