Borderou de evaluare (job #1489273)

Utilizator usermeBogdan Cretu userme Data 20 septembrie 2015 21:28:04
Problema Zeap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[4]’ [-Wformat=] while(fscanf(f, "%s", &s) != EOF) { ^ user.cpp:17:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &x); ^ user.cpp:37:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &x); ^ user.cpp:67:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
28ms392kbOK10
368ms1296kbOK10
4120ms2340kbOK10
5248ms4028kbOK10
6408ms6152kbOK10
7904ms12292kbOK10
8600ms7300kbOK10
9212ms1684kbOK10
10932ms12332kbOK10
Punctaj total100

Ceva nu functioneaza?