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 | #51111305 | Utilizator | |
Fișier | matrice_rara.cpp | Dimensiune | 1.14 KB |
Data încărcării | 24 Mai 2024, 09:56 | Scor / rezultat | Eroare de compilare |
matrice_rara.cpp:8:12: error: size of array 'p' is too large }p[99999999], k[99999999], m[99999999]; ^ matrice_rara.cpp:8:25: error: size of array 'k' is too large }p[99999999], k[99999999], m[99999999]; ^ matrice_rara.cpp:8:38: error: size of array 'm' is too large }p[99999999], k[99999999], m[99999999]; ^ matrice_rara.cpp: In function 'int main()': matrice_rara.cpp:14:14: error: 'p' was not declared in this scope fin>>p[i].l>>p[i].col>>p[i].elem; ^ matrice_rara.cpp:16:14: error: 'k' was not declared in this scope fin>>k[i].l>>k[i].col>>k[i].elem; ^ matrice_rara.cpp:21:12: error: 'p' was not declared in this scope if(p[i].l<k[j].l) ^ matrice_rara.cpp:21:19: error: 'k' was not declared in this scope if(p[i].l<k[j].l) ^ matrice_rara.cpp:22:13: error: 'm' was not declared in this scope m[nr++]=p[i++]; ^ matrice_rara.cpp:24:13: error: 'm' was not declared in this scope m[nr++]=k[j++]; ^ matrice_rara.cpp:28:17: error: 'm' was not declared in this scope m[nr++]=p[i++]; ^ matrice_rara.cpp:30:17: error: 'm' was not declared in this scope m[nr++]=k[j++]; ^ matrice_rara.cpp:33:17: error: 'm' was not declared in this scope m[nr].l=p[i].l; ^ matrice_rara.cpp:40:9: error: 'm' was not declared in this scope m[nr++]=p[i++]; ^ matrice_rara.cpp:40:17: error: 'p' was not declared in this scope m[nr++]=p[i++]; ^ matrice_rara.cpp:42:9: error: 'm' was not declared in this scope m[nr++]=k[j++]; ^ matrice_rara.cpp:42:17: error: 'k' was not declared in this scope m[nr++]=k[j++]; ^ matrice_rara.cpp:46:15: error: 'm' was not declared in this scope fout<<m[i].l<<' '<<m[i].col<<' '<<m[i].elem<<"\n"; ^
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ă.