Borderou de evaluare (job #1616064)

Utilizator RaresEGaySopterean Adrian RaresEGay Data 27 februarie 2016 09:27:40
Problema Granita Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:36:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d %d",&v[i][0],&v[i][1]); ^ user.cpp:36:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:46:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",k); ^ user.cpp:34:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:36:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&v[i][0],&v[i][1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbIncorect0
20ms264kbOK10
34ms416kbIncorect0
48ms508kbIncorect0
58ms508kbIncorect0
68ms508kbOK10
78ms508kbOK10
88ms508kbOK10
98ms508kbIncorect0
108ms512kbOK10
Punctaj total50

Ceva nu functioneaza?