Pagini recente » Borderou de evaluare (job #828155) | Borderou de evaluare (job #75507) | Borderou de evaluare (job #545722) | Borderou de evaluare (job #778270) | Borderou de evaluare (job #1422653)
Borderou de evaluare (job #1422653)
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 |
1 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |