#430
Izolate
Se dă lista muchiilor unui graf neorientat. Să se afișeze vârfurile izolate ale grafului.
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 | |
Fișier | izolate.cpp | Dimensiune | 904 B |
Data încărcării | 22 Noiembrie 2024, 13:19 | Scor / rezultat | Eroare de 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
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Izolate face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
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ă.