Problema | esteArbore | Operații I/O |
estearbore.in /estearbore.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #48578415 | Utilizator | |
Fișier | estearbore.cpp | Dimensiune | 1.87 KB |
Data încărcării | 30 Ianuarie 2024, 10:08 | Scor / rezultat | Eroare de compilare |
estearbore.cpp:7:49: error: stray '#' in program int a[101][101]={0},t[10001],x[10001],v[10001],n#include <iostream> ^ estearbore.cpp:7:50: error: expected initializer before 'include' int a[101][101]={0},t[10001],x[10001],v[10001],n#include <iostream> ^ estearbore.cpp:10:13: error: redefinition of 'std::ifstream fin' ifstream fin("estearbore.in"); ^ estearbore.cpp:4:10: error: 'std::ifstream fin' previously declared here ifstream fin("estearbore.in"); ^ estearbore.cpp:11:14: error: redefinition of 'std::ofstream fout' ofstream fout("estearbore.out"); ^ estearbore.cpp:5:10: error: 'std::ofstream fout' previously declared here ofstream fout("estearbore.out"); ^ estearbore.cpp:13:15: error: redefinition of 'int a [101][101]' int a[101][101]={0},t[10001],x[10001],v[10001],n; ^ estearbore.cpp:7:5: error: 'int a [101][101]' previously defined here int a[101][101]={0},t[10001],x[10001],v[10001],n#include <iostream> ^ estearbore.cpp:13:28: error: redefinition of 'int t [10001]' int a[101][101]={0},t[10001],x[10001],v[10001],n; ^ estearbore.cpp:7:21: error: 'int t [10001]' previously declared here int a[101][101]={0},t[10001],x[10001],v[10001],n#include <iostream> ^ estearbore.cpp:13:37: error: redefinition of 'int x [10001]' int a[101][101]={0},t[10001],x[10001],v[10001],n; ^ estearbore.cpp:7:30: error: 'int x [10001]' previously declared here int a[101][101]={0},t[10001],x[10001],v[10001],n#include <iostream> ^ estearbore.cpp:13:46: error: redefinition of 'int v [10001]' int a[101][101]={0},t[10001],x[10001],v[10001],n; ^ estearbore.cpp:7:39: error: 'int v [10001]' previously declared here int a[101][101]={0},t[10001],x[10001],v[10001],n#include <iostream> ^ estearbore.cpp: In function 'int bfs(int)': estearbore.cpp:49:5: error: redefinition of 'int bfs(int)' int bfs(int start) ^ estearbore.cpp:14:5: error: 'int bfs(int)' previously defined here int bfs(int start) ^ estearbore.cpp: In function 'int main()': estearbore.cpp:70:5: error: redefinition of 'int main()' int main() ^ estearbore.cpp:35:5: error: 'int main()' previously defined here int main() ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema esteArbore 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ă.