Borderou de evaluare (job #2483085)

Utilizator OvidRata Ovidiu Ovid Data 29 octombrie 2019 11:49:22
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:33:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d %d", &m, &n); ^ main.cpp:33:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:34:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=] for(i=1;i<=m;i++){ scanf("%d", &x[i]);c[i][0]=0; s[i][0]="";} ^ main.cpp:36:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'unsigned char*' [-Wformat=] for(i=1;i<=n;i++){ scanf("%d", &y[i]); c[0][i]=0; s[0][i]="";} ^ 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:33: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:34: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:36: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
142ms20496kbMemory limit exceeded0
231ms20496kbMemory limit exceeded0
336ms20496kbMemory limit exceeded0
431ms20496kbMemory limit exceeded0
531ms20496kbMemory limit exceeded0
631ms20496kbMemory limit exceeded0
737ms20496kbMemory limit exceeded0
836ms20496kbMemory limit exceeded0
942ms20496kbMemory limit exceeded0
1039ms20496kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?