Borderou de evaluare (job #1305984)
Utilizator | Data | 30 decembrie 2014 13:46:24 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:14: error: ‘t’ was not declared in this scope
scanf("%d",&t);
^
user.cpp:8:6: error: ‘i’ was not declared in this scope
for(i=1;i<=t;i++){
^
user.cpp:9:18: error: ‘a’ was not declared in this scope
scanf("%d,%d",&a,&b);
^
user.cpp:9:21: error: ‘b’ was not declared in this scope
scanf("%d,%d",&a,&b);
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.in","r",stdin); freopen("euclid2.out","w",stdout);
^
user.cpp:6:68: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.in","r",stdin); freopen("euclid2.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !