Borderou de evaluare (job #2229491)
Utilizator | Data | 6 august 2018 22:03:11 | |
---|---|---|---|
Problema | Pitagora2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:9: error: ‘e’ was not declared in this scope
e=1LL*c[i]*c[j];
^
user.cpp:5:99: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitagora2.in","r",stdin),freopen("pitagora2.out","w",stdout),scanf("%d",&n),r=n*n,b=n;
^
user.cpp:5:99: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:5:99: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !