Problema | minim3 | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #57222742 | Utilizator | |
Fișier | minim3.cpp | Dimensiune | 3.86 KB |
Data încărcării | 20 Martie 2025, 16:47 | Scor / rezultat | Eroare de compilare |
minim3.cpp:28:1: error: expected initializer before 'using' using namespace std; ^ minim3.cpp: In function 'int main()': minim3.cpp:30:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:49:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:67:5: error: redefinition of 'int main()' int main() { ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:84:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:108:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:128:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:153:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: In function 'int main()': minim3.cpp:173:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: At global scope: minim3.cpp:182:1: error: expected unqualified-id before '{' token { ^ minim3.cpp: In function 'int main()': minim3.cpp:199:5: error: redefinition of 'int main()' int main() { ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: At global scope: minim3.cpp:214:5: error: redefinition of 'int a' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:5: error: 'int a' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:7: error: redefinition of 'int b' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:7: error: 'int b' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:9: error: redefinition of 'int c' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:9: error: 'int c' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:11: error: redefinition of 'int d' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:11: error: 'int d' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:13: error: redefinition of 'int e' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:13: error: 'int e' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:15: error: redefinition of 'int x' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:15: error: 'int x' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:17: error: redefinition of 'int y' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:17: error: 'int y' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp:214:19: error: redefinition of 'int s' int a,b,c,d,e,x,y,s; ^ minim3.cpp:82:19: error: 'int s' previously declared here int a,b,c,d,e,x,y,s; ^ minim3.cpp: In function 'int main()': minim3.cpp:216:5: error: redefinition of 'int main()' int main() ^ minim3.cpp:6:5: error: 'int main()' previously defined here int main() ^ minim3.cpp: At global scope: minim3.cpp:241:5: error: expected initializer before 'int' int minim = 1e9, maxim = 0; ^ minim3.cpp:242:5: error: expected unqualified-id before 'if' if (a < minim) minim = a; ^ minim3.cpp:243:5: error: expected unqualified-id before 'if' if (b < minim) minim = b; ^ minim3.cpp:244:5: error: 'i' does not name a type i ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema minim3 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ă.