Borderou de evaluare (job #2456491)

Utilizator Alex_dudeDudescu Alexandru Alex_dude Data 14 septembrie 2019 14:49:24
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int cmmdc(long int&, long int&)': main.cpp:14:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (r = a % b) ^ main.cpp: In function 'int main()': main.cpp:32:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(fin, "%d %d", &a, &b); ^ main.cpp:32:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:28:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &T); ^ main.cpp:32:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1020
32ms131kbOK10
434ms262kbOK1010
550ms262kbOK1010
665ms393kbOK1010
780ms393kbOK1040
896ms524kbOK10
998ms262kbOK10
10145ms655kbOK10
Punctaj total100

Ceva nu functioneaza?