Borderou de evaluare (job #1422653)

Utilizator UPB_Undercover_CodersUPB Mindroc Niculescu Sevastian UPB_Undercover_Coders Data 19 aprilie 2015 14:59:53
Problema Ecotraseu Status done
Runda ONIS 2015, Runda 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:186:6: warning: unused variable ‘start’ [-Wunused-variable] int start, end; ^ user.cpp:186:13: warning: unused variable ‘end’ [-Wunused-variable] int start, end; ^ user.cpp: In instantiation of ‘Node<T>::Node(T) [with T = Edge]’: user.cpp:41:32: required from ‘void LinkedList<T>::insertHead(T) [with T = Edge]’ user.cpp:95:4: required from ‘void Graph<T>::addEdge(int, int, int) [with T = Edge]’ user.cpp:193:25: required from here user.cpp:11:12: warning: ‘Node<Edge>::next’ will be initialized after [-Wreorder] Node<T>* next; ^ user.cpp:10:5: warning: ‘Edge Node<Edge>::val’ [-Wreorder] T val; ^ user.cpp:13:3: warning: when initialized here [-Wreorder] Node<T>(T v): next(NULL), val(v) {} ^ user.cpp:185:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &T); ^ user.cpp:189:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); ^ user.cpp:197:27: warning: ‘end’ may be used uninitialized in this function [-Wmaybe-uninitialized] fout << start << " " << end << endl; ^ user.cpp:197:11: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] fout << start << " " << end << endl; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?