Borderou de evaluare (job #1801941)

Utilizator Coroian_DavidCoroian David Coroian_David Data 9 noiembrie 2016 18:36:10
Problema Numar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:27:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%d", &n); ^ user.cpp: In function ‘void solve()’: user.cpp:39:18: warning: unused variable ‘j’ [-Wunused-variable] long long i, j, s, x, a, k1, ci; ^ user.cpp:39:21: warning: unused variable ‘s’ [-Wunused-variable] long long i, j, s, x, a, k1, ci; ^ user.cpp:39:24: warning: unused variable ‘x’ [-Wunused-variable] long long i, j, s, x, a, k1, ci; ^ user.cpp:39:34: warning: unused variable ‘ci’ [-Wunused-variable] long long i, j, s, x, a, k1, ci; ^ user.cpp: In function ‘void readFile()’: user.cpp:27:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbIncorect0
20ms424kbIncorect0
30ms420kbIncorect0
40ms424kbOK10
50ms428kbIncorect0
60ms428kbIncorect0
70ms428kbOK10
80ms424kbOK10
90ms420kbIncorect0
100ms424kbIncorect0
Punctaj total30

Ceva nu functioneaza?