Borderou de evaluare (job #1586722)

Utilizator geo_furduifurdui geo geo_furdui Data 1 februarie 2016 16:50:01
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘bool EsteLitera(char)’: user.cpp:11:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ user.cpp: In function ‘int main()’: user.cpp:21:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10000000]’ [-Wformat=] fscanf(f, "%s", &s); ^ user.cpp:25:33: warning: NULL used in arithmetic [-Wpointer-arith] for (int i = 0; s[i] != NULL; i++) ^ user.cpp:33:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10000000]’ [-Wformat=] fscanf(f, "%s", &s); ^ user.cpp:21:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &s); ^ user.cpp:33:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOk!10
20ms424kbOk!10
30ms428kbOk!10
40ms424kbOk!10
50ms424kbOk!10
60ms428kbOk!10
70ms428kbOk!10
80ms428kbOk!10
90ms440kbOk!10
104ms424kbOk!10
Punctaj total100

Ceva nu functioneaza?