Borderou de evaluare (job #2561693)
Utilizator | Data | 29 februarie 2020 08:44:46 | |
---|---|---|---|
Problema | Eq4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:17: error: 'a' was not declared in this scope
scanf("%s",&a);
^
main.cpp:9:23: error: 'st' was not declared in this scope
scanf("%d %d %d",&st,&dr,&res);
^~
main.cpp:9:27: error: 'dr' was not declared in this scope
scanf("%d %d %d",&st,&dr,&res);
^~
main.cpp:9:31: error: 'res' was not declared in this scope
scanf("%d %d %d",&st,&dr,&res);
^~~
main.cpp:10:5: error: 'semn' was not declared in this scope
semn=2;//2+ 1-
^~~~
main.cpp:11:13: error: 'i' was not declared in this scope
while(a[i]!="\n")
^
main.cpp:16:13: error: 'nr' was not declared in this scope
nr=0;
^~
main.cpp:21:13: error: 'nr' was not declared in this scope
nr=0;
^~
main.cpp:25:17: error: 'nr' was not declared in this scope
nr=nr*10+a[i]-"0";
^~
main.cpp:6:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.in","r",stdin);
^
main.cpp:7:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !