Pagini recente »
interjudetene8
|
Borderou de evaluare (job #732888)
|
Borderou de evaluare (job #644008)
|
Borderou de evaluare (job #32612)
|
Borderou de evaluare (job #792597)
Borderou de evaluare (job #792597)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:33:29: warning: the comparison will always evaluate as 'false' for the address of 'b' will never be NULL [-Waddress]
33 | if(b[kb]!=c[kc] || b==0)
| ^~
main.c:6:13: note: 'b' declared here
6 | int a[2002],b[2002],c[2002];
| ^
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin,"%d",&a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf(fin,"%d",&c[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
OK
|
10
|
2
|
1 ms
|
266 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
270 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
266 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
100
|