Borderou de evaluare (job #2547371)
Utilizator | Data | 15 februarie 2020 12:05:23 | |
---|---|---|---|
Problema | Divk | 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:27:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (dreapta < resturi[i].size() && resturi[i][stanga] <= resturi[i][dreapta]) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:43:30: error: expected primary-expression before ')' token
printf("%d\n", solutie + );
^
main.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in", "r", stdin);
^
main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out", "w", stdout);
^
main.cpp:11:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &k, &a, &b);
^
main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !