Borderou de evaluare (job #1801953)

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

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
10ms432kbOK10
20ms432kbOK10
30ms432kbOK10
40ms432kbOK10
50ms432kbOK10
60ms436kbOK10
70ms432kbOK10
80ms432kbOK10
90ms432kbOK10
100ms432kbOK10
Punctaj total100

Ceva nu functioneaza?