Detalii evaluare #5539974

Rezumat problemă

Se dă lista muchiilor unui graf neorientat cu n vârfuri, etichetate de la 1 la n. Să se verifice dacă graful este bipartit.

Detalii

Problema Bipartit1 Operații I/O bipartit1.in/bipartit1.out
Limita timp 0.5 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #5539974 Utilizator Leacul Supararilor (ForceofNature98)
Fișier bipartit1.cpp Dimensiune 1.94 KB
Data încărcării 22 August 2017, 15:35 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

bipartit1.cpp:11:1: error: stray '\302' in program
 {   ifstream f("bipartit1.in");

 ^
bipartit1.cpp:11:1: error: stray '\240' in program
bipartit1.cpp:12:1: error: stray '\302' in program
     int x,y;

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

 ^
bipartit1.cpp:13:1: error: stray '\240' in program
bipartit1.cpp:13:1: error: stray '\302' in program
bipartit1.cpp:13:1: error: stray '\240' in program
bipartit1.cpp:14:1: error: stray '\302' in program
     while(f>>x>>y)

 ^
bipartit1.cpp:14:1: error: stray '\240' in program
bipartit1.cpp:14:1: error: stray '\302' in program
bipartit1.cpp:14:1: error: stray '\240' in program
bipartit1.cpp:15:1: error: stray '\302' in program
         a[x][y]=a[y][x]=1;

 ^
bipartit1.cpp:15:1: error: stray '\240' in program
bipartit1.cpp:15:1: error: stray '\302' in program
bipartit1.cpp:15:1: error: stray '\240' in program
bipartit1.cpp:15:1: error: stray '\302' in program
bipartit1.cpp:15:1: error: stray '\240' in program
bipartit1.cpp:15:1: error: stray '\302' in program
bipartit1.cpp:15:1: error: stray '\240' in program
bipartit1.cpp:16:1: error: stray '\302' in program
      f.close();

 ^
bipartit1.cpp:16:1: error: stray '\240' in program
bipartit1.cpp:16:1: error: stray '\302' in program
bipartit1.cpp:16:1: error: stray '\240' in program
bipartit1.cpp:16:1: error: stray '\302' in program
bipartit1.cpp:16:1: error: stray '\240' in program
bipartit1.cpp:22:1: error: stray '\302' in program
 {    cout<<"Matricea de adiacenta este : "<<endl;

 ^
bipartit1.cpp:22:1: error: stray '\240' in program
bipartit1.cpp:22:1: error: stray '\302' in program
bipartit1.cpp:22:1: error: stray '\240' in program
bipartit1.cpp:23:1: error: stray '\302' in program
      for( int i=1;i<=n;i++)

 ^
bipartit1.cpp:23:1: error: stray '\240' in program
bipartit1.cpp:23:1: error: stray '\302' in program
bipartit1.cpp:23:1: error: stray '\240' in program
bipartit1.cpp:23:1: error: stray '\302' in program
bipartit1.cpp:23:1: error: stray '\240' in program
bipartit1.cpp:24:1: error: stray '\302' in program
         { for(int j=1;j<=n;j++)

 ^
bipartit1.cpp:24:1: error: stray '\240' in program
bipartit1.cpp:24:1: error: stray '\302' in program
bipartit1.cpp:24:1: error: stray '\240' in program
bipartit1.cpp:24:1: error: stray '\302' in program
bipartit1.cpp:24:1: error: stray '\240' in program
bipartit1.cpp:24:1: error: stray '\302' in program
bipartit1.cpp:24:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
               cout<<a[i][j]<<" ";

 ^
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:25:1: error: stray '\302' in program
bipartit1.cpp:25:1: error: stray '\240' in program
bipartit1.cpp:26:1: error: stray '\302' in program
           cout<<endl;

 ^
bipartit1.cpp:26:1: error: stray '\240' in program
bipartit1.cpp:26:1: error: stray '\302' in program
bipartit1.cpp:26:1: error: stray '\240' in program
bipartit1.cpp:26:1: error: stray '\302' in program
bipartit1.cpp:26:1: error: stray '\240' in program
bipartit1.cpp:26:1: error: stray '\302' in program
bipartit1.cpp:26:1: error: stray '\240' in program
bipartit1.cpp:26:1: error: stray '\302' in program
bipartit1.cpp:26:1: error: stray '\240' in program
bipartit1.cpp:27:1: error: stray '\302' in program
         }

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

 ^
bipartit1.cpp:33:1: error: stray '\240' in program
bipartit1.cpp:34:1: error: stray '\302' in program
       if(v[i]==0)

 ^
bipartit1.cpp:34:1: error: stray '\240' in program
bipartit1.cpp:34:1: error: stray '\302' in program
bipartit1.cpp:34:1: error: stray '\240' in program
bipartit1.cpp:34:1: error: stray '\302' in program
bipartit1.cpp:34:1: error: stray '\240' in program
bipartit1.cpp:35:1: error: stray '\302' in program
          return i; // primul nod nevizitat

 ^
bipartit1.cpp:35:1: error: stray '\240' in program
bipartit1.cpp:35:1: error: stray '\302' in program
bipartit1.cpp:35:1: error: stray '\240' in program
bipartit1.cpp:35:1: error: stray '\302' in program
bipartit1.cpp:35:1: error: stray '\240' in program
bipartit1.cpp:35:1: error: stray '\302' in program
bipartit1.cpp:35:1: error: stray '\240' in program
bipartit1.cpp:35:1: error: stray '\302' in program
bipartit1.cpp:35:1: error: stray '\240' in program
bipartit1.cpp:36:1: error: stray '\302' in program
       return 0;   // nu mai exista noduri nevizitate

 ^
bipartit1.cpp:36:1: error: stray '\240' in program
bipartit1.cpp:36:1: error: stray '\302' in program
bipartit1.cpp:36:1: error: stray '\240' in program
bipartit1.cpp:36:1: error: stray '\302' in program
bipartit1.cpp:36:1: error: stray '\240' in program
bipartit1.cpp:36:1: error: stray '\302' in program
bipartit1.cpp:36:1: error: stray '\240' in program
bipartit1.cpp:42:1: error: stray '\302' in program
     { comp++;

 ^
bipartit1.cpp:42:1: error: stray '\240' in program
bipartit1.cpp:42:1: error: stray '\302' in program
bipartit1.cpp:42:1: error: stray '\240' in program
bipartit1.cpp:43:1: error: stray '\302' in program
       v[ns]=1;

 ^
bipartit1.cpp:43:1: error: stray '\240' in program
bipartit1.cpp:43:1: error: stray '\302' in program
bipartit1.cpp:43:1: error: stray '\240' in program
bipartit1.cpp:43:1: error: stray '\302' in program
bipartit1.cpp:43:1: error: stray '\240' in program
bipartit1.cpp:44:1: error: stray '\302' in program
       prim=ultim=1;

 ^
bipartit1.cpp:44:1: error: stray '\240' in program
bipartit1.cpp:44:1: error: stray '\302' in program
bipartit1.cpp:44:1: error: stray '\240' in program
bipartit1.cpp:44:1: error: stray '\302' in program
bipartit1.cpp:44:1: error: stray '\240' in program
bipartit1.cpp:45:1: error: stray '\302' in program
       c[ultim]=ns;

 ^
bipartit1.cpp:45:1: error: stray '\240' in program
bipartit1.cpp:45:1: error: stray '\302' in program
bipartit1.cpp:45:1: error: stray '\240' in program
bipartit1.cpp:45:1: error: stray '\302' in program
bipartit1.cpp:45:1: error: stray '\240' in program
bipartit1.cpp:46:1: error: stray '\302' in program
       while(prim<=ultim)

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

 ^
bipartit1.cpp:47:1: error: stray '\240' in program
bipartit1.cpp:47:1: error: stray '\302' in program
bipartit1.cpp:47:1: error: stray '\240' in program
bipartit1.cpp:47:1: error: stray '\302' in program
bipartit1.cpp:47:1: error: stray '\240' in program
bipartit1.cpp:47:1: error: stray '\302' in program
bipartit1.cpp:47:1: error: stray '\240' in program
bipartit1.cpp:47:1: error: stray '\302' in program
bipartit1.cpp:47:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
              if(a[c[prim]][i]==1)

 ^
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:48:1: error: stray '\302' in program
bipartit1.cpp:48:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
                if(v[i]==0)

 ^
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:49:1: error: stray '\302' in program
bipartit1.cpp:49:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
                  { ultim++;

 ^
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:50:1: error: stray '\302' in program
bipartit1.cpp:50:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
                    c[ultim]=i;

 ^
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:51:1: error: stray '\302' in program
bipartit1.cpp:51:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
                    if (v[c[prim]]==1)

 ^
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:52:1: error: stray '\302' in program
bipartit1.cpp:52:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
                        v[i]=2;

 ^
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:53:1: error: stray '\302' in program
bipartit1.cpp:53:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
                    else

 ^
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:54:1: error: stray '\302' in program
bipartit1.cpp:54:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
                        v[i]=1;

 ^
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:55:1: error: stray '\302' in program
bipartit1.cpp:55:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
                  }

 ^
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:56:1: error: stray '\302' in program
bipartit1.cpp:56:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
              prim++;

 ^
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:57:1: error: stray '\302' in program
bipartit1.cpp:57:1: error: stray '\240' in program
bipartit1.cpp:58:1: error: stray '\302' in program
           }

 ^
bipartit1.cpp:58:1: error: stray '\240' in program
bipartit1.cpp:58:1: error: stray '\302' in program
bipartit1.cpp:58:1: error: stray '\240' in program
bipartit1.cpp:58:1: error: stray '\302' in program
bipartit1.cpp:58:1: error: stray '\240' in program
bipartit1.cpp:58:1: error: stray '\302' in program
bipartit1.cpp:58:1: error: stray '\240' in program
bipartit1.cpp:58:1: error: stray '\302' in program
bipartit1.cpp:58:1: error: stray '\240' in program
bipartit1.cpp:59:1: error: stray '\302' in program
     }

 ^
bipartit1.cpp:59:1: error: stray '\240' in program
bipartit1.cpp:59:1: error: stray '\302' in program
bipartit1.cpp:59:1: error: stray '\240' in program
bipartit1.cpp:65:1: error: stray '\302' in program
     for(int x=1;x<n;x++)

 ^
bipartit1.cpp:65:1: error: stray '\240' in program
bipartit1.cpp:65:1: error: stray '\302' in program
bipartit1.cpp:65:1: error: stray '\240' in program
bipartit1.cpp:66:1: error: stray '\302' in program
         for(int y=x+1;y<=n;y++)

 ^
bipartit1.cpp:66:1: error: stray '\240' in program
bipartit1.cpp:66:1: error: stray '\302' in program
bipartit1.cpp:66:1: error: stray '\240' in program
bipartit1.cpp:66:1: error: stray '\302' in program
bipartit1.cpp:66:1: error: stray '\240' in program
bipartit1.cpp:66:1: error: stray '\302' in program
bipartit1.cpp:66:1: error: stray '\240' in program
bipartit1.cpp:67:1: error: stray '\302' in program
             if(v[x]==v[y])

 ^
bipartit1.cpp:67:1: error: stray '\240' in program
bipartit1.cpp:67:1: error: stray '\302' in program
bipartit1.cpp:67:1: error: stray '\240' in program
bipartit1.cpp:67:1: error: stray '\302' in program
bipartit1.cpp:67:1: error: stray '\240' in program
bipartit1.cpp:67:1: error: stray '\302' in program
bipartit1.cpp:67:1: error: stray '\240' in program
bipartit1.cpp:67:1: error: stray '\302' in program
bipartit1.cpp:67:1: error: stray '\240' in program
bipartit1.cpp:67:1: error: stray '\302' in program
bipartit1.cpp:67:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
                 if(a[x][y]==1)

 ^
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:68:1: error: stray '\302' in program
bipartit1.cpp:68:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
                    return 0;

 ^
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:69:1: error: stray '\302' in program
bipartit1.cpp:69:1: error: stray '\240' in program
bipartit1.cpp:70:1: error: stray '\302' in program
     return 1;

 ^
bipartit1.cpp:70:1: error: stray '\240' in program
bipartit1.cpp:70:1: error: stray '\302' in program
bipartit1.cpp:70:1: error: stray '\240' in program
bipartit1.cpp:77:1: error: stray '\302' in program
   afisare(a,n);

 ^
bipartit1.cpp:77:1: error: stray '\240' in program
bipartit1.cpp:78:1: error: stray '\302' in program
   ns=1;

 ^
bipartit1.cpp:78:1: error: stray '\240' in program
bipartit1.cpp:79:1: error: stray '\302' in program
   parcurgere_latime(a,n,ns);

 ^
bipartit1.cpp:79:1: error: stray '\240' in program
bipartit1.cpp:80:1: error: stray '\302' in program
   if (bipartit(v,n))

 ^
bipartit1.cpp:80:1: error: stray '\240' in program
bipartit1.cpp:81:1: error: stray '\302' in program
     g<<"Graf BIPARTIT! ";

 ^
bipartit1.cpp:81:1: error: stray '\240' in program
bipartit1.cpp:81:1: error: stray '\302' in program
bipartit1.cpp:81:1: error: stray '\240' in program
bipartit1.cpp:82:1: error: stray '\302' in program
   else

 ^
bipartit1.cpp:82:1: error: stray '\240' in program
bipartit1.cpp:83:1: error: stray '\302' in program
     g<<"NU";

 ^
bipartit1.cpp:83:1: error: stray '\240' in program
bipartit1.cpp:83:1: error: stray '\302' in program
bipartit1.cpp:83: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 Bipartit1 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ă.