Problema | Matrice_Rara | Operații I/O |
matrice_rara.in /matrice_rara.out
|
---|---|---|---|
Limita timp | 1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53535319 | Utilizator | |
Fișier | matrice_rara.cpp | Dimensiune | 1.16 KB |
Data încărcării | 04 Noiembrie 2024, 15:23 | Scor / rezultat | Eroare de compilare |
matrice_rara.cpp: In function 'void citire(int, elem*)': matrice_rara.cpp:14:9: error: 'i' was not declared in this scope for(i = 0 ; i <= n; ++i) ^ matrice_rara.cpp: In function 'int main()': matrice_rara.cpp:28:15: error: 'k' was not declared in this scope s[k++] = a[i++]; ^ matrice_rara.cpp:29:9: error: expected '}' before 'else' else ^ matrice_rara.cpp:31:15: error: 'k' was not declared in this scope s[k++] = b[j++]; ^ matrice_rara.cpp:34:15: error: 'k' was not declared in this scope s[k++] = a[i++]; ^ matrice_rara.cpp:37:15: error: 'k' was not declared in this scope s[k++] = b[j++]; ^ matrice_rara.cpp:39:15: error: 'k' was not declared in this scope s[k].v = a[i].v + b[j].v; ^ matrice_rara.cpp:40:11: error: 'k' was not declared in this scope s[k].l = a[i].l; ^ matrice_rara.cpp:48:11: error: 'k' was not declared in this scope s[k++] = a[i++]; ^ matrice_rara.cpp: At global scope: matrice_rara.cpp:50:7: error: expected unqualified-id before 'while' while(n < na) ^ matrice_rara.cpp:52:5: error: expected declaration before '}' token } ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Matrice_Rara 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ă.