Borderou de evaluare (job #2202525)

Utilizator cezar.dimoiuDimoiu Cezar Gabriel cezar.dimoiu Data 8 mai 2018 23:50:53
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:22:15: error: ‘n’ was not declared in this scope scanf("%d", &n); ^ user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid2.in", "rt", stdin); ^ user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid2.out", "wt", stdout); ^ user.cpp:25:24: 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?