Borderou de evaluare (job #1314161)
Utilizator | Data | 11 ianuarie 2015 16:41:31 | |
---|---|---|---|
Problema | Subsiruri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citire()’:
user.cpp:13:20: error: ‘N’ was not declared in this scope
scanf("%d %d",&N,&M);
^
user.cpp:13:23: error: ‘M’ was not declared in this scope
scanf("%d %d",&N,&M);
^
user.cpp:15:24: error: ‘nod1’ was not declared in this scope
scanf("%d %d",&nod1,&nod2);
^
user.cpp:15:30: error: ‘nod2’ was not declared in this scope
scanf("%d %d",&nod1,&nod2);
^
user.cpp: In function ‘void scriere()’:
user.cpp:24:20: error: ‘N’ was not declared in this scope
for(int i=1;i<=N;++i)
^
user.cpp: In function ‘void citire()’:
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("painting.in","r",stdin);
^
user.cpp: In function ‘void scriere()’:
user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("painting.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !