Borderou de evaluare (job #1655411)

Utilizator stefan_bogdanstefan bogdan stefan_bogdan Data 17 martie 2016 22:51:17
Problema Potrivire Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool IsOkay(int)’: user.cpp:38:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (i == n-1) ^ user.cpp: In function ‘int main()’: user.cpp:52:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10010]’ [-Wformat=] fscanf(f, "%s", &a); ^ user.cpp:53:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10010]’ [-Wformat=] fscanf(f, "%s", &b); ^ user.cpp:51:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &n, &m); ^ user.cpp:52:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &a); ^ user.cpp:53:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms416kbIncorect00
20ms412kbIncorect00
30ms412kbIncorect00
40ms416kbIncorect00
50ms424kbIncorect00
60ms424kbIncorect0
70ms424kbIncorect0
80ms424kbIncorect0
98ms420kbIncorect0
100ms424kbIncorect0
Punctaj total0

Ceva nu functioneaza?