Borderou de evaluare (job #2288539)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 23 noiembrie 2018 16:47:47
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:7:85: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%d%d",&n,&m); ^ main.cpp:7:85: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:9:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=] scanf("%d",x+i); ^ main.cpp:11:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=] scanf("%d",y+i); ^ main.cpp:7:86: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),scanf("%d%d",&n,&m); ^ main.cpp:7:86: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:7:86: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:9:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",x+i); ^ main.cpp:11:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",y+i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbLungime incorecta!0
22ms131kbLungime incorecta!0
32ms131kbLungime incorecta!0
42ms131kbLungime incorecta!0
52ms131kbLungime incorecta!0
62ms131kbLungime incorecta!0
72ms131kbLungime incorecta!0
82ms131kbLungime incorecta!0
92ms131kbLungime incorecta!0
102ms131kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?