#466
GenGraf
Se dă un număr natural n
. Construiți toate grafurile neorientate cu n
vârfuri.
Problema | GenGraf | Operații I/O |
gengraf.in /gengraf.out
|
---|---|---|---|
Limita timp | 1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54126641 | Utilizator | |
Fișier | gengraf.cpp | Dimensiune | 1022 B |
Data încărcării | 20 Noiembrie 2024, 12:01 | Scor / rezultat | Eroare de compilare |
gengraf.cpp:10:5: error: stray '\302' in program int p=1,i,j; ^ gengraf.cpp:10:5: error: stray '\240' in program gengraf.cpp:10:5: error: stray '\302' in program gengraf.cpp:10:5: error: stray '\240' in program gengraf.cpp:11:5: error: stray '\302' in program for(i=1; i<=n; i++) ^ gengraf.cpp:11:5: error: stray '\240' in program gengraf.cpp:11:5: error: stray '\302' in program gengraf.cpp:11:5: error: stray '\240' in program gengraf.cpp:12:9: error: stray '\302' in program for(j=i+1; j<=n; j++) ^ gengraf.cpp:12:9: error: stray '\240' in program gengraf.cpp:12:9: error: stray '\302' in program gengraf.cpp:12:9: error: stray '\240' in program gengraf.cpp:12:9: error: stray '\302' in program gengraf.cpp:12:9: error: stray '\240' in program gengraf.cpp:12:9: error: stray '\302' in program gengraf.cpp:12:9: error: stray '\240' in program gengraf.cpp:13:13: error: stray '\302' in program a[i][j]=a[j][i]=st[p++]; ^ gengraf.cpp:13:13: error: stray '\240' in program gengraf.cpp:13:13: error: stray '\302' in program gengraf.cpp:13:13: error: stray '\240' in program gengraf.cpp:13:13: error: stray '\302' in program gengraf.cpp:13:13: error: stray '\240' in program gengraf.cpp:13:13: error: stray '\302' in program gengraf.cpp:13:13: error: stray '\240' in program gengraf.cpp:14:5: error: stray '\302' in program for(i=1; i<=n; i++) ^ gengraf.cpp:14:5: error: stray '\240' in program gengraf.cpp:14:5: error: stray '\302' in program gengraf.cpp:14:5: error: stray '\240' in program gengraf.cpp:15:9: error: stray '\302' in program ^ gengraf.cpp:15:9: error: stray '\240' in program gengraf.cpp:15:9: error: stray '\302' in program gengraf.cpp:15:9: error: stray '\240' in program gengraf.cpp:17:9: error: stray '\302' in program for(j=1; j<=n; j++) ^ gengraf.cpp:17:9: error: stray '\240' in program gengraf.cpp:17:9: error: stray '\302' in program gengraf.cpp:17:9: error: stray '\240' in program gengraf.cpp:17:9: error: stray '\302' in program gengraf.cpp:17:9: error: stray '\240' in program gengraf.cpp:17:9: error: stray '\302' in program gengraf.cpp:17:9: error: stray '\240' in program gengraf.cpp:18:13: error: stray '\302' in program fout<<a[i][j]<<" "; ^ gengraf.cpp:18:13: error: stray '\240' in program gengraf.cpp:18:13: error: stray '\302' in program gengraf.cpp:18:13: error: stray '\240' in program gengraf.cpp:18:13: error: stray '\302' in program gengraf.cpp:18:13: error: stray '\240' in program gengraf.cpp:18:13: error: stray '\302' in program gengraf.cpp:18:13: error: stray '\240' in program gengraf.cpp:18:13: error: stray '\302' in program gengraf.cpp:18:13: error: stray '\240' in program gengraf.cpp:18:13: error: stray '\302' in program gengraf.cpp:18:13: error: stray '\240' in program gengraf.cpp:19:9: error: stray '\302' in program fout<<'\n'; ^ gengraf.cpp:19:9: error: stray '\240' in program gengraf.cpp:19:9: error: stray '\302' in program gengraf.cpp:19:9: error: stray '\240' in program gengraf.cpp:19:9: error: stray '\302' in program gengraf.cpp:19:9: error: stray '\240' in program gengraf.cpp:19:9: error: stray '\302' in program gengraf.cpp:19:9: error: stray '\240' in program gengraf.cpp:20:9: error: stray '\302' in program ^ gengraf.cpp:20:9: error: stray '\240' in program gengraf.cpp:20:9: error: stray '\302' in program gengraf.cpp:20:9: error: stray '\240' in program gengraf.cpp:22:5: error: stray '\302' in program fout<<'\n'; ^ gengraf.cpp:22:5: error: stray '\240' in program gengraf.cpp:22:5: error: stray '\302' in program gengraf.cpp:22:5: error: stray '\240' in program gengraf.cpp:28:5: error: stray '\302' in program for(int i=0; i<=1; i++) ^ gengraf.cpp:28:5: error: stray '\240' in program gengraf.cpp:28:5: error: stray '\302' in program gengraf.cpp:28:5: error: stray '\240' in program gengraf.cpp:29:9: error: stray '\302' in program ^ gengraf.cpp:29:9: error: stray '\240' in program gengraf.cpp:29:9: error: stray '\302' in program gengraf.cpp:29:9: error: stray '\240' in program gengraf.cpp:31:9: error: stray '\302' in program st[k]=i; ^ gengraf.cpp:31:9: error: stray '\240' in program gengraf.cpp:31:9: error: stray '\302' in program gengraf.cpp:31:9: error: stray '\240' in program gengraf.cpp:31:9: error: stray '\302' in program gengraf.cpp:31:9: error: stray '\240' in program gengraf.cpp:31:9: error: stray '\302' in program gengraf.cpp:31:9: error: stray '\240' in program gengraf.cpp:32:9: error: stray '\302' in program if(k==n*(n-1)/2) ^ gengraf.cpp:32:9: error: stray '\240' in program gengraf.cpp:32:9: error: stray '\302' in program gengraf.cpp:32:9: error: stray '\240' in program gengraf.cpp:32:9: error: stray '\302' in program gengraf.cpp:32:9: error: stray '\240' in program gengraf.cpp:32:9: error: stray '\302' in program gengraf.cpp:32:9: error: stray '\240' in program gengraf.cpp:32:9: error: stray '\302' in program gengraf.cpp:32:9: error: stray '\240' in program gengraf.cpp:32:9: error: stray '\302' in program gengraf.cpp:32:9: error: stray '\240' in program gengraf.cpp:33:13: error: stray '\302' in program afis(k); ^ gengraf.cpp:33:13: error: stray '\240' in program gengraf.cpp:33:13: error: stray '\302' in program gengraf.cpp:33:13: error: stray '\240' in program gengraf.cpp:33:13: error: stray '\302' in program gengraf.cpp:33:13: error: stray '\240' in program gengraf.cpp:33:13: error: stray '\302' in program gengraf.cpp:33:13: error: stray '\240' in program gengraf.cpp:33:13: error: stray '\302' in program gengraf.cpp:33:13: error: stray '\240' in program gengraf.cpp:33:13: error: stray '\302' in program gengraf.cpp:33:13: error: stray '\240' in program gengraf.cpp:34:9: error: stray '\302' in program else ^ gengraf.cpp:34:9: error: stray '\240' in program gengraf.cpp:34:9: error: stray '\302' in program gengraf.cpp:34:9: error: stray '\240' in program gengraf.cpp:34:9: error: stray '\302' in program gengraf.cpp:34:9: error: stray '\240' in program gengraf.cpp:34:9: error: stray '\302' in program gengraf.cpp:34:9: error: stray '\240' in program gengraf.cpp:35:13: error: stray '\302' in program bkt(k+1); ^ gengraf.cpp:35:13: error: stray '\240' in program gengraf.cpp:35:13: error: stray '\302' in program gengraf.cpp:35:13: error: stray '\240' in program gengraf.cpp:35:13: error: stray '\302' in program gengraf.cpp:35:13: error: stray '\240' in program gengraf.cpp:35:13: error: stray '\302' in program gengraf.cpp:35:13: error: stray '\240' in program gengraf.cpp:35:13: error: stray '\302' in program gengraf.cpp:35:13: error: stray '\240' in program gengraf.cpp:35:13: error: stray '\302' in program gengraf.cpp:35:13: error: stray '\240' in program gengraf.cpp:36:9: error: stray '\302' in program ^ gengraf.cpp:36:9: error: stray '\240' in program gengraf.cpp:36:9: error: stray '\302' in program gengraf.cpp:36:9: error: stray '\240' in program gengraf.cpp:41:5: error: stray '\302' in program fin>>n; ^ gengraf.cpp:41:5: error: stray '\240' in program gengraf.cpp:41:5: error: stray '\302' in program gengraf.cpp:41:5: error: stray '\240' in program gengraf.cpp:42:5: error: stray '\302' in program int p=1; ^ gengraf.cpp:42:5: error: stray '\240' in program gengraf.cpp:42:5: error: stray '\302' in program gengraf.cpp:42:5: error: stray '\240' in program gengraf.cpp:43:5: error: stray '\302' in program for(int i=1; i<=n*(n-1)/2; i++) ^ gengraf.cpp:43:5: error: stray '\240' in program gengraf.cpp:43:5: error: stray '\302' in program gengraf.cpp:43:5: error: stray '\240' in program gengraf.cpp:44:9: error: stray '\302' in program p*=2; ^ gengraf.cpp:44:9: error: stray '\240' in program gengraf.cpp:44:9: error: stray '\302' in program gengraf.cpp:44:9: error: stray '\240' in program gengraf.cpp:44:9: error: stray '\302' in program gengraf.cpp:44:9: error: stray '\240' in program gengraf.cpp:44:9: error: stray '\302' in program gengraf.cpp:44:9: error: stray '\240' in program gengraf.cpp:45:5: error: stray '\302' in program fout<<p<<'\n'; ^ gengraf.cpp:45:5: error: stray '\240' in program gengraf.cpp:45:5: error: stray '\302' in program gengraf.cpp:45:5: error: stray '\240' in program gengraf.cpp:46:5: error: stray '\302' in program bkt(1); ^ gengraf.cpp:46:5: error: stray '\240' in program gengraf.cpp:46:5: error: stray '\302' in program gengraf.cpp:46:5: error: stray '\240' in program gengraf.cpp:51:5: error: stray '\302' in program return 0; ^ gengraf.cpp:51:5: error: stray '\240' in program gengraf.cpp:51:5: error: stray '\302' in program gengraf.cpp:51:5: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema GenGraf 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ă.