Borderou de evaluare (job #2598600)
Utilizator | Data | 11 aprilie 2020 12:59:23 | |
---|---|---|---|
Problema | Blat | Status | done |
Runda | Fmi No Stress 9 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:89:12: error: 'INT_MAX' was not declared in this scope
int min = INT_MAX, max = 0,i1,i2;
^~~~~~~
main.cpp:95:4: error: 'i1' was not declared in this scope
i1 = i;
^~
main.cpp:97:7: error: 'max' was not declared in this scope
if (max < oriz[i])
^~~
main.cpp:100:4: error: 'i2' was not declared in this scope
i2 = i;
^~
main.cpp:122:18: error: 'max' was not declared in this scope
if (oriz[j] == max)
^~~
main.cpp:49:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &m, &k, &n);
^
main.cpp:60:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d ", &a[i][j]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !