Borderou de evaluare (job #818278)

Utilizator avatar Belea_Darius Belea Mihai Darius Belea_Darius IP ascuns
Problemă Descmult (clasa a 6-a) Compilator c-32
Rundă Simulare ONI 3 clasa a 6-a 2025 Status evaluat
Dată 4 apr. 2025 10:50:31 Scor 20

Raport evaluator

Compilare: main.c:4:19: warning: built-in function 'exp' declared as non-function [-Wbuiltin-declaration-mismatch] 4 | int divizori[20], exp[20]; | ^~~ main.c: In function 'main': main.c:42:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 42 | fprintf(fout, "%d ", d); | ~^ ~ | | | | int long long int | %lld main.c:45:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 45 | fprintf(fout, "%d ", n / d); | ~^ ~~~~~ | | | | int long long int | %lld main.c:51:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 51 | fprintf(fout, "%d ", d); | ~^ ~ | | | | int long long int | %lld main.c:54:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 54 | printf("%d", x); | ~^ ~ | | | | int long long int | %lld main.c:12:46: warning: variable 'nrdiv' set but not used [-Wunused-but-set-variable] 12 | int cer, n, a, b, i, ind, k, ok, cnt, j, nrdiv; | ^~~~~ main.c:12:38: warning: unused variable 'cnt' [-Wunused-variable] 12 | int cer, n, a, b, i, ind, k, ok, cnt, j, nrdiv; | ^~~ main.c:12:34: warning: unused variable 'ok' [-Wunused-variable] 12 | int cer, n, a, b, i, ind, k, ok, cnt, j, nrdiv; | ^~ main.c:12:31: warning: unused variable 'k' [-Wunused-variable] 12 | int cer, n, a, b, i, ind, k, ok, cnt, j, nrdiv; | ^ main.c:12:26: warning: unused variable 'ind' [-Wunused-variable] 12 | int cer, n, a, b, i, ind, k, ok, cnt, j, nrdiv; | ^~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d%d%d", &cer, &n, &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &divizori[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21: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 245 kb OK 5
2 1 ms 245 kb OK 5
3 2 ms 507 kb OK 5
4 1 ms 245 kb OK 5
5 2009 ms 249 kb Time limit exceeded 0
6 1 ms 270 kb Incorect 0
7 2009 ms 249 kb Time limit exceeded 0
8 1 ms 249 kb Incorect 0
9 2008 ms 270 kb Time limit exceeded 0
10 1 ms 270 kb Incorect 0
11 1 ms 249 kb Incorect 0
12 3 ms 245 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 1 ms 512 kb Incorect 0
16 2009 ms 249 kb Time limit exceeded 0
17 2009 ms 270 kb Time limit exceeded 0
18 2009 ms 270 kb Time limit exceeded 0
19 1 ms 245 kb Incorect 0
20 1 ms 249 kb Incorect 0
Punctaj total 20