#573
Grade2
Se dă lista arcelor unui graf orientat. Să se determine nodurile care au gradul exterior egal cu gradul interior.
Problema | Grade2 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54352509 | Utilizator | |
Fișier | grade2.cpp | Dimensiune | 403 B |
Data încărcării | 26 Noiembrie 2024, 13:32 | Scor / rezultat | Eroare de compilare |
grade2.cpp:10:1: error: stray '\302' in program cin>>n>>m; ^ grade2.cpp:10:1: error: stray '\240' in program grade2.cpp:10:1: error: stray '\302' in program grade2.cpp:10:1: error: stray '\240' in program grade2.cpp:11:1: error: stray '\302' in program for(int i=1;i<=m;i++){ ^ grade2.cpp:11:1: error: stray '\240' in program grade2.cpp:12:1: error: stray '\302' in program cin>>x>>y; ^ grade2.cpp:12:1: error: stray '\240' in program grade2.cpp:12:1: error: stray '\302' in program grade2.cpp:12:1: error: stray '\240' in program grade2.cpp:13:1: error: stray '\302' in program e[x]++; ^ grade2.cpp:13:1: error: stray '\240' in program grade2.cpp:13:1: error: stray '\302' in program grade2.cpp:13:1: error: stray '\240' in program grade2.cpp:14:1: error: stray '\302' in program in[y]++; ^ grade2.cpp:14:1: error: stray '\240' in program grade2.cpp:14:1: error: stray '\302' in program grade2.cpp:14:1: error: stray '\240' in program grade2.cpp:16:1: error: stray '\302' in program } ^ grade2.cpp:16:1: error: stray '\240' in program grade2.cpp:17:1: error: stray '\302' in program int nr=0; ^ grade2.cpp:17:1: error: stray '\240' in program grade2.cpp:18:1: error: stray '\302' in program for(int i=1;i<=n;i++) ^ grade2.cpp:18:1: error: stray '\240' in program grade2.cpp:19:1: error: stray '\302' in program if(e[i]==in[i]) ^ grade2.cpp:19:1: error: stray '\240' in program grade2.cpp:19:1: error: stray '\302' in program grade2.cpp:19:1: error: stray '\240' in program grade2.cpp:20:1: error: stray '\302' in program nr++; ^ grade2.cpp:20:1: error: stray '\240' in program grade2.cpp:20:1: error: stray '\302' in program grade2.cpp:20:1: error: stray '\240' in program grade2.cpp:23:1: error: stray '\302' in program cout<<nr<<endl; ^ grade2.cpp:23:1: error: stray '\240' in program grade2.cpp:23:1: error: stray '\302' in program grade2.cpp:23:1: error: stray '\240' in program grade2.cpp:24:1: error: stray '\302' in program for(int i=1;i<=n;i++) ^ grade2.cpp:24:1: error: stray '\240' in program grade2.cpp:24:1: error: stray '\302' in program grade2.cpp:24:1: error: stray '\240' in program grade2.cpp:25:1: error: stray '\302' in program if(e[i]==in[i]) ^ grade2.cpp:25:1: error: stray '\240' in program grade2.cpp:25:1: error: stray '\302' in program grade2.cpp:25:1: error: stray '\240' in program grade2.cpp:26:1: error: stray '\302' in program cout<<i<<" "; ^ grade2.cpp:26:1: error: stray '\240' in program grade2.cpp:26:1: error: stray '\302' in program grade2.cpp:26:1: error: stray '\240' in program grade2.cpp:27:1: error: stray '\302' in program return 0; ^ grade2.cpp:27:1: error: stray '\240' in program grade2.cpp:27:1: error: stray '\302' in program grade2.cpp:27:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Grade2 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ă.