Pagini recente »
Borderou de evaluare (job #779648)
Borderou de evaluare (job #779648)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf( fin, "%d%d", &num_n, &num_m );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:56:9: warning: 'cnt1' may be used uninitialized [-Wmaybe-uninitialized]
56 | cnt1--;
| ~~~~^~
main.c:14:63: note: 'cnt1' was declared here
14 | int num_n, num_m, ind, ind1, num_prime, pozi, steag, num, cnt1,
| ^~~~
main.c:91:8: warning: 'cnt2' may be used uninitialized [-Wmaybe-uninitialized]
91 | if ( cnt1 <= cnt2 ) {
| ^
main.c:15:5: note: 'cnt2' was declared here
15 | cnt2;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
507 kb
|
OK
|
10
|
4
|
1 ms
|
266 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
507 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
266 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
70
|