Borderou de evaluare (job #2423323)

Utilizator rainerretzler rainer Data 21 mai 2019 01:21:38
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void prep()': main.cpp:50:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i*=2){ ~^~~ main.cpp: In function 'int main()': main.cpp:69:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] fscanf(fin,"%d",&n); ^ main.cpp:71:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=] fprintf(fout,"%d", b[0][1]); ^ main.cpp:69:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
22ms131kbOK5
33ms131kbOK5
43ms131kbOK5
52ms131kbOK5
66ms131kbOK5
72ms131kbOK5
83ms131kbOK5
93ms131kbOK5
102ms131kbOK5
112ms131kbOK5
123ms180kbOK5
132ms131kbOK5
145ms131kbOK5
153ms131kbOK5
162ms131kbOK5
172ms131kbOK5
182ms131kbOK5
193ms131kbOK5
203ms131kbOK5
Punctaj total100

Ceva nu functioneaza?