Borderou de evaluare (job #2702485)

Utilizator florinliviu09Florin Liviu Magadan florinliviu09 Data 4 februarie 2021 11:54:20
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c-32 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] fscanf(infile, "%d", &a); ^ main.c:10:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] fscanf(infile, "%d", &a); ^ main.c:9:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%d", &a); ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:10:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%d", &a); ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:13: warning: 'b' is used uninitialized in this function [-Wuninitialized] while(a%b!=0) ~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 80
22ms131kbKilled by Signal 80
32ms131kbKilled by Signal 80
42ms131kbKilled by Signal 80
52ms131kbKilled by Signal 80
62ms131kbKilled by Signal 80
72ms131kbKilled by Signal 80
82ms131kbKilled by Signal 80
92ms131kbKilled by Signal 80
102ms131kbKilled by Signal 80
Punctaj total0

Ceva nu functioneaza?