Borderou de evaluare (job #2694887)

Utilizator adrian.tucudeanAdrian Tucudean adrian.tucudean Data 10 ianuarie 2021 23:44:28
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:10:10: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] fscanf( "%d", &b); ^~~~ In file included from /usr/include/features.h:367:0, from /usr/include/stdio.h:27, from main.c:1: /usr/include/stdio.h:443:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *' extern int __REDIRECT (fscanf, (FILE *__restrict __stream, ^ main.c:10:16: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] fscanf( "%d", &b); ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdio.h:27, from main.c:1: /usr/include/stdio.h:443:12: note: expected 'const char * restrict' but argument is of type 'int *' extern int __REDIRECT (fscanf, (FILE *__restrict __stream, ^ main.c:10:16: warning: format not a string literal and no format arguments [-Wformat-security] fscanf( "%d", &b); ^~ main.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &a); ^~~~~~~~~~~~~~~~ main.c:10:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf( "%d", &b); ^~~~~~~~~~~~~~~~~
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?