Pagini recente »
Borderou de evaluare (job #672602)
Borderou de evaluare (job #672602)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
9 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:9:20: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
9 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:9:22: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
9 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:9:24: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long long int *' [-Wformat=]
9 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:9:26: warning: format '%d' expects argument of type 'int *', but argument 7 has type 'long long int *' [-Wformat=]
9 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:22:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
22 | fprintf(fout,"%d\n",poz);
| ~^ ~~~
| | |
| int long long int
| %lld
main.c:35:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
35 | fprintf(fout,"%d\n",nr);
| ~^ ~~
| | |
| int long long int
| %lld
main.c:61:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
61 | fprintf(fout,"%d\n",poz2-poz1-1);
| ~^ ~~~~~~~~~~~
| | |
| int long long int
| %lld
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
2
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
3
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
4
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
5
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
6
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
7
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
8
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
9
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
10
|
1 ms
|
114 kb
|
GRESIT!
|
0
|
Punctaj total
|
0
|