Borderou de evaluare (job #2240635)

Utilizator f4ded4kIndrajit Banerjee f4ded4k Data 13 septembrie 2018 20:08:00
Problema Grup Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:0: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(linker, "/stack:336777216") user.cpp: In function ‘int main()’: user.cpp:35:7: error: expected unqualified-id before ‘[’ token auto[val, f, i] = q.top(); q.pop(); ^ user.cpp:36:7: error: ‘f’ was not declared in this scope if (f && ens == k2) continue; ^ user.cpp:37:10: error: ‘f’ was not declared in this scope ens += f; ^ user.cpp:40:10: error: ‘val’ was not declared in this scope ans += val; ^~~ user.cpp:41:8: error: ‘i’ was not declared in this scope done[i] = 1; ^ user.cpp:50:7: error: expected unqualified-id before ‘[’ token auto[val, f] = q2.top(); q2.pop(); ^ user.cpp:51:7: error: ‘f’ was not declared in this scope if (f && ens == k2) continue; ^ user.cpp:52:10: error: ‘f’ was not declared in this scope ens += f; ^ user.cpp:54:10: error: ‘val’ was not declared in this scope ans += val; ^~~

Ceva nu functioneaza?