Borderou de evaluare (job #744118)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Fibonacci (clasa a 7-a) Compilator c-32
Rundă Tema 8 clasa a 7-a Status evaluat
Dată 11 nov. 2023 21:51:09 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:19:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 19 | fscanf(fin,"%I64d",&n); | ~~~~^ ~~ | | | | | long long int * | int * | %I64lld main.c:20:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 20 | fprintf(fout,"%I64d",fib(n,0,1)); | ~~~~^ ~~~~~~~~~~ | | | | | long long int | int | %I64lld main.c:18:17: warning: unused variable 'f' [-Wunused-variable] 18 | long long n,f; | ^ main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin,"%I64d",&n); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 2 ms 241 kb OK 10
3 1 ms 241 kb OK 10
4 1 ms 249 kb OK 10
5 1 ms 249 kb OK 10
6 49 ms 245 kb OK 10
7 199 ms 245 kb OK 10
8 2506 ms 249 kb Time limit exceeded 0
9 2509 ms 249 kb Time limit exceeded 0
10 2509 ms 249 kb Time limit exceeded 0
Punctaj total 70