Borderou de evaluare (job #2762454)
Utilizator | Data | 7 iulie 2021 13:24:16 | |
---|---|---|---|
Problema | Admitere | 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:99:95: error: expected primary-expression before '.' token
if(currGrades[p[uman][i] ][real ] > currGrades[minReal][real] && space > 0) { .
^
main.cpp:32:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("admitere.in","r",stdin);
^
main.cpp:33:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("admitere.out","w",stdout);
^
main.cpp:34:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&cer,&n,&m);
^
main.cpp:37:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&fixedGrades[i][j] );
^
main.cpp:41:60: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&currGrades[i][0],&currGrades[i][1] );
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !