Borderou de evaluare (job #1809204)
Utilizator | Data | 18 noiembrie 2016 18:31:05 | |
---|---|---|---|
Problema | Branza | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:1: error: ‘logn’ does not name a type
logn long p[NMAX];
^
user.cpp: In function ‘void citire()’:
user.cpp:18:29: error: ‘p’ was not declared in this scope
scanf("%d%d",&c[i],&p[i]);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:29:14: error: ‘p’ was not declared in this scope
rez=c[1]*p[1];
^
user.cpp: In function ‘void citire()’:
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&S,&T);
^
user.cpp: In function ‘int main()’:
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.in","r",stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !