#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 | #51203102 | Utilizator | |
Fișier | flistanumarare2.cpp | Dimensiune | 601 B |
Data încărcării | 29 Mai 2024, 19:42 | Scor / rezultat | Eroare de compilare |
flistanumarare2.cpp:39:1: error: stray '\302' in program int k=0; ^ flistanumarare2.cpp:39:1: error: stray '\240' in program flistanumarare2.cpp:40:1: error: stray '\302' in program ^ flistanumarare2.cpp:40:1: error: stray '\240' in program flistanumarare2.cpp:41:1: error: stray '\302' in program while(p->urm) ^ flistanumarare2.cpp:41:1: error: stray '\240' in program flistanumarare2.cpp:42:1: error: stray '\302' in program { ^ flistanumarare2.cpp:42:1: error: stray '\240' in program flistanumarare2.cpp:42:1: error: stray '\302' in program flistanumarare2.cpp:42:1: error: stray '\240' in program flistanumarare2.cpp:43:1: error: stray '\302' in program int x=p->info; ^ flistanumarare2.cpp:43: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:43:1: error: stray '\302' in program flistanumarare2.cpp:43: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:44:1: error: stray '\302' in program nod *q=p->urm; ^ flistanumarare2.cpp:44:1: error: stray '\240' in program flistanumarare2.cpp:44:1: error: stray '\302' in program flistanumarare2.cpp:44:1: error: stray '\240' in program flistanumarare2.cpp:44:1: error: stray '\302' in program flistanumarare2.cpp:44:1: error: stray '\240' in program flistanumarare2.cpp:44:1: error: stray '\302' in program flistanumarare2.cpp:44:1: error: stray '\240' in program flistanumarare2.cpp:45:1: error: stray '\302' in program while(q) ^ flistanumarare2.cpp:45:1: error: stray '\240' in program flistanumarare2.cpp:45:1: error: stray '\302' in program flistanumarare2.cpp:45:1: error: stray '\240' in program flistanumarare2.cpp:45:1: error: stray '\302' in program flistanumarare2.cpp:45:1: error: stray '\240' in program flistanumarare2.cpp:45:1: error: stray '\302' in program flistanumarare2.cpp:45:1: error: stray '\240' in program flistanumarare2.cpp:46:1: error: stray '\302' in program { ^ flistanumarare2.cpp:46:1: error: stray '\240' in program flistanumarare2.cpp:46:1: error: stray '\302' in program flistanumarare2.cpp:46:1: error: stray '\240' in program flistanumarare2.cpp:46:1: error: stray '\302' in program flistanumarare2.cpp:46:1: error: stray '\240' in program flistanumarare2.cpp:46:1: error: stray '\302' in program flistanumarare2.cpp:46:1: error: stray '\240' in program flistanumarare2.cpp:47:1: error: stray '\302' in program int aux=x; ^ 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: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:48:1: error: stray '\302' in program int y=q->info; ^ flistanumarare2.cpp:48:1: error: stray '\240' in program flistanumarare2.cpp:48:1: error: stray '\302' in program flistanumarare2.cpp:48:1: error: stray '\240' in program flistanumarare2.cpp:48:1: error: stray '\302' in program flistanumarare2.cpp:48:1: error: stray '\240' in program flistanumarare2.cpp:48:1: error: stray '\302' in program flistanumarare2.cpp:48: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: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:50:1: error: stray '\302' in program while(aux!=y) ^ flistanumarare2.cpp:50:1: error: stray '\240' in program flistanumarare2.cpp:50:1: error: stray '\302' in program flistanumarare2.cpp:50:1: error: stray '\240' in program flistanumarare2.cpp:50:1: error: stray '\302' in program flistanumarare2.cpp:50:1: error: stray '\240' in program flistanumarare2.cpp:50:1: error: stray '\302' in program flistanumarare2.cpp:50:1: error: stray '\240' in program flistanumarare2.cpp:50:1: error: stray '\302' in program flistanumarare2.cpp:50:1: error: stray '\240' in program flistanumarare2.cpp:50:1: error: stray '\302' in program flistanumarare2.cpp:50:1: error: stray '\240' in program flistanumarare2.cpp:51:1: error: stray '\302' in program if(aux>y) ^ 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: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:51:1: error: stray '\302' in program flistanumarare2.cpp:51:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program aux=aux-y; ^ flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:52:1: error: stray '\302' in program flistanumarare2.cpp:52:1: error: stray '\240' in program flistanumarare2.cpp:53:1: error: stray '\302' in program else ^ 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: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:54:1: error: stray '\302' in program y=y-aux; ^ flistanumarare2.cpp:54:1: error: stray '\240' in program flistanumarare2.cpp:54:1: error: stray '\302' in program flistanumarare2.cpp:54:1: error: stray '\240' in program flistanumarare2.cpp:54:1: error: stray '\302' in program flistanumarare2.cpp:54:1: error: stray '\240' in program flistanumarare2.cpp:54:1: error: stray '\302' in program flistanumarare2.cpp:54:1: error: stray '\240' in program flistanumarare2.cpp:54:1: error: stray '\302' in program flistanumarare2.cpp:54:1: error: stray '\240' in program flistanumarare2.cpp:54:1: error: stray '\302' in program flistanumarare2.cpp:54:1: error: stray '\240' in program flistanumarare2.cpp:54:1: error: stray '\302' in program flistanumarare2.cpp:54: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: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:56:1: error: stray '\302' in program if(aux==1) ^ flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:56:1: error: stray '\302' in program flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:56:1: error: stray '\302' in program flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:56:1: error: stray '\302' in program flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:56:1: error: stray '\302' in program flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:56:1: error: stray '\302' in program flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:56:1: error: stray '\302' in program flistanumarare2.cpp:56:1: error: stray '\240' in program flistanumarare2.cpp:57:1: error: stray '\302' in program k++; ^ 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: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:57:1: error: stray '\302' in program flistanumarare2.cpp:57:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program ^ flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:58:1: error: stray '\302' in program flistanumarare2.cpp:58:1: error: stray '\240' in program flistanumarare2.cpp:59:1: error: stray '\302' in program q=q->urm; ^ 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:59:1: error: stray '\302' in program flistanumarare2.cpp:59:1: error: stray '\240' in program flistanumarare2.cpp:60:1: error: stray '\302' in program } ^ flistanumarare2.cpp:60:1: error: stray '\240' in program flistanumarare2.cpp:60:1: error: stray '\302' in program flistanumarare2.cpp:60:1: error: stray '\240' in program flistanumarare2.cpp:60:1: error: stray '\302' in program flistanumarare2.cpp:60:1: error: stray '\240' in program flistanumarare2.cpp:60:1: error: stray '\302' in program flistanumarare2.cpp:60: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:62:1: error: stray '\302' in program p=p->urm; ^ flistanumarare2.cpp:62:1: error: stray '\240' in program flistanumarare2.cpp:62:1: error: stray '\302' in program flistanumarare2.cpp:62:1: error: stray '\240' in program flistanumarare2.cpp:62:1: error: stray '\302' in program flistanumarare2.cpp:62:1: error: stray '\240' in program flistanumarare2.cpp:62:1: error: stray '\302' in program flistanumarare2.cpp:62: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:64:1: error: stray '\302' in program ^ flistanumarare2.cpp:64:1: error: stray '\240' in program flistanumarare2.cpp:64:1: error: stray '\302' in program flistanumarare2.cpp:64:1: error: stray '\240' in program flistanumarare2.cpp:65:1: error: stray '\302' in program return k; ^ 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
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ă.