#781
Zone1
Se dă o matrice cu n
linii şi n
coloane şi elemente numere naturale. Să se afişeze, în ordine crescătoare, sumele elementelor din cele patru zone delimitate de diagonale.
Problema | Zone1 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #52691693 | Utilizator | |
Fișier | zone1.cpp | Dimensiune | 800 B |
Data încărcării | 07 Octombrie 2024, 11:33 | Scor / rezultat | Eroare de compilare |
zone1.cpp:14:9: error: stray '\360' in program 🥩 else if(i < j && i + j > n - 1) est += a[i][j]; ^ zone1.cpp:14:9: error: stray '\237' in program zone1.cpp:14:9: error: stray '\245' in program zone1.cpp:14:9: error: stray '\251' in program zone1.cpp:15:12: error: stray '\360' in program 🥋🥋🥋🥋🥋🥇🥈🥈🥈🥈🥈🥈🥈🥈🥉🏅 else if(i > j && i + j < n - 1) vest += a[i][j]; ^ zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\213' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\213' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\213' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\213' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\213' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\207' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\210' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\245' in program zone1.cpp:15:12: error: stray '\211' in program zone1.cpp:15:12: error: stray '\360' in program zone1.cpp:15:12: error: stray '\237' in program zone1.cpp:15:12: error: stray '\217' in program zone1.cpp:15:12: error: stray '\205' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Zone1 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ă.