Borderou de evaluare (job #1278175)

Utilizator tudorcomanTudor Coman tudorcoman Data 28 noiembrie 2014 16:38:18
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&T); ^ user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&a,&b); // citire ^ user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d\n",x*(c/D),y*(c/D)); // af rez ^ user.cpp:40:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid3.in","r",stdin); ^ user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid3.out","w",stdout); ^ user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); // citire ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbSolutie gresita la ecuatia 1 (10 18 76)00
20ms268kbSolutie gresita la ecuatia 1 (10 24 2)0
30ms268kbSolutie gresita la ecuatia 1 (-55 77 517)0
40ms268kbSolutie gresita la ecuatia 1 (-612 663 -7191)00
50ms268kbSolutie gresita la ecuatia 1 (476991 847984 4186921)00
60ms268kbSolutie gresita la ecuatia 1 (-676328 -512992 -405416)00
70ms272kbSolutie gresita la ecuatia 1 (-519880 -1650824 14946960)00
80ms272kbSolutie gresita la ecuatia 1 (2952045 2174860 -13628765)00
90ms268kbSolutie gresita la ecuatia 1 (-599979 -1917456 -6771468)00
100ms272kbSolutie gresita la ecuatia 1 (-972316488 -416089531 -1231279192)0
Punctaj total0

Ceva nu functioneaza?