#3713
Undeva, într-un ținut îndepărtat, își desfășoară activitatea o vestită companie, mai exact Mondial Computers SRL. Aceștia lucrează cu mulți clienți de renume, deci au nevoie de multă forță de muncă. Astfel, ei au o bază de date în care mențin informații despre angajații lor, dar, recent, echipa care se ocupa de această bază de date a dat dovadă de un randament scăzut, iar ca urmare a acestui fapt, manager-ul general a decis, fără a ține cont de consecințe, să îi concedieze, iar aceștia, de supărare, au șters înainte de a pleca din companie toate datele angajaților. Acum manager-ul are nevoie de ajutorul vostru(voluntar, desigur) pentru reorganizarea acestei baze de date până reușește să angajeze noi oameni.
Problema | company_tree | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 2 secunde | Limita memorie |
Total: 128 MB
/
Stivă 32 MB
|
Id soluție | #55986522 | Utilizator | |
Fișier | company_tree.cpp | Dimensiune | 9.18 KB |
Data încărcării | 02 Februarie 2025, 01:07 | Scor / rezultat | Eroare de compilare |
company_tree.cpp: In member function 'node SegTree::query_max(int, int, int, int, int)': company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp: In function 'void solve()': company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:166:54: error: called from here ans1 = query_max(x << 1, lx, mid, st, dr); ^ company_tree.cpp:159:17: error: inlining failed in call to always_inline 'node SegTree::query_max(int, int, int, int, int)': recursive inlining inline node query_max(int x, int lx, int rx, int st, int dr) __attribute__((always_inline)) { ^ company_tree.cpp:168:62: error: called from here ans2 = query_max(x << 1 | 1, mid + 1, rx, st, dr); ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema company_tree face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.