Detalii evaluare #54219672

Rezumat problemă

Se dă lista muchiilor unui graf neorientat. Să se afișeze vârfurile izolate ale grafului.

Detalii

Problema Izolate Operații I/O izolate.in/izolate.out
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #54219672 Utilizator Pop David (PopDavidMihai)
Fișier izolate.cpp Dimensiune 904 B
Data încărcării 22 Noiembrie 2024, 13:19 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

izolate.cpp:15:1: error: stray '\302' in program
     citire();

 ^
izolate.cpp:15:1: error: stray '\240' in program
izolate.cpp:15:1: error: stray '\302' in program
izolate.cpp:15:1: error: stray '\240' in program
izolate.cpp:16:1: error: stray '\302' in program
     afis(n, A);

 ^
izolate.cpp:16:1: error: stray '\240' in program
izolate.cpp:16:1: error: stray '\302' in program
izolate.cpp:16:1: error: stray '\240' in program
izolate.cpp:21:1: error: stray '\302' in program
     int x, y;

 ^
izolate.cpp:21:1: error: stray '\240' in program
izolate.cpp:21:1: error: stray '\302' in program
izolate.cpp:21:1: error: stray '\240' in program
izolate.cpp:23:1: error: stray '\302' in program
     fin >> n;

 ^
izolate.cpp:23:1: error: stray '\240' in program
izolate.cpp:23:1: error: stray '\302' in program
izolate.cpp:23:1: error: stray '\240' in program
izolate.cpp:24:1: error: stray '\302' in program
     while(fin >> x >> y)

 ^
izolate.cpp:24:1: error: stray '\240' in program
izolate.cpp:24:1: error: stray '\302' in program
izolate.cpp:24:1: error: stray '\240' in program
izolate.cpp:25:1: error: stray '\302' in program
     {

 ^
izolate.cpp:25:1: error: stray '\240' in program
izolate.cpp:25:1: error: stray '\302' in program
izolate.cpp:25:1: error: stray '\240' in program
izolate.cpp:27:1: error: stray '\302' in program
         A[x][y] = A[y][x] = 1;

 ^
izolate.cpp:27:1: error: stray '\240' in program
izolate.cpp:27:1: error: stray '\302' in program
izolate.cpp:27:1: error: stray '\240' in program
izolate.cpp:27:1: error: stray '\302' in program
izolate.cpp:27:1: error: stray '\240' in program
izolate.cpp:27:1: error: stray '\302' in program
izolate.cpp:27:1: error: stray '\240' in program
izolate.cpp:28:1: error: stray '\302' in program
     }

 ^
izolate.cpp:28:1: error: stray '\240' in program
izolate.cpp:28:1: error: stray '\302' in program
izolate.cpp:28:1: error: stray '\240' in program
izolate.cpp:34:1: error: stray '\302' in program
     int sum  = 0, cnt = 0;

 ^
izolate.cpp:34:1: error: stray '\240' in program
izolate.cpp:34:1: error: stray '\302' in program
izolate.cpp:34:1: error: stray '\240' in program
izolate.cpp:34:1: error: stray '\302' in program
izolate.cpp:34:1: error: stray '\240' in program
izolate.cpp:35:1: error: stray '\302' in program
      for(i = 1; i <= n; i++)

 ^
