Borderou de evaluare (job #1573625)
| Utilizator | Data | 19 ianuarie 2016 20:24:25 | |
|---|---|---|---|
| Problema | Secventa 5 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:11:10: error: ‘s’ was not declared in this scope
for (s=1,d=1;d<n;d++)
^
user.cpp:11:14: error: ‘d’ was not declared in this scope
for (s=1,d=1;d<n;d++)
^
user.cpp:11:20: error: ‘n’ was not declared in this scope
for (s=1,d=1;d<n;d++)
^
user.cpp: In function ‘int main()’:
user.cpp:30:9: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv6.out","w",stdout);
^
user.cpp:29:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli %lli %lli",&n,&s,&d);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
