Borderou de evaluare (job #2641711)
Utilizator | Data | 12 august 2020 14:29:53 | |
---|---|---|---|
Problema | Arbvalmax | 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:73:5: error: expected ';' before 'for'
for(i = 1; i<=q;i++)
^~~
main.cpp:73:14: warning: statement has no effect [-Wunused-value]
for(i = 1; i<=q;i++)
^
main.cpp:73:17: warning: statement has no effect [-Wunused-value]
for(i = 1; i<=q;i++)
~^~~
main.cpp:73:24: error: expected ';' before ')' token
for(i = 1; i<=q;i++)
^
main.cpp:57:22: warning: unused variable 'b' [-Wunused-variable]
int n , q , a , b , i , j;
^
main.cpp:57:30: warning: unused variable 'j' [-Wunused-variable]
int n , q , a , b , i , j;
^
main.cpp:93:1: error: expected '}' at end of input
}
^
main.cpp:55:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
main.cpp:56:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !