Borderou de evaluare (job #2909544)

Utilizator hihihahaagram habishish hihihaha Data 14 iunie 2022 06:52:12
Problema Cartite Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve()': main.cpp:87:29: error: conflicting declaration 'std::queue<std::pair<long long int, long long int> > q' 87 | queue<pair<ll, ll>> q; | ^ main.cpp:42:12: note: previous declaration as 'long long int q' 42 | ll q; | ^ main.cpp:88:11: error: request for member 'push' in 'q', which is of non-class type 'long long int' 88 | q.push({x, y}); | ^~~~ main.cpp:90:19: error: request for member 'empty' in 'q', which is of non-class type 'long long int' 90 | while (!q.empty()) | ^~~~~ main.cpp:92:23: error: request for member 'front' in 'q', which is of non-class type 'long long int' 92 | ll x1 = q.front().first; | ^~~~~ main.cpp:93:23: error: request for member 'front' in 'q', which is of non-class type 'long long int' 93 | ll y1 = q.front().second; | ^~~~~ main.cpp:94:15: error: request for member 'pop' in 'q', which is of non-class type 'long long int' 94 | q.pop(); | ^~~ main.cpp:106:23: error: request for member 'push' in 'q', which is of non-class type 'long long int' 106 | q.push({x2, y2}); | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?