Borderou de evaluare (job #1492706)

Utilizator AlexandruValeanuAlexandru Valeanu AlexandruValeanu Data 27 septembrie 2015 23:58:06
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void quicksort(char**, int, int, int)’: user.cpp:30:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (pos[c] < pos[midChar]) ^ user.cpp:30:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (pos[c] < pos[midChar]) ^ user.cpp:36:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (pos[c] > pos[midChar]) ^ user.cpp:36:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (pos[c] > pos[midChar]) ^ user.cpp: In function ‘int main()’: user.cpp:66:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=] scanf("%s\n", &s); ^ user.cpp:73:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] pos[ sir[i] ] = i; ^ user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.in", "r", stdin); ^ user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.out", "w", stdout); ^ user.cpp:58:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &p); ^ user.cpp:59:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:60:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", sir); ^ user.cpp:66:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124msDepăşitMemory limit exceeded.0
236msDepăşitMemory limit exceeded.0
340msDepăşitMemory limit exceeded.0
444msDepăşitMemory limit exceeded.0
552msDepăşitMemory limit exceeded.0
652msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.0
9Depăşit448kbTime limit exceeded.0
1032msDepăşitMemory limit exceeded.0
1148msDepăşitMemory limit exceeded.0
1248msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
1444msDepăşitMemory limit exceeded.0
1544msDepăşitMemory limit exceeded.0
1692msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.0
1852msDepăşitMemory limit exceeded.0
1952msDepăşitMemory limit exceeded.0
2052msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?