Borderou de evaluare (job #2702514)

Utilizator florinliviu09Florin Liviu Magadan florinliviu09 Data 4 februarie 2021 13:04:16
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c-32 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:26: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] fprintf(outFile, euclid(a,b) ); ^~~~~~ In file included from /usr/include/stdio.h:936:0, from main.c:1: /usr/include/bits/stdio2.h:95:1: note: expected 'const char * restrict' but argument is of type 'int' fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) ^~~~~~~ main.c:20:9: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(outFile, euclid(a,b) ); ^~~~~~~ main.c:11:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%lld", &a); ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%lld", &b); ^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOKAY!10
22ms131kbKilled by Signal 110
33ms131kbKilled by Signal 110
42ms131kbOKAY!10
52ms131kbKilled by Signal 110
62ms131kbOKAY!10
72ms131kbKilled by Signal 110
82ms131kbOKAY!10
92ms131kbOKAY!10
102ms131kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?