Borderou de evaluare (job #2287709)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 22 noiembrie 2018 13:00:41
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:5:75: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'unsigned char *' [-Wformat=] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%d%d",&n,&m); ^ main.c:5:77: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned char *' [-Wformat=] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%d%d",&n,&m); ^ main.c:7:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'unsigned char *' [-Wformat=] scanf("%d",x+i); ^ main.c:9:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'unsigned char *' [-Wformat=] scanf("%d",y+i); ^ main.c:5: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("%d%d",&n,&m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:5: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("%d%d",&n,&m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:5: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("%d%d",&n,&m); ^~~~~~~~~~~~~~~~~~~ main.c:7:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",x+i); ^~~~~~~~~~~~~~~ main.c:9:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",y+i); ^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns corect!10
22ms131kbRaspuns corect!10
32ms131kbRaspuns corect!10
42ms131kbLungime incorecta!0
52ms131kbLungime incorecta!0
62ms131kbLungime incorecta!0
73ms393kbLungime incorecta!0
83ms262kbLungime incorecta!0
9102ms131kbTime limit exceeded0
102ms131kbLungime incorecta!0
Punctaj total30

Ceva nu functioneaza?