Borderou de evaluare (job #2044441)

Utilizator ana.pintiliciucAna Maria Pintiliciuc ana.pintiliciuc Data 21 octombrie 2017 10:03:32
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:31:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d", &a, &b, &c); ^ user.cpp:31:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:31:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:34:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d\n", k*(c/d), l*(c/d)); ^ user.cpp:34:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:24:38: 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:25:40: 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:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:31:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbSolutie gresita la ecuatia 1 (10 18 76)00
20ms268kbSolutie gresita la ecuatia 1 (10 24 2)0
30ms264kbSolutie gresita la ecuatia 1 (-55 77 517)0
40ms264kbSolutie 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
70ms264kbSolutie gresita la ecuatia 1 (-519880 -1650824 14946960)00
80ms268kbSolutie gresita la ecuatia 1 (2952045 2174860 -13628765)00
90ms268kbSolutie gresita la ecuatia 1 (-599979 -1917456 -6771468)00
100ms268kbSolutie gresita la ecuatia 1 (-972316488 -416089531 -1231279192)0
Punctaj total0

Ceva nu functioneaza?