Pagini recente »
Borderou de evaluare (job #859595)
Borderou de evaluare (job #859595)
Raport evaluator
Compilare:
main.c:3:33: warning: no semicolon at end of struct or union
3 | typedef struct interval{ int a,b} interval;
| ^
main.c: In function 'main':
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(f,"%d %d %d ",&a,&b,&n );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(f,"%d %d",&v[i].a,&v[i].b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:47:7: warning: 'jmax' may be used uninitialized [-Wmaybe-uninitialized]
47 | if(jmax>=b) fprintf(g,"%d",nr );
| ^
main.c:27:14: note: 'jmax' was declared here
27 | int ok=1,jmax;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
240 kb
|
OK
|
10
|
|
2
|
1 ms
|
248 kb
|
OK
|
10
|
|
3
|
1 ms
|
244 kb
|
OK
|
10
|
|
4
|
1 ms
|
244 kb
|
OK
|
10
|
|
5
|
1 ms
|
248 kb
|
OK
|
10
|
|
6
|
1 ms
|
248 kb
|
OK
|
10
|
|
7
|
1 ms
|
248 kb
|
OK
|
10
|
|
8
|
1 ms
|
248 kb
|
OK
|
10
|
|
9
|
1 ms
|
240 kb
|
OK
|
10
|
|
10
|
1 ms
|
240 kb
|
OK
|
10
|
|
Punctaj total
|
100
|