Borderou de evaluare (job #1023875)

Utilizator blasterzMircea Dima blasterz Data 7 noiembrie 2013 20:30:54
Problema Egal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int cit(int&)’: user.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: At global scope: user.cpp:44:15: error: invalid use of non-static data member ‘Map::MOD’ int MOD = 1013; ^ user.cpp:46:12: error: from this location nod *H[MOD]; ^ user.cpp:47:13: error: return type specification for constructor invalid Map Map() { ^ user.cpp: In constructor ‘Map::Map()’: user.cpp:48:17: error: ‘H’ was not declared in this scope memset (H, 0, sizeof(H)); ^ user.cpp:48:32: error: ‘memset’ was not declared in this scope memset (H, 0, sizeof(H)); ^ user.cpp: In member function ‘void Map::add(int, int)’: user.cpp:55:18: error: ‘H’ was not declared in this scope for (p = H[h]; p; p = p->next) ^ user.cpp:64:19: error: ‘H’ was not declared in this scope p->next = H[h]; ^ user.cpp: In member function ‘int Map::get(int)’: user.cpp:70:23: error: ‘H’ was not declared in this scope for (nod *p = H[h]; p ; p = p->next) ^ user.cpp:72:24: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive] return v; ^ user.cpp: In member function ‘void Map::clear()’: user.cpp:83:20: error: ‘H’ was not declared in this scope remove(H[i]); ^ user.cpp: At global scope: user.cpp:94:5: error: expected initializer before ‘H’ Map H[N]; ^ user.cpp: In function ‘void dfs(int)’: user.cpp:105:13: error: ‘H’ was not declared in this scope if (H[*it].size() > maxim) ^ user.cpp:108:5: error: ‘H’ was not declared in this scope H[poz][ v[u] ] ++; ^

Ceva nu functioneaza?