#1174
FListaNumarare2
C++
Să se scrie o funcție C++ care determină câte perechi de elemente prime între ele sunt memorate într-o lista simplu înlănțuită.
Problema | FListaNumarare2 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #23218371 | Utilizator | |
Fișier | flistanumarare2.cpp | Dimensiune | 659 B |
Data încărcării | 02 Iunie 2020, 00:08 | Scor / rezultat | Eroare de compilare |
flistanumarare2.cpp:41:1: error: stray '\302' in program int k=0; ^ flistanumarare2.cpp:41:1: error: stray '\240' in program flistanumarare2.cpp:43:1: error: stray '\302' in program ^ flistanumarare2.cpp:43:1: error: stray '\240' in program flistanumarare2.cpp:45:1: error: stray '\302' in program while(p->urm) ^ flistanumarare2.cpp:45:1: error: stray '\240' in program flistanumarare2.cpp:47:1: error: stray '\302' in program { ^ flistanumarare2.cpp:47:1: error: stray '\240' in program flistanumarare2.cpp:47:1: error: stray '\302' in program flistanumarare2.cpp:47:1: error: stray '\240' in program flistanumarare2.cpp:49:1: error: stray '\302' in program int x=p->info; ^ flistanumarare2.cpp:49:1: error: stray '\240' in program flistanumarare2.cpp:49:1: error: stray '\302' in program flistanumarare2.cpp:49:1: error: stray '\240' in program flistanumarare2.cpp:49:1: error: stray '\302' in program flistanumarare2.cpp:49:1: error: stray '\240' in program flistanumarare2.cpp:49:1: error: stray '\302' in program flistanumarare2.cpp:49:1: error: stray '\240' in program flistanumarare2.cpp:51:1: error: stray '\302' in program nod *q=p->urm; ^ flistanumarare2.cpp:51:1: error: stray '\240' in program flistanumarare2.cpp:51:1: error: stray '\302' in program flistanumarare2.cpp:51:1: error: stray '\240' in program flistanumarare2.cpp:51:1: error: stray '\302' in program flistanumarare2.cpp:51:1: error: stray '\240' in program flistanumarare2.cpp:51:1: error: stray '\302' in program flistanumarare2.cpp:51:1: error: stray '\240' in program flistanumarare2.cpp:53:1: error: stray '\302' in program while(q) ^ flistanumarare2.cpp:53:1: error: stray '\240' in program flistanumarare2.cpp:53:1: error: stray '\302' in program flistanumarare2.cpp:53:1: error: stray '\240' in program flistanumarare2.cpp:53:1: error: stray '\302' in program flistanumarare2.cpp:53:1: error: stray '\240' in program flistanumarare2.cpp:53:1: error: stray '\302' in program flistanumarare2.cpp:53:1: error: stray '\240' in program flistanumarare2.cpp:55:1: error: stray '\302' in program { ^ flistanumarare2.cpp:55:1: error: stray '\240' in program flistanumarare2.cpp:55:1: error: stray '\302' in program flistanumarare2.cpp:55:1: error: stray '\240' in program flistanumarare2.cpp:55:1: error: stray '\302' in program flistanumarare2.cpp:55:1: error: stray '\240' in program flistanumarare2.cpp:55:1: error: stray '\302' in program flistanumarare2.cpp:55:1: error: stray '\240' in program flistanumarare2.cpp:57:1: error: stray '\302' in program int aux=x; ^ flistanumarare2.cpp:57:1: error: stray '\240' in program flistanumarare2.cpp:57:1: error: stray '\302' in program flistanumarare2.cpp:57:1: error: stray '\240' in program flistanumarare2.cpp:57:1: error: stray '\302' in program flistanumarare2.cpp:57:1: error: stray '\240' in program flistanumarare2.cpp:57:1: error: stray '\302' in program flistanumarare2.cpp:57:1: error: stray '\240' in program flistanumarare2.cpp:59:1: error: stray '\302' in program int y=q->info; ^ flistanumarare2.cpp:59:1: error: stray '\240' in program flistanumarare2.cpp:59:1: error: stray '\302' in program flistanumarare2.cpp:59:1: error: stray '\240' in program flistanumarare2.cpp:59:1: error: stray '\302' in program flistanumarare2.cpp:59:1: error: stray '\240' in program flistanumarare2.cpp:59:1: error: stray '\302' in program flistanumarare2.cpp:59:1: error: stray '\240' in program flistanumarare2.cpp:61:1: error: stray '\302' in program ^ flistanumarare2.cpp:61:1: error: stray '\240' in program flistanumarare2.cpp:61:1: error: stray '\302' in program flistanumarare2.cpp:61:1: error: stray '\240' in program flistanumarare2.cpp:61:1: error: stray '\302' in program flistanumarare2.cpp:61:1: error: stray '\240' in program flistanumarare2.cpp:61:1: error: stray '\302' in program flistanumarare2.cpp:61:1: error: stray '\240' in program flistanumarare2.cpp:61:1: error: stray '\302' in program flistanumarare2.cpp:61:1: error: stray '\240' in program flistanumarare2.cpp:63:1: error: stray '\302' in program while(aux!=y) ^ flistanumarare2.cpp:63:1: error: stray '\240' in program flistanumarare2.cpp:63:1: error: stray '\302' in program flistanumarare2.cpp:63:1: error: stray '\240' in program flistanumarare2.cpp:63:1: error: stray '\302' in program flistanumarare2.cpp:63:1: error: stray '\240' in program flistanumarare2.cpp:63:1: error: stray '\302' in program flistanumarare2.cpp:63:1: error: stray '\240' in program flistanumarare2.cpp:63:1: error: stray '\302' in program flistanumarare2.cpp:63:1: error: stray '\240' in program flistanumarare2.cpp:63:1: error: stray '\302' in program flistanumarare2.cpp:63:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program if(aux>y) ^ flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program flistanumarare2.cpp:65:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program aux=aux-y; ^ flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:67:1: error: stray '\302' in program flistanumarare2.cpp:67:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program else ^ flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:69:1: error: stray '\302' in program flistanumarare2.cpp:69:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program y=y-aux; ^ flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:71:1: error: stray '\302' in program flistanumarare2.cpp:71:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program ^ flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:73:1: error: stray '\302' in program flistanumarare2.cpp:73:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program if(aux==1) ^ flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:75:1: error: stray '\302' in program flistanumarare2.cpp:75:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program k++; ^ flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:77:1: error: stray '\302' in program flistanumarare2.cpp:77:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program ^ flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:79:1: error: stray '\302' in program flistanumarare2.cpp:79:1: error: stray '\240' in program flistanumarare2.cpp:81:1: error: stray '\302' in program q=q->urm; ^ flistanumarare2.cpp:81:1: error: stray '\240' in program flistanumarare2.cpp:81:1: error: stray '\302' in program flistanumarare2.cpp:81:1: error: stray '\240' in program flistanumarare2.cpp:81:1: error: stray '\302' in program flistanumarare2.cpp:81:1: error: stray '\240' in program flistanumarare2.cpp:81:1: error: stray '\302' in program flistanumarare2.cpp:81:1: error: stray '\240' in program flistanumarare2.cpp:81:1: error: stray '\302' in program flistanumarare2.cpp:81:1: error: stray '\240' in program flistanumarare2.cpp:83:1: error: stray '\302' in program } ^ flistanumarare2.cpp:83:1: error: stray '\240' in program flistanumarare2.cpp:83:1: error: stray '\302' in program flistanumarare2.cpp:83:1: error: stray '\240' in program flistanumarare2.cpp:83:1: error: stray '\302' in program flistanumarare2.cpp:83:1: error: stray '\240' in program flistanumarare2.cpp:83:1: error: stray '\302' in program flistanumarare2.cpp:83:1: error: stray '\240' in program flistanumarare2.cpp:85:1: error: stray '\302' in program ^ flistanumarare2.cpp:85:1: error: stray '\240' in program flistanumarare2.cpp:85:1: error: stray '\302' in program flistanumarare2.cpp:85:1: error: stray '\240' in program flistanumarare2.cpp:85:1: error: stray '\302' in program flistanumarare2.cpp:85:1: error: stray '\240' in program flistanumarare2.cpp:87:1: error: stray '\302' in program p=p->urm; ^ flistanumarare2.cpp:87:1: error: stray '\240' in program flistanumarare2.cpp:87:1: error: stray '\302' in program flistanumarare2.cpp:87:1: error: stray '\240' in program flistanumarare2.cpp:87:1: error: stray '\302' in program flistanumarare2.cpp:87:1: error: stray '\240' in program flistanumarare2.cpp:87:1: error: stray '\302' in program flistanumarare2.cpp:87:1: error: stray '\240' in program flistanumarare2.cpp:89:1: error: stray '\302' in program } ^ flistanumarare2.cpp:89:1: error: stray '\240' in program flistanumarare2.cpp:89:1: error: stray '\302' in program flistanumarare2.cpp:89:1: error: stray '\240' in program flistanumarare2.cpp:91:1: error: stray '\302' in program ^ flistanumarare2.cpp:91:1: error: stray '\240' in program flistanumarare2.cpp:91:1: error: stray '\302' in program flistanumarare2.cpp:91:1: error: stray '\240' in program flistanumarare2.cpp:93:1: error: stray '\302' in program return k; ^ flistanumarare2.cpp:93:1: error: stray '\240' in program flistanumarare2.cpp:93:1: error: stray '\302' in program flistanumarare2.cpp:93:1: error: stray '\240' in program flistanumarare2.cpp:93:1: error: stray '\302' in program flistanumarare2.cpp:93:1: error: stray '\240' in program flistanumarare2.cpp:93:1: error: stray '\302' in program flistanumarare2.cpp:93:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema FListaNumarare2 face parte din a doua categorie. Pentru aceste probleme se folosește un program suport, furnizat de propunătorul problemei. 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ă.