Borderou de evaluare (job #2576849)
Utilizator | Data | 7 martie 2020 00:02:14 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Bordare()':
main.cpp:52:10: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
main.cpp: At global scope:
main.cpp:101:15: error: '::main' must return 'int'
void main(void)
^
main.cpp: In function 'void Citire()':
main.cpp:35:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m); //citesc dimensiunile parcului si numarul de pomi
^
main.cpp:41:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &i, &j); //citesc coordonatele obstacolelor
^
main.cpp:45:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &ix, &iy, &ox, &oy);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !