Pagini recente »
Borderou de evaluare (job #67707)
|
Borderou de evaluare (job #632025)
|
Borderou de evaluare (job #497097)
|
Clasament tema2
|
Borderou de evaluare (job #620814)
Borderou de evaluare (job #620814)
Raport evaluator
Compilare:
main.c: In function 'unific':
main.c:63:15: warning: unused variable 'ncif2' [-Wunused-variable]
63 | int ncif1,ncif2;
| ^~~~~
main.c:63:9: warning: unused variable 'ncif1' [-Wunused-variable]
63 | int ncif1,ncif2;
| ^~~~~
main.c: In function 'main':
main.c:163:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
163 | fscanf(fin,"%d",&stiva[varf]);
| ~^ ~~~~~~~~~~~~
| | |
| | long long int *
| int *
| %lld
main.c:157:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
157 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:163:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
163 | fscanf(fin,"%d",&stiva[varf]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:141:30: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
141 | cifre_a[i]=cifre_b[i]=0;
| ~~~~~~~~~~^~
main.c:139:7: note: within this loop
139 | if(i<11){
| ^
In function 'golire',
inlined from 'main' at main.c:189:13:
main.c:141:30: warning: '__builtin_memset' forming offset [40, 43] is out of the bounds [0, 40] of object 'cifre_b' with type 'int[10]' [-Warray-bounds]
141 | cifre_a[i]=cifre_b[i]=0;
| ~~~~~~~~~~^~
main.c: In function 'main':
main.c:6:17: note: 'cifre_b' declared here
6 | int cifre_a[10],cifre_b[10],frecventa_totala[10];
| ^~~~~~~
In function 'golire',
inlined from 'main' at main.c:189:13:
main.c:141:19: warning: '__builtin_memset' forming offset [40, 43] is out of the bounds [0, 40] of object 'cifre_a' with type 'int[10]' [-Warray-bounds]
141 | cifre_a[i]=cifre_b[i]=0;
| ~~~~~~~~~~^~~~~~~~~~~~~
main.c: In function 'main':
main.c:6:5: note: 'cifre_a' declared here
6 | int cifre_a[10],cifre_b[10],frecventa_totala[10];
| ^~~~~~~
In function 'golire',
inlined from 'main' at main.c:189:13:
main.c:141:30: warning: '__builtin_memset' forming offset [40, 43] is out of the bounds [0, 40] of object 'cifre_b' with type 'int[10]' [-Warray-bounds]
141 | cifre_a[i]=cifre_b[i]=0;
| ~~~~~~~~~~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
OK
|
10
|
3
|
1 ms
|
131 kb
|
OK
|
10
|
4
|
29 ms
|
131 kb
|
Incorect
|
0
|
5
|
226 ms
|
131 kb
|
OK
|
10
|
6
|
488 ms
|
385 kb
|
Incorect
|
0
|
7
|
410 ms
|
131 kb
|
a) corect b) incorect
|
1
|
8
|
546 ms
|
262 kb
|
a) corect b) incorect
|
1
|
9
|
526 ms
|
258 kb
|
a) corect b) incorect
|
1
|
10
|
1 ms
|
131 kb
|
OK
|
10
|
Punctaj total
|
43
|