Borderou de evaluare (job #2483064)

Utilizator OvidRata Ovidiu Ovid Data 29 octombrie 2019 11:12:40
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:34:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d %d", &m, &n); ^ main.cpp:34:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:28:32: 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); ^ main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out", "w", stdout); ^ main.cpp:34:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &m, &n); ^ main.cpp:35:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=m;i++){ scanf("%d", &x[i]);c[i][0]=0; s[i][0]="";} ^ main.cpp:37:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++){ scanf("%d", &y[i]); c[0][i]=0; s[0][i]="";} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
145ms20496kbMemory limit exceeded0
237ms20496kbMemory limit exceeded0
338ms20496kbMemory limit exceeded0
437ms20496kbMemory limit exceeded0
529ms20496kbMemory limit exceeded0
647ms20496kbMemory limit exceeded0
737ms20496kbMemory limit exceeded0
848ms20496kbMemory limit exceeded0
941ms20496kbMemory limit exceeded0
1043ms20496kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?