#1462
Gasti
Problema | Gasti | Operații I/O |
gasti.in /gasti.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
Id soluție | #4591404 | Utilizator | |
Fișier | gasti.cpp | Dimensiune | 1.72 KB |
Data încărcării | 08 Martie 2017, 01:56 | Scor / rezultat | Eroare de compilare |
gasti.cpp:16:18: error: size of array 'l' is too large nod *l[3000000000]; ^ gasti.cpp:17:19: error: size of array 'pr' is too large nod *pr[3000000000]; ^ gasti.cpp: In function 'int main()': gasti.cpp:39:9: error: 'pr' was not declared in this scope pr[i]=new nod; ^ gasti.cpp:41:9: error: 'l' was not declared in this scope l[i]=pr[i]; ^ gasti.cpp:48:13: error: 'pr' was not declared in this scope if(!pr[x]->next)pr[x]->next=c; ^ gasti.cpp:49:9: error: 'l' was not declared in this scope l[x]->next=c; ^ gasti.cpp:54:13: error: 'pr' was not declared in this scope if(!pr[y]->next)pr[y]->next=q; ^ gasti.cpp:77:17: error: 'pr' was not declared in this scope dfs(pr[i]); ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gasti 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ă.