Detalii evaluare #23218371

Rezumat problemă

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ă.

Detalii

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 halmaciu delia ioana (delia_halmaciu)
Fișier flistanumarare2.cpp Dimensiune 659 B
Data încărcării 02 Iunie 2020, 00:08 Scor / rezultat Eroare de compilare

Evaluare


Mesaj 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

Cum funcționează evaluarea?

www.pbinfo.ro permite evaluarea a două tipuri de probleme:

  • probleme la care rezolvarea presupune scrierea unui program complet
  • probleme la care rezolvarea presupune scrierea unei secvențe de program - câteva instrucțiuni, o listă de declarații, una sau mai multe funcții, etc.

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:

  • Soluția propusă de tine este inclusă în programul suport, apoi acesta este compilat. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Datorită existenței programului suport, la compilare pot să apară erori sau avertismente care să nu se refere la instrucțiunile scrise de tine, dar care sunt datorate faptului că soluția ta nu este corectă.
  • Dacă programul suport a fost compilat, executabilul obținut va fi rulat, furnizându-i-se unul sau mai multe seturi de date de intrare, în concordanță cu restricțiile specifice problemei. Pentru fiecare set de date se obține un anumit punctaj, în raport cu corectitudinea soluției tale.

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ă.