Pagini recente »
Borderou de evaluare (job #378940)
|
Borderou de evaluare (job #246583)
|
Borderou de evaluare (job #262305)
|
Borderou de evaluare (job #372953)
|
Borderou de evaluare (job #596353)
Borderou de evaluare (job #596353)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
8 | fscanf(fin,"%I64d%I64d%I64d%I64d%I64d",&k,&x,&i,&m,&n);
| ~~~~^ ~~
| | |
| int * long long int *
| %I64lld
main.c:8:26: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
8 | fscanf(fin,"%I64d%I64d%I64d%I64d%I64d",&k,&x,&i,&m,&n);
| ~~~~^ ~~
| | |
| int * long long int *
| %I64lld
main.c:8:31: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
8 | fscanf(fin,"%I64d%I64d%I64d%I64d%I64d",&k,&x,&i,&m,&n);
| ~~~~^ ~~
| | |
| int * long long int *
| %I64lld
main.c:8:36: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long long int *' [-Wformat=]
8 | fscanf(fin,"%I64d%I64d%I64d%I64d%I64d",&k,&x,&i,&m,&n);
| ~~~~^ ~~
| | |
| int * long long int *
| %I64lld
main.c:8:41: warning: format '%d' expects argument of type 'int *', but argument 7 has type 'long long int *' [-Wformat=]
8 | fscanf(fin,"%I64d%I64d%I64d%I64d%I64d",&k,&x,&i,&m,&n);
| ~~~~^ ~~
| | |
| int * long long int *
| %I64lld
main.c:20:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
20 | fprintf(fout,"%I64d\n%I64d\n%I64d",pozx,vali,nnum);
| ~~~~^ ~~~~
| | |
| int long long int
| %I64lld
main.c:20:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
20 | fprintf(fout,"%I64d\n%I64d\n%I64d",pozx,vali,nnum);
| ~~~~^ ~~~~
| | |
| int long long int
| %I64lld
main.c:20:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
20 | fprintf(fout,"%I64d\n%I64d\n%I64d",pozx,vali,nnum);
| ~~~~^ ~~~~
| | |
| int long long int
| %I64lld
main.c:8: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
|
262 kb
|
a)OK!b)GRESIT!c)GRESIT!
|
3
|
2
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
3
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
4
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
5
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
6
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
7
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
8
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
9
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
10
|
1 ms
|
262 kb
|
GRESIT!
|
0
|
Punctaj total
|
3
|