Borderou de evaluare (job #3176752)

Utilizator cristiosmCristian Magureanu cristiosm Data 27 noiembrie 2023 18:32:30
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:80:11: error: stray '#' in program 80 | int N;#include <fstream> | ^ main.cpp: In function 'int main()': main.cpp:80:12: error: 'include' was not declared in this scope 80 | int N;#include <fstream> | ^~~~~~~ main.cpp:80:28: error: expected primary-expression before '>' token 80 | int N;#include <fstream> | ^ main.cpp:85:1: error: expected primary-expression before 'using' 85 | using namespace std; | ^~~~~ main.cpp:95:42: error: a function-definition is not allowed here before '{' token 95 | int find(vector<Subset>& subsets, int i) { | ^ main.cpp:101:51: error: a function-definition is not allowed here before '{' token 101 | void Union(vector<Subset>& subsets, int x, int y) { | ^ main.cpp:115:50: error: a function-definition is not allowed here before '{' token 115 | double minimumCableLength(vector<Point>& points) { | ^ main.cpp:155:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 155 | int main() { | ^~ main.cpp:155:9: note: remove parentheses to default-initialize a variable 155 | int main() { | ^~ | -- main.cpp:155:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:155:12: error: a function-definition is not allowed here before '{' token 155 | int main() { | ^ main.cpp:174:2: error: expected '}' at end of input 174 | } | ^ main.cpp:76:12: note: to match this '{' 76 | int main() { | ^ main.cpp:80:9: warning: unused variable 'N' [-Wunused-variable] 80 | int N;#include <fstream> | ^ Non zero exit status: 1

Ceva nu functioneaza?