Detalii evaluare #13453299

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 #13453299 Utilizator Voicu Andrei Daniel (VoicuAndreiDaniel)
Fișier flistanumarare2.cpp Dimensiune 688 B
Data încărcării 22 Ianuarie 2019, 19:08 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

flistanumarare2.cpp:41:2: error: stray '\302' in program
    int k=0;

  ^
flistanumarare2.cpp:41:2: error: stray '\240' in program
flistanumarare2.cpp:43:2: error: stray '\302' in program
   

  ^
flistanumarare2.cpp:43:2: error: stray '\240' in program
flistanumarare2.cpp:45:2: error: stray '\302' in program
    while(p->urm)

  ^
flistanumarare2.cpp:45:2: error: stray '\240' in program
flistanumarare2.cpp:47:2: error: stray '\302' in program
      {

  ^
flistanumarare2.cpp:47:2: error: stray '\240' in program
flistanumarare2.cpp:47:2: error: stray '\302' in program
flistanumarare2.cpp:47:2: error: stray '\240' in program
flistanumarare2.cpp:49:2: error: stray '\302' in program
         int x=p->info;

  ^
flistanumarare2.cpp:49:2: error: stray '\240' in program
flistanumarare2.cpp:49:2: error: stray '\302' in program
flistanumarare2.cpp:49:2: error: stray '\240' in program
flistanumarare2.cpp:49:2: error: stray '\302' in program
flistanumarare2.cpp:49:2: error: stray '\240' in program
flistanumarare2.cpp:49:2: error: stray '\302' in program
flistanumarare2.cpp:49:2: error: stray '\240' in program
flistanumarare2.cpp:51:2: error: stray '\302' in program
         nod *q=p->urm;

  ^
flistanumarare2.cpp:51:2: error: stray '\240' in program
flistanumarare2.cpp:51:2: error: stray '\302' in program
flistanumarare2.cpp:51:2: error: stray '\240' in program
flistanumarare2.cpp:51:2: error: stray '\302' in program
flistanumarare2.cpp:51:2: error: stray '\240' in program
flistanumarare2.cpp:51:2: error: stray '\302' in program
flistanumarare2.cpp:51:2: error: stray '\240' in program
flistanumarare2.cpp:53:2: error: stray '\302' in program
         while(q)

  ^
flistanumarare2.cpp:53:2: error: stray '\240' in program
flistanumarare2.cpp:53:2: error: stray '\302' in program
flistanumarare2.cpp:53:2: error: stray '\240' in program
flistanumarare2.cpp:53:2: error: stray '\302' in program
flistanumarare2.cpp:53:2: error: stray '\240' in program
flistanumarare2.cpp:53:2: error: stray '\302' in program
flistanumarare2.cpp:53:2: error: stray '\240' in program
flistanumarare2.cpp:55:2: error: stray '\302' in program
          {

  ^
flistanumarare2.cpp:55:2: error: stray '\240' in program
flistanumarare2.cpp:55:2: error: stray '\302' in program
flistanumarare2.cpp:55:2: error: stray '\240' in program
flistanumarare2.cpp:55:2: error: stray '\302' in program
flistanumarare2.cpp:55:2: error: stray '\240' in program
flistanumarare2.cpp:55:2: error: stray '\302' in program
flistanumarare2.cpp:55:2: error: stray '\240' in program
flistanumarare2.cpp:57:2: error: stray '\302' in program
          int aux=x;

  ^
flistanumarare2.cpp:57:2: error: stray '\240' in program
flistanumarare2.cpp:57:2: error: stray '\302' in program
flistanumarare2.cpp:57:2: error: stray '\240' in program
flistanumarare2.cpp:57:2: error: stray '\302' in program
flistanumarare2.cpp:57:2: error: stray '\240' in program
flistanumarare2.cpp:57:2: error: stray '\302' in program
flistanumarare2.cpp:57:2: error: stray '\240' in program
flistanumarare2.cpp:59:2: error: stray '\302' in program
          int y=q->info;

  ^
flistanumarare2.cpp:59:2: error: stray '\240' in program
flistanumarare2.cpp:59:2: error: stray '\302' in program
flistanumarare2.cpp:59:2: error: stray '\240' in program
flistanumarare2.cpp:59:2: error: stray '\302' in program
flistanumarare2.cpp:59:2: error: stray '\240' in program
flistanumarare2.cpp:59:2: error: stray '\302' in program
flistanumarare2.cpp:59:2: error: stray '\240' in program
flistanumarare2.cpp:61:2: error: stray '\302' in program
           

  ^
flistanumarare2.cpp:61:2: error: stray '\240' in program
flistanumarare2.cpp:61:2: error: stray '\302' in program
flistanumarare2.cpp:61:2: error: stray '\240' in program
flistanumarare2.cpp:61:2: error: stray '\302' in program
flistanumarare2.cpp:61:2: error: stray '\240' in program
flistanumarare2.cpp:61:2: error: stray '\302' in program
flistanumarare2.cpp:61:2: error: stray '\240' in program
flistanumarare2.cpp:61:2: error: stray '\302' in program
flistanumarare2.cpp:61:2: error: stray '\240' in program
flistanumarare2.cpp:63:2: error: stray '\302' in program
             while(aux!=y)

  ^
flistanumarare2.cpp:63:2: error: stray '\240' in program
flistanumarare2.cpp:63:2: error: stray '\302' in program
flistanumarare2.cpp:63:2: error: stray '\240' in program
flistanumarare2.cpp:63:2: error: stray '\302' in program
flistanumarare2.cpp:63:2: error: stray '\240' in program
flistanumarare2.cpp:63:2: error: stray '\302' in program
flistanumarare2.cpp:63:2: error: stray '\240' in program
flistanumarare2.cpp:63:2: error: stray '\302' in program
flistanumarare2.cpp:63:2: error: stray '\240' in program
flistanumarare2.cpp:63:2: error: stray '\302' in program
flistanumarare2.cpp:63:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
               if(aux>y)  

  ^
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:65:2: error: stray '\302' in program
flistanumarare2.cpp:65:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
                aux=aux-y;

  ^
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:67:2: error: stray '\302' in program
flistanumarare2.cpp:67:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
               else

  ^
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:69:2: error: stray '\302' in program
flistanumarare2.cpp:69:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
                y=y-aux;

  ^
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:71:2: error: stray '\302' in program
flistanumarare2.cpp:71:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
               

  ^
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:73:2: error: stray '\302' in program
flistanumarare2.cpp:73:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
               if(aux==1)

  ^
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:75:2: error: stray '\302' in program
flistanumarare2.cpp:75:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
                k++;  

  ^
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:77:2: error: stray '\302' in program
flistanumarare2.cpp:77:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
               

  ^
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:79:2: error: stray '\302' in program
flistanumarare2.cpp:79:2: error: stray '\240' in program
flistanumarare2.cpp:81:2: error: stray '\302' in program
           q=q->urm;

  ^
flistanumarare2.cpp:81:2: error: stray '\240' in program
flistanumarare2.cpp:81:2: error: stray '\302' in program
flistanumarare2.cpp:81:2: error: stray '\240' in program
flistanumarare2.cpp:81:2: error: stray '\302' in program
flistanumarare2.cpp:81:2: error: stray '\240' in program
flistanumarare2.cpp:81:2: error: stray '\302' in program
flistanumarare2.cpp:81:2: error: stray '\240' in program
flistanumarare2.cpp:81:2: error: stray '\302' in program
flistanumarare2.cpp:81:2: error: stray '\240' in program
flistanumarare2.cpp:83:2: error: stray '\302' in program
         }

  ^
flistanumarare2.cpp:83:2: error: stray '\240' in program
flistanumarare2.cpp:83:2: error: stray '\302' in program
flistanumarare2.cpp:83:2: error: stray '\240' in program
flistanumarare2.cpp:83:2: error: stray '\302' in program
flistanumarare2.cpp:83:2: error: stray '\240' in program
flistanumarare2.cpp:83:2: error: stray '\302' in program
flistanumarare2.cpp:83:2: error: stray '\240' in program
flistanumarare2.cpp:85:2: error: stray '\302' in program
       

  ^
flistanumarare2.cpp:85:2: error: stray '\240' in program
flistanumarare2.cpp:85:2: error: stray '\302' in program
flistanumarare2.cpp:85:2: error: stray '\240' in program
flistanumarare2.cpp:85:2: error: stray '\302' in program
flistanumarare2.cpp:85:2: error: stray '\240' in program
flistanumarare2.cpp:87:2: error: stray '\302' in program
          p=p->urm;

  ^
flistanumarare2.cpp:87:2: error: stray '\240' in program
flistanumarare2.cpp:87:2: error: stray '\302' in program
flistanumarare2.cpp:87:2: error: stray '\240' in program
flistanumarare2.cpp:87:2: error: stray '\302' in program
flistanumarare2.cpp:87:2: error: stray '\240' in program
flistanumarare2.cpp:87:2: error: stray '\302' in program
flistanumarare2.cpp:87:2: error: stray '\240' in program
flistanumarare2.cpp:89:2: error: stray '\302' in program
      }

  ^
flistanumarare2.cpp:89:2: error: stray '\240' in program
flistanumarare2.cpp:89:2: error: stray '\302' in program
flistanumarare2.cpp:89:2: error: stray '\240' in program
flistanumarare2.cpp:91:2: error: stray '\302' in program
     

  ^
flistanumarare2.cpp:91:2: error: stray '\240' in program
flistanumarare2.cpp:91:2: error: stray '\302' in program
flistanumarare2.cpp:91:2: error: stray '\240' in program
flistanumarare2.cpp:93:2: error: stray '\302' in program
          return k;

  ^
flistanumarare2.cpp:93:2: error: stray '\240' in program
flistanumarare2.cpp:93:2: error: stray '\302' in program
flistanumarare2.cpp:93:2: error: stray '\240' in program
flistanumarare2.cpp:93:2: error: stray '\302' in program
flistanumarare2.cpp:93:2: error: stray '\240' in program
flistanumarare2.cpp:93:2: error: stray '\302' in program
flistanumarare2.cpp:93:2: 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ă.