Borderou de evaluare (job #703804)

Utilizator avatar cezar123 Mihalcea Cezar Adrian cezar123 IP ascuns
Problemă Concurs3 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 mar. 2023 19:08:17 Scor 100

Raport evaluator

Compilare: main.c:3:1: warning: data definition has no type or storage class 3 | V[4]; | ^ main.c:3:1: warning: type defaults to 'int' in declaration of 'V' [-Wimplicit-int] main.c:4:15: warning: return type of 'main' is not 'int' [-Wmain] 4 | long long int main() | ^~~~ main.c: In function 'main': main.c:7:68: warning: variable 'nrc' set but not used [-Wunused-but-set-variable] 7 | long long int n, c, s=0, nr, a, s1,s2,s3, max=0, i=1, check=0, nrc=0, smax=0, amax=0, amaxr=0; | ^~~ main.c:7:43: warning: unused variable 's3' [-Wunused-variable] 7 | long long int n, c, s=0, nr, a, s1,s2,s3, max=0, i=1, check=0, nrc=0, smax=0, amax=0, amaxr=0; | ^~ main.c:7:40: warning: unused variable 's2' [-Wunused-variable] 7 | long long int n, c, s=0, nr, a, s1,s2,s3, max=0, i=1, check=0, nrc=0, smax=0, amax=0, amaxr=0; | ^~ main.c:7:37: warning: unused variable 's1' [-Wunused-variable] 7 | long long int n, c, s=0, nr, a, s1,s2,s3, max=0, i=1, check=0, nrc=0, smax=0, amax=0, amaxr=0; | ^~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%lld", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:12:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%lld", &n); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%lld", &a); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%lld", &nr); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:48:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fscanf(fin, "%lld", &n); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:50:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fscanf(fin, "%lld", &a); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:51:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fscanf(fin, "%lld", &nr); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 219 ms 249 kb OK 5
6 49 ms 249 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 245 kb OK 5
10 217 ms 249 kb OK 5
11 199 ms 249 kb OK 5
12 109 ms 249 kb OK 5
13 99 ms 249 kb OK 5
14 1 ms 241 kb OK 5
15 49 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 29 ms 249 kb OK 5
18 19 ms 245 kb OK 5
19 119 ms 249 kb OK 5
20 1 ms 245 kb OK 5
Punctaj total 100