Borderou de evaluare (job #1650021)

Utilizator chise_bChise Bogdan chise_b Data 11 martie 2016 16:12:55
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100000]’ [-Wformat=] fscanf(f,"%s",&b); ^ user.cpp:9:14: warning: unused variable ‘g’ [-Wunused-variable] FILE *f,*g; ^ user.cpp:16:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ user.cpp:20:26: 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
10ms468kbOK!10
20ms464kbOK!10
34ms468kbOK!10
48ms468kbOK!10
516ms468kbOK!10
632ms472kbOK!10
7Depăşit448kbTime limit exceeded.0
8Depăşit448kbTime limit exceeded.0
9Depăşit452kbTime limit exceeded.0
10Depăşit452kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?