Borderou de evaluare (job #3145758)
Utilizator | Data | 16 august 2023 22:31:46 | |
---|---|---|---|
Problema | SequenceQuery | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:22:18: error: expected ')' before '&' token
22 | void combine (idk &rez, idk &a, idk &b) {
| ^~
| )
main.c: In function 'build':
main.c:31:18: error: request for member 'prefix' in something not a structure or union
31 | aint[nod].prefix = aint[nod].sufix = aint[nod].ssm = aint[nod].sum = v[st];
| ^
main.c:31:37: error: request for member 'sufix' in something not a structure or union
31 | aint[nod].prefix = aint[nod].sufix = aint[nod].ssm = aint[nod].sum = v[st];
| ^
main.c:31:55: error: request for member 'ssm' in something not a structure or union
31 | aint[nod].prefix = aint[nod].sufix = aint[nod].ssm = aint[nod].sum = v[st];
| ^
main.c:31:71: error: request for member 'sum' in something not a structure or union
31 | aint[nod].prefix = aint[nod].sufix = aint[nod].ssm = aint[nod].sum = v[st];
| ^
main.c:42:5: warning: implicit declaration of function 'combine' [-Wimplicit-function-declaration]
42 | combine(aint[nod], aint[fiust], aint[fiudr]);
| ^~~~~~~
main.c: In function 'main':
main.c:97:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
97 | fscanf(fin, "%d", &v[i]);
| ~^ ~~~~~
| | |
| | long long int *
| int *
| %lld
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !