Detalii evaluare #14795923

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 #14795923 Utilizator Tartareanu George (andi1237657)
Fișier izolate.cpp Dimensiune 902 B
Data încărcării 18 Martie 2019, 19:02 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

izolate.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>

         ^
izolate.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <fstream>

         ^
izolate.cpp:3:1: error: stray '\302' in program
 using namespace std;

 ^
izolate.cpp:3:1: error: stray '\240' in program
izolate.cpp:3:1: error: stray '\302' in program
izolate.cpp:3:1: error: stray '\240' in program
izolate.cpp:5:1: error: stray '\302' in program
 ifstream fin("izolate.in");

 ^
izolate.cpp:5:1: error: stray '\240' in program
izolate.cpp:6:1: error: stray '\302' in program
 ofstream fout("izolate.out");

 ^
izolate.cpp:6:1: error: stray '\240' in program
izolate.cpp:8:1: error: stray '\302' in program
 int n , a[105][105], g[105];

 ^
izolate.cpp:8:1: error: stray '\240' in program
izolate.cpp:8:1: error: stray '\302' in program
izolate.cpp:8:1: error: stray '\240' in program
izolate.cpp:8:1: error: stray '\302' in program
izolate.cpp:8:1: error: stray '\240' in program
izolate.cpp:8:1: error: stray '\302' in program
izolate.cpp:8:1: error: stray '\240' in program
izolate.cpp:10:1: error: stray '\302' in program
 int main()

 ^
izolate.cpp:10:1: error: stray '\240' in program
izolate.cpp:12:1: error: stray '\302' in program
     int i , j;

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

 ^
izolate.cpp:13:1: error: stray '\240' in program
izolate.cpp:13:1: error: stray '\302' in program
izolate.cpp:13:1: error: stray '\240' in program
izolate.cpp:13:1: error: stray '\302' in program
izolate.cpp:13:1: error: stray '\240' in program
izolate.cpp:13:1: error: stray '\302' in program
izolate.cpp:13:1: error: stray '\240' in program
izolate.cpp:13:1: error: stray '\302' in program
izolate.cpp:13:1: error: stray '\240' in program
izolate.cpp:13:1: error: stray '\302' in program
izolate.cpp:13:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
     while(fin >> i >> j)

 ^
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14:1: error: stray '\240' in program
izolate.cpp:14:1: error: stray '\302' in program
izolate.cpp:14: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:15:1: error: stray '\302' in program
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: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
      a[i][j] = a[j][i] = 1;

 ^
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:16:1: error: stray '\302' in program
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:16:1: error: stray '\302' in program
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:16:1: error: stray '\302' in program
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:17:1: error: stray '\302' in program
     }

 ^
izolate.cpp:17:1: error: stray '\240' in program
izolate.cpp:17:1: error: stray '\302' in program
izolate.cpp:17:1: error: stray '\240' in program
izolate.cpp:17:1: error: stray '\302' in program
izolate.cpp:17:1: error: stray '\240' in program
izolate.cpp:17:1: error: stray '\302' in program
izolate.cpp:17:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
     for(int i = 1 ;  i <= n ; i++){

 ^
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:19:1: error: stray '\302' in program
izolate.cpp:19:1: error: stray '\240' in program
izolate.cpp:20:1: error: stray '\302' in program
         g[i] = 0;

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

 ^
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:21:1: error: stray '\302' in program
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:21:1: error: stray '\302' in program
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:21:1: error: stray '\302' in program
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:21:1: error: stray '\302' in program
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:21:1: error: stray '\302' in program
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:21:1: error: stray '\302' in program
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:21:1: error: stray '\302' in program
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:22:1: error: stray '\302' in program
             if(a[i][j] == 1)

 ^
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:22:1: error: stray '\302' in program
izolate.cpp:22:1: error: stray '\240' in program
izolate.cpp:23:1: error: stray '\302' in program
                 g[i] ++;

 ^
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:23:1: error: stray '\302' in program
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:23:1: error: stray '\302' in program
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:23:1: error: stray '\302' in program
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:23:1: error: stray '\302' in program
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:23:1: error: stray '\302' in program
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:23:1: error: stray '\302' in program
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:23:1: error: stray '\302' in program
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: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
     }

 ^
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:24:1: error: stray '\302' in program
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:26:1: error: stray '\302' in program
     int nrv = 0;

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

 ^
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: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: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: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: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
         if(g[i] == 0)

 ^
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: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: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: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: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:29:1: error: stray '\302' in program
                 nrv ++;

 ^
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:29:1: error: stray '\302' in program
izolate.cpp:29:1: error: stray '\240' in program
izolate.cpp:31:1: error: stray '\302' in program
     fout << nrv << " ";

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

 ^
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:32:1: error: stray '\302' in program
izolate.cpp:32:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
         if(g[i] == 0)

 ^
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:33:1: error: stray '\302' in program
izolate.cpp:33:1: error: stray '\240' in program
izolate.cpp:34:1: error: stray '\302' in program
             fout << i << " ";

 ^
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: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: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: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: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: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: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:34:1: error: stray '\302' in program
izolate.cpp:34:1: error: stray '\240' in program
izolate.cpp:36:1: error: stray '\302' in program
     return 0;

 ^
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: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:5:1: error: 'ifstream' does not name a type
 ifstream fin("izolate.in");

 ^
izolate.cpp:6:1: error: 'ofstream' does not name a type
 ofstream fout("izolate.out");

 ^
izolate.cpp: In function 'int main()':
izolate.cpp:13:9: error: 'fin' was not declared in this scope
     fin >> n;

         ^
izolate.cpp:31:9: error: 'fout' was not declared in this scope
     fout << nrv << " ";

         ^

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