Borderou de evaluare (job #2646352)

Utilizator akumariaPatrascanu Andra-Maria akumaria Data 31 august 2020 20:59:50
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:24:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=] scanf("%d", &a[i]); ^ main.cpp:26:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=] scanf("%d", &b[j]); ^ main.cpp:46:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cmlsc[currenti][currentj] = cmlsc[currenti - 1][currentj]) ^ main.cpp:11:33: 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:12:35: 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:16:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:24:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ main.cpp:26:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbSubsir incorect!0
22ms131kbSubsir incorect!0
33ms262kbKilled by Signal 110
43ms262kbKilled by Signal 110
54ms262kbKilled by Signal 110
68ms917kbKilled by Signal 110
712ms1966kbKilled by Signal 110
815ms1966kbKilled by Signal 110
916ms2228kbKilled by Signal 110
1013ms1835kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?