Borderou de evaluare (job #2704591)

Utilizator skylake404Andrei Cosmin skylake404 Data 10 februarie 2021 20:17:51
Problema A+B Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] fscanf(fptr,"%d", &num); ^ main.c:14:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] fscanf(fptr,"%d", &num1); ^ main.c:16:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(fptr1,"%d", num+num1); ^ main.c:13:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fptr,"%d", &num); ^~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fptr,"%d", &num1); ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
72ms131kbKilled by Signal 1100
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 1100
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?