Borderou de evaluare (job #644274)

Utilizator avatar bakono01001 Tara Horia-Andrei bakono01001 IP ascuns
Problemă Las Fierbinți (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 28 mar. 2022 09:58:44 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:65:31: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 65 | while(nd==2 && j<=sqrt(i)){ | ^~~~ main.c:2:1: note: include '<math.h>' or provide a declaration of 'sqrt' 1 | #include <stdio.h> +++ |+#include <math.h> 2 | main.c:65:31: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 65 | while(nd==2 && j<=sqrt(i)){ | ^~~~ main.c:65:31: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:79:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 79 | fprintf(fout, "%d", x); | ~^ ~ | | | | int long long int | %lld main.c:102:25: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=] 102 | fscanf(fin, "%lld", &n); | ~~~^ ~~ | | | | | int * | long long int * | %d main.c:6:56: warning: unused variable 'cmmmc' [-Wunused-variable] 6 | long long t,l,c,f,i,j,s,p,placa,prim,k,t1,t2,cmmdc,cmmmc,r,x,nd; | ^~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%lld", &t); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%lld", &l); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%lld", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%lld", &f); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%lld", &l); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:30:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf(fin, "%lld", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:31:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin, "%lld", &f); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:57:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 4
2 1 ms 114 kb OK 4
3 1 ms 114 kb OK 4
4 1 ms 114 kb OK 4
5 1 ms 114 kb OK 4
6 1 ms 114 kb OK 4
7 1 ms 114 kb OK 4
8 1 ms 114 kb OK 4
9 1 ms 114 kb OK 4
10 1 ms 114 kb OK 4
11 1 ms 114 kb OK 4
12 1 ms 114 kb Incorect 0
13 1 ms 114 kb OK 4
14 1 ms 114 kb OK 4
15 1 ms 118 kb OK 4
16 1 ms 118 kb OK 4
17 1 ms 118 kb OK 4
18 1 ms 114 kb OK 4
19 8 ms 118 kb OK 4
20 805 ms 118 kb Time limit exceeded 0
21 674 ms 114 kb OK 4
22 807 ms 118 kb Time limit exceeded 0
23 63 ms 118 kb OK 4
24 806 ms 118 kb Time limit exceeded 0
25 808 ms 118 kb Time limit exceeded 0
Punctaj total 80