Borderou de evaluare (job #2217256)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 29 iunie 2018 19:16:39
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void LongestCommonSubstring()’: user.cpp:34:20: error: ‘max’ is not a member of ‘std’ dp[i][j] = std::max(dp[i - 1][j], dp[i][j - 1]); ^~~ user.cpp: In function ‘void ReadInput()’: user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i]); ^

Ceva nu functioneaza?