Borderou de evaluare (job #1580046)

Utilizator arvlgeArdeleanu Vlad George arvlge Data 25 ianuarie 2016 13:36:39
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:14:26: error: ‘in’ was not declared in this scope freopen("euclid.in","r",in); ^ user.cpp:15:27: error: ‘out’ was not declared in this scope freopen("euclid.out","w",out); ^ user.cpp:17:14: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%u",T); ^ user.cpp:20:20: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%u %u",a,b); ^ user.cpp:20:20: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u",T); ^ user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u %u",a,b); ^

Ceva nu functioneaza?