Mai intai trebuie sa te autentifici.

Borderou de evaluare (job #1590823)

Utilizator Coroian_DavidCoroian David Coroian_David Data 5 februarie 2016 16:25:25
Problema Numar2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&n,&m); ^ user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:14:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%ld",&p[i]); ^ user.cpp:40:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%ld",v[m]); ^ user.cpp:11:27: 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:14:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&p[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK10
20ms452kbOK10
30ms460kbOK10
44ms492kbOK10
58ms528kbOK10
612ms564kbOK10
712ms564kbOK10
812ms568kbOK10
912ms564kbOK10
1012ms564kbIncorect0
Punctaj total90

Ceva nu functioneaza?