Borderou de evaluare (job #1252806)
Utilizator | Irimia Rares zikade9 | Data | 31 octombrie 2014 12:15:05 |
---|---|---|---|
Problema | Prefix | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:8:17: error: ‘h’ was not declared in this scope
scanf("%d",&h);
^
user.cpp:9:9: error: ‘l’ was not declared in this scope
for(l=1;l<=h;l++)
^
user.cpp:11:14: error: ‘x’ was not declared in this scope
gets(x+1);
^
user.cpp:12:9: error: ‘n’ was not declared in this scope
n=strlen(x+1);
^
user.cpp:13:9: error: ‘k’ was not declared in this scope
k=0;
^
user.cpp:14:9: error: ‘p’ was not declared in this scope
p[1]=0;
^
user.cpp:15:13: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++)
^
user.cpp:24:13: error: ‘i’ was not declared in this scope
for(i=k;i>=1;i--)
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !