Borderou de evaluare (job #2434468)
Utilizator | Data | 2 iulie 2019 01:07:13 | |
---|---|---|---|
Problema | Sarac Sau Rege | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:43:20: error: 'vect' undeclared (first use in this function)
buildSparseTable(vect, n);
^~~~
main.c:43:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:43:3: error: too many arguments to function 'buildSparseTable'
buildSparseTable(vect, n);
^~~~~~~~~~~~~~~~
main.c:9:6: note: declared here
void buildSparseTable(int n) {
^~~~~~~~~~~~~~~~
main.c:37:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:38:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out", "w", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:42:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^~~~~~~~~~~~~~~~~~~~~
main.c:47:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &l, &r);
^~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !