#210
Chenar
Să se parcurgă în sensul acelor de ceasornic chenarul exterior al unei matrice pătratice.
Variante Bacalaureat 2009
Problema | Chenar | Operații I/O |
chenar.in /chenar.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54354136 | Utilizator | |
Fișier | chenar.cpp | Dimensiune | 602 B |
Data încărcării | 26 Noiembrie 2024, 14:12 | Scor / rezultat | Eroare de compilare |
chenar.cpp: In function 'int main()': chenar.cpp:11:12: error: 'n' was not declared in this scope fin >> n; ^ chenar.cpp:14:20: error: 'a' was not declared in this scope fin >> a[i][j]; ^ chenar.cpp:17:9: error: 'v' was not declared in this scope v[++cnt] = a[1][i]; ^ chenar.cpp:17:20: error: 'a' was not declared in this scope v[++cnt] = a[1][i]; ^ chenar.cpp:19:9: error: 'v' was not declared in this scope v[++cnt] = a[i][n]; ^ chenar.cpp:19:20: error: 'a' was not declared in this scope v[++cnt] = a[i][n]; ^ chenar.cpp:21:9: error: 'v' was not declared in this scope v[++cnt] = a[n][i]; ^ chenar.cpp:21:20: error: 'a' was not declared in this scope v[++cnt] = a[n][i]; ^ chenar.cpp:23:9: error: 'v' was not declared in this scope v[++cnt] = a[i][1]; ^ chenar.cpp:23:20: error: 'a' was not declared in this scope v[++cnt] = a[i][1]; ^ chenar.cpp:26:17: error: 'v' was not declared in this scope fout << v[i] << ' '; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Chenar 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ă.