Borderou de evaluare (job #1513649)

Utilizator Alex_dudeDudescu Alexandru Alex_dude Data 29 octombrie 2015 20:08:18
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:26:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf( fin, "%d", &n ); ^ user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf( fin, "%d %d", &a, &b ); ^ user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:31:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf( fout, "%d\n", euclid( a, b ) ); ^ user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &n ); ^ user.c:30:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d %d", &a, &b ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
20ms256kbOK1020
30ms256kbOK10
420ms252kbOK1010
532ms252kbOK1010
644ms256kbOK1010
756ms260kbOK1040
868ms256kbOK10
968ms260kbOK10
10112ms252kbOK10
Punctaj total100

Ceva nu functioneaza?