Borderou de evaluare (job #1738422)
| Utilizator | Data | 6 august 2016 17:39:51 | |
|---|---|---|---|
| Problema | Algoritmul lui Euclid | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:3:9: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen ("euclid2.in", "r", stdin);
^
user.cpp:4:9: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen ("euclid2.out", "w", stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:27:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
