Borderou de evaluare (job #1182523)

Utilizator AlexandruValeanuAlexandru Valeanu AlexandruValeanu Data 6 mai 2014 19:05:49
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int hashh(const string&, int)’: user.cpp:414:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < key.length( ); i++ ) ^ user.cpp: In instantiation of ‘hashhTable<hashhedObj>::hashhTable(const hashhedObj&, int) [with hashhedObj = int]’: user.cpp:447:40: required from here user.cpp:291:30: warning: ‘hashhTable<int>::ITEM_NOT_FOUND’ will be initialized after [-Wreorder] const hashhedObj ITEM_NOT_FOUND; ^ user.cpp:290:39: warning: ‘std::vector<List<int>, std::allocator<List<int> > > hashhTable<int>::theLists’ [-Wreorder] vector<List<hashhedObj> > theLists; // The array of Lists ^ user.cpp:341:9: warning: when initialized here [-Wreorder] hashhTable<hashhedObj>::hashhTable( const hashhedObj & notFound, int size ) ^ user.cpp: In function ‘int main()’: user.cpp:441:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashhuri.in", "r", stdin); ^ user.cpp:442:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashhuri.out", "w", stdout); ^ user.cpp:449:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &N); ^ user.cpp:453:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &tip, &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms372kbFisier de iesire lipsa00
20ms376kbFisier de iesire lipsa00
30ms368kbFisier de iesire lipsa00
40ms368kbFisier de iesire lipsa00
50ms368kbFisier de iesire lipsa0
60ms368kbFisier de iesire lipsa0
70ms372kbFisier de iesire lipsa00
80ms372kbFisier de iesire lipsa00
90ms372kbFisier de iesire lipsa0
100ms368kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?