Borderou de evaluare (job #2366856)

Utilizator serbancoroiuSerban Ionut Coroiu serbancoroiu Data 4 martie 2019 22:30:02
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:16: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] fscanf(ptr, "%d", &n); ^ main.c:26:17: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] fscanf(ptr, "%d %d %d\n", &a, &b, &c); ^ main.c:26:20: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long int *' [-Wformat=] fscanf(ptr, "%d %d %d\n", &a, &b, &c); ^ main.c:26:23: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long int *' [-Wformat=] fscanf(ptr, "%d %d %d\n", &a, &b, &c); ^ main.c:29:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(ptrO, "%d %d\n", x*c/d, y*c/d); ^ main.c:29:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(ptrO, "%d %d\n", x*c/d, y*c/d); ^ main.c:24:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(ptr, "%d", &n); ^~~~~~~~~~~~~~~~~~~~~ main.c:26:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(ptr, "%d %d %d\n", &a, &b, &c); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbRaspuns Corect100
22ms131kbRaspuns Corect10
32ms131kbSolutie gresita la ecuatia 1 (-55 77 517)0
42ms131kbSolutie gresita la ecuatia 1 (-612 663 -7191)00
52ms131kbSolutie gresita la ecuatia 2 (546273 -121394 -6130397)00
62ms131kbSolutie gresita la ecuatia 1 (-676328 -512992 -405416)00
72ms131kbSolutie gresita la ecuatia 1 (-519880 -1650824 14946960)00
82ms131kbSolutie gresita la ecuatia 1 (2952045 2174860 -13628765)00
92ms131kbSolutie gresita la ecuatia 1 (-599979 -1917456 -6771468)00
102ms131kbSolutie gresita la ecuatia 1 (-972316488 -416089531 -1231279192)0
Punctaj total0

Ceva nu functioneaza?