Borderou de evaluare (job #1182524)

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

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:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in", "r", stdin); ^ user.cpp:442:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.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
10ms436kbOK1010
20ms436kbOK1010
30ms440kbOK1010
4108ms596kbOK100
5220ms824kbOK10
6Depăşit1792kbTime limit exceeded.0
7Depăşit1824kbTime limit exceeded.00
8Depăşit1844kbTime limit exceeded.00
9Depăşit1696kbTime limit exceeded.0
10Depăşit1568kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?