Borderou de evaluare (job #2294789)

Utilizator CristyXtremeSimion Cristian CristyXtreme Data 2 decembrie 2018 20:00:34
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool cauta(unsigned int)': main.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < hashh[cod].size(); i++) ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int h(const char*)': main.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:39:35: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[22]' [-Wformat=] if (!scanf("%s", &cuvinte[nr_cuv])) { ^ main.cpp:46:37: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[22]' [-Wformat=] while (scanf("%s", &cuvinte[nr_cuv]) == 1) { ^ main.cpp:64:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'unsigned int' [-Wformat=] printf("%lld", sol); ^ main.cpp:34:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ main.cpp:35:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ main.cpp:37:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(text, 10000002, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms393kbOK10100
23ms393kbOK10
33ms393kbOK10
47ms655kbOK10
525ms1179kbOK10
698ms2359kbOK10
7398ms6946kbOK10
8709ms11927kbOK10
9711ms11927kbOK10
10719ms11927kbOK10
Punctaj total100

Ceva nu functioneaza?