Borderou de evaluare (job #2301874)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 13 decembrie 2018 16:55:47
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:18: warning: format '%hd' expects argument of type 'short int *', but argument 2 has type 'unsigned char *' [-Wformat=] scanf("%hd",x+i); ^ main.c:12:18: warning: format '%hd' expects argument of type 'short int *', but argument 2 has type 'unsigned char *' [-Wformat=] scanf("%hd",y+i); ^ main.c:8:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%hd%hd",&n,&m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:35: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%hd%hd",&n,&m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:67: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%hd%hd",&n,&m); ^~~~~~~~~~~~~~~~~~~~~ main.c:10:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd",x+i); ^~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd",y+i); ^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns corect!10
22ms131kbRaspuns corect!10
32ms131kbRaspuns corect!10
43ms262kbRaspuns corect!10
53ms393kbRaspuns corect!10
66ms655kbRaspuns corect!10
710ms1179kbRaspuns corect!10
810ms1048kbRaspuns corect!10
911ms1179kbRaspuns corect!10
109ms917kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?