izolate.cpp:35:1: error: stray '\240' in program
izolate.cpp:35:1: error: stray '\302' in program
izolate.cpp:35:1: error: stray '\240' in program
izolate.cpp:35:1: error: stray '\302' in program
izolate.cpp:35:1: error: stray '\240' in program
izolate.cpp:36:1: error: stray '\302' in program
      {

 ^
izolate.cpp:36:1: error: stray '\240' in program
izolate.cpp:36:1: error: stray '\302' in program
izolate.cpp:36:1: error: stray '\240' in program
izolate.cpp:36:1: error: stray '\302' in program
izolate.cpp:36:1: error: stray '\240' in program
izolate.cpp:37:1: error: stray '\302' in program
          sum = 0;

 ^
izolate.cpp:37:1: error: stray '\240' in program
izolate.cpp:37:1: error: stray '\302' in program
izolate.cpp:37:1: error: stray '\240' in program
izolate.cpp:37:1: error: stray '\302' in program
izolate.cpp:37:1: error: stray '\240' in program
izolate.cpp:37:1: error: stray '\302' in program
izolate.cpp:37:1: error: stray '\240' in program
izolate.cpp:37:1: error: stray '\302' in program
izolate.cpp:37:1: error: stray '\240' in program
izolate.cpp:38:1: error: stray '\302' in program
          for(j = 1; j <= n; j++)

 ^
izolate.cpp:38:1: error: stray '\240' in program
izolate.cpp:38:1: error: stray '\302' in program
izolate.cpp:38:1: error: stray '\240' in program
izolate.cpp:38:1: error: stray '\302' in program
izolate.cpp:38:1: error: stray '\240' in program
izolate.cpp:38:1: error: stray '\302' in program
izolate.cpp:38:1: error: stray '\240' in program
izolate.cpp:38:1: error: stray '\302' in program
izolate.cpp:38:1: error: stray '\240' in program
izolate.cpp:39:1: error: stray '\302' in program
             sum += A[i][j];

 ^
izolate.cpp:39:1: error: stray '\240' in program
izolate.cpp:39:1: error: stray '\302' in program
izolate.cpp:39:1: error: stray '\240' in program
izolate.cpp:39:1: error: stray '\302' in program
izolate.cpp:39:1: error: stray '\240' in program
izolate.cpp:39:1: error: stray '\302' in program
izolate.cpp:39:1: error: stray '\240' in program
izolate.cpp:39:1: error: stray '\302' in program
izolate.cpp:39:1: error: stray '\240' in program
izolate.cpp:39:1: error: stray '\302' in program
izolate.cpp:39:1: error: stray '\240' in program
izolate.cpp:43:1: error: stray '\302' in program
          if(sum == 0)

 ^
izolate.cpp:43:1: error: stray '\240' in program
izolate.cpp:43:1: error: stray '\302' in program
izolate.cpp:43:1: error: stray '\240' in program
izolate.cpp:43:1: error: stray '\302' in program
izolate.cpp:43:1: error: stray '\240' in program
izolate.cpp:43:1: error: stray '\302' in program
izolate.cpp:43:1: error: stray '\240' in program
izolate.cpp:43:1: error: stray '\302' in program
izolate.cpp:43:1: error: stray '\240' in program
izolate.cpp:44:1: error: stray '\302' in program
          {

 ^
izolate.cpp:44:1: error: stray '\240' in program
izolate.cpp:44:1: error: stray '\302' in program
izolate.cpp:44:1: error: stray '\240' in program
izolate.cpp:44:1: error: stray '\302' in program
izolate.cpp:44:1: error: stray '\240' in program
izolate.cpp:44:1: error: stray '\302' in program
izolate.cpp:44:1: error: stray '\240' in program
izolate.cpp:44:1: error: stray '\302' in program
izolate.cpp:44:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
              cnt++;

 ^
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:45:1: error: stray '\302' in program
izolate.cpp:45:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
              v[++q] = i;

 ^
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:46:1: error: stray '\302' in program
izolate.cpp:46:1: error: stray '\240' in program
izolate.cpp:47:1: error: stray '\302' in program
          }

 ^
izolate.cpp:47:1: error: stray '\240' in program
izolate.cpp:47:1: error: stray '\302' in program
izolate.cpp:47:1: error: stray '\240' in program
izolate.cpp:47:1: error: stray '\302' in program
izolate.cpp:47:1: error: stray '\240' in program
izolate.cpp:47:1: error: stray '\302' in program
izolate.cpp:47:1: error: stray '\240' in program
izolate.cpp:47:1: error: stray '\302' in program
izolate.cpp:47:1: error: stray '\240' in program
izolate.cpp:48:1: error: stray '\302' in program
      }

 ^
izolate.cpp:48:1: error: stray '\240' in program
izolate.cpp:48:1: error: stray '\302' in program
izolate.cpp:48:1: error: stray '\240' in program
izolate.cpp:48:1: error: stray '\302' in program
izolate.cpp:48:1: error: stray '\240' in program
izolate.cpp:50:1: error: stray '\302' in program
      fout << cnt << ' ';

 ^
izolate.cpp:50:1: error: stray '\240' in program
izolate.cpp:50:1: error: stray '\302' in program
izolate.cpp:50:1: error: stray '\240' in program
izolate.cpp:50:1: error: stray '\302' in program
izolate.cpp:50:1: error: stray '\240' in program
izolate.cpp:51:1: error: stray '\302' in program
      for(i = 1; i <= q; i++)

 ^
izolate.cpp:51:1: error: stray '\240' in program
izolate.cpp:51:1: error: stray '\302' in program
izolate.cpp:51:1: error: stray '\240' in program
izolate.cpp:51:1: error: stray '\302' in program
izolate.cpp:51:1: error: stray '\240' in program
izolate.cpp:52:1: error: stray '\302' in program
         fout << v[i] << ' ';

 ^
izolate.cpp:52:1: error: stray '\240' in program
izolate.cpp:52:1: error: stray '\302' in program
izolate.cpp:52:1: error: stray '\240' in program
izolate.cpp:52:1: error: stray '\302' in program
izolate.cpp:52:1: error: stray '\240' in program
izolate.cpp:52:1: error: stray '\302' in program
izolate.cpp:52: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 Izolate face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:

  • Programul sursă este compilat folosind compilatorul corespunzător. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Dacă programul 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ă.