Borderou de evaluare (job #2771719)

Utilizator nubnubMeh Neh nubnub Data 28 august 2021 20:15:51
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:17: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:32:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:40: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:47: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:65:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'unsigned int' [-Wformat=] printf("%lld", sol); ^ main.cpp:35: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:36: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:38: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
13ms393kbOK10100
23ms393kbOK10
33ms393kbOK10
47ms655kbOK10
525ms1179kbOK10
697ms2359kbOK10
7408ms7077kbOK10
8732ms11927kbOK10
9859ms11927kbOK10
10718ms11927kbOK10
Punctaj total100

Ceva nu functioneaza?