Borderou de evaluare (job #2762353)

Utilizator VanillaSoltan Marian Vanilla Data 6 iulie 2021 17:13:17
Problema Heavy metal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In lambda function: main.cpp:59:47: error: expected '{' before '=' token if (a[j].second < a[i].first) [i] = max(dp[i], dp[j]); ^ main.cpp: In function 'int main()': main.cpp:59:65: error: no match for 'operator=' (operand types are 'main()::<lambda()>' and 'const long long int') if (a[j].second < a[i].first) [i] = max(dp[i], dp[j]); ^ main.cpp:59:45: note: candidate: main()::<lambda()>& main()::<lambda()>::operator=(const main()::<lambda()>&) <deleted> if (a[j].second < a[i].first) [i] = max(dp[i], dp[j]); ^ main.cpp:59:45: note: no known conversion for argument 1 from 'const long long int' to 'const main()::<lambda()>&' Non zero exit status: 1

Ceva nu functioneaza?