Pagini recente »
Borderou de evaluare (job #572611)
|
Borderou de evaluare (job #543321)
|
Borderou de evaluare (job #849675)
Borderou de evaluare (job #849675)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d%d", &cer, &a, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d", &x[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:54:16: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
54 | c=x[poz-1];
| ~~~^~
main.c:10:23: note: 'poz' was declared here
10 | int cer, n, a, i, poz, c1, c2, c3, cnt1, cnt2, cnt3, c;
| ^~~
main.c:41:19: warning: 'c3' may be used uninitialized [-Wmaybe-uninitialized]
41 | if(x[i]==c3){
| ^
main.c:10:36: note: 'c3' was declared here
10 | int cer, n, a, i, poz, c1, c2, c3, cnt1, cnt2, cnt3, c;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
3 ms
|
508 kb
|
Corect
|
7
|
|
2
|
0 ms
|
508 kb
|
Corect
|
7
|
|
3
|
1 ms
|
292 kb
|
Corect
|
7
|
|
4
|
1 ms
|
292 kb
|
Corect
|
7
|
|
5
|
1 ms
|
292 kb
|
Corect
|
7
|
|
6
|
1 ms
|
508 kb
|
Corect
|
7
|
|
7
|
1 ms
|
508 kb
|
Corect
|
7
|
|
8
|
3 ms
|
292 kb
|
Corect
|
7
|
|
9
|
3 ms
|
508 kb
|
Corect
|
7
|
|
10
|
6 ms
|
264 kb
|
Corect
|
3
|
|
11
|
1 ms
|
508 kb
|
Corect
|
3
|
|
12
|
0 ms
|
292 kb
|
Corect
|
3
|
|
13
|
1 ms
|
504 kb
|
Corect
|
3
|
|
14
|
2 ms
|
500 kb
|
Corect
|
3
|
|
15
|
2 ms
|
500 kb
|
Corect
|
3
|
|
16
|
5 ms
|
488 kb
|
Corect
|
3
|
|
17
|
5 ms
|
268 kb
|
Corect
|
3
|
|
18
|
5 ms
|
484 kb
|
Corect
|
3
|
|
19
|
6 ms
|
480 kb
|
Corect
|
3
|
|
20
|
0 ms
|
292 kb
|
Corect
|
7
|
|
Punctaj total
|
100
|