Borderou de evaluare (job #1714946)
Utilizator | Data | 9 iunie 2016 19:40:21 | |
---|---|---|---|
Problema | Pentagrame | 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:53:9: error: ‘Map’ was not declared in this scope
Map[Hash]=i;
^
user.cpp:45:17: warning: unused variable ‘x’ [-Wunused-variable]
int m,i,j,l,x;
^
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pentagrame.in","r",stdin);
^
user.cpp:44:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pentagrame.out","w",stdout);
^
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",word[i]);
^
user.cpp:59:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !