Borderou de evaluare (job #1665201)

Utilizator alexge50alexX AleX alexge50 Data 26 martie 2016 17:58:19
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In member function ‘void matrix2x2::print()’: user.cpp:26:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d\n", m[0][0], m[0][1]); ^ user.cpp:26:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:27:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d\n", m[1][0], m[1][1]); ^ user.cpp:27:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:68:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(fout, "%lld", (init * pow(Z, n))[A]); ^ user.cpp:67:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK5
20ms256kbOK5
30ms256kbOK5
40ms260kbOK5
50ms264kbOK5
60ms264kbOK5
70ms260kbOK5
80ms260kbOK5
90ms260kbOK5
100ms264kbOK5
110ms264kbOK5
120ms260kbOK5
130ms260kbOK5
140ms260kbOK5
150ms260kbOK5
160ms260kbOK5
170ms264kbOK5
180ms256kbOK5
190ms264kbOK5
200ms260kbOK5
Punctaj total100

Ceva nu functioneaza?