Borderou de evaluare (job #1483926)
Utilizator | Data | 10 septembrie 2015 10:25:02 | |
---|---|---|---|
Problema | Submat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:21: error: ‘b’ was not declared in this scope
scanf("%d",&b[j]);
^
user.cpp:6:88: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("submat.in","r",stdin),freopen("submat.out","w",stdout),scanf("%d%d",&n,&m);
^
user.cpp:6:88: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:6:88: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !