Borderou de evaluare (job #2316048)
Utilizator | Data | 10 ianuarie 2019 22:34:21 | |
---|---|---|---|
Problema | Compunere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:87:24: error: 'cnt' was not declared in this scope
++ cnt;
^~~
main.cpp:106:16: error: 'cnt' was not declared in this scope
++ cnt;
^~~
main.cpp:117:9: error: 'cnt' was not declared in this scope
if (cnt != ans) while(1);
^~~
main.cpp: In function 'void readS(int)':
main.cpp:25:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s[t].v[i]);
^
main.cpp: In function 'int main()':
main.cpp:62:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &s[0].len, &s[1].len);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !