Borderou de evaluare (job #1182689)
Utilizator | Popescu Mihai PopescuMihai95 | Data | 7 mai 2014 09:27:22 |
---|---|---|---|
Problema | Parpal | 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:37:16: error: ‘v’ was not declared in this scope
memset(v,0,sizeof(v)); memset(w,0,sizeof(w));
^
user.cpp:37:39: error: ‘w’ was not declared in this scope
memset(v,0,sizeof(v)); memset(w,0,sizeof(w));
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parpal.in","r",stdin);
^
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parpal.out","w",stdout);
^
user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:38:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1); nr=0; i=1; j=2; ok1=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !