#3960
intersectie_siruri
Dându-se mai multe șiruri crescătoare de numere naturale, fiecare astfel de șir terminându-se cu numărul 0
, se cere să se afișeze în ordine strict crescătoare, numerele comune tuturor șirurilor.
ad-hoc
Problema | intersectie_siruri | Operații I/O |
intersectie.in /intersectie.out
|
---|---|---|---|
Limita timp | 0.4 secunde | Limita memorie |
Total: 2 MB
/
Stivă 1 MB
|
Id soluție | #52408921 | Utilizator | |
Fișier | intersectie_siruri.cpp | Dimensiune | 1.12 KB |
Data încărcării | 29 Septembrie 2024, 15:38 | Scor / rezultat | Eroare de compilare |
intersectie_siruri.cpp:3:1: error: stray '\342' in program ifstream fin(“intersectie.in”); ^ intersectie_siruri.cpp:3:1: error: stray '\200' in program intersectie_siruri.cpp:3:1: error: stray '\234' in program intersectie_siruri.cpp:3:1: error: stray '\342' in program intersectie_siruri.cpp:3:1: error: stray '\200' in program intersectie_siruri.cpp:3:1: error: stray '\235' in program intersectie_siruri.cpp:4:1: error: stray '\342' in program ofstream fout(“intersectie.out”); ^ intersectie_siruri.cpp:4:1: error: stray '\200' in program intersectie_siruri.cpp:4:1: error: stray '\234' in program intersectie_siruri.cpp:4:1: error: stray '\342' in program intersectie_siruri.cpp:4:1: error: stray '\200' in program intersectie_siruri.cpp:4:1: error: stray '\235' in program intersectie_siruri.cpp:54:13: error: stray '\342' in program fout<<“Nu exista”; ^ intersectie_siruri.cpp:54:13: error: stray '\200' in program intersectie_siruri.cpp:54:13: error: stray '\234' in program intersectie_siruri.cpp:54:13: error: stray '\342' in program intersectie_siruri.cpp:54:13: error: stray '\200' in program intersectie_siruri.cpp:54:13: error: stray '\235' in program intersectie_siruri.cpp:61:13: error: stray '\342' in program fout<<a[f]<<“ “; ^ intersectie_siruri.cpp:61:13: error: stray '\200' in program intersectie_siruri.cpp:61:13: error: stray '\234' in program intersectie_siruri.cpp:61:13: error: stray '\342' in program intersectie_siruri.cpp:61:13: error: stray '\200' in program intersectie_siruri.cpp:61:13: error: stray '\234' in program intersectie_siruri.cpp:3:17: error: 'intersectie' was not declared in this scope ifstream fin(“intersectie.in”); ^ intersectie_siruri.cpp:4:18: error: 'intersectie' was not declared in this scope ofstream fout(“intersectie.out”); ^ intersectie_siruri.cpp: In function 'int main()': intersectie_siruri.cpp:54:22: error: 'Nu' was not declared in this scope fout<<“Nu exista”; ^ intersectie_siruri.cpp:54:25: error: expected ';' before 'exista' fout<<“Nu exista”; ^ intersectie_siruri.cpp:61:32: error: expected primary-expression before ';' token fout<<a[f]<<“ “; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema intersectie_siruri 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ă.