#1313
Produs_Matrice
Se citesc doua matrice din fisier . Sa se calculeze produsul lor .
Problema | Produs_Matrice | Operații I/O |
produs_matrice.in /produs_matrice.out
|
---|---|---|---|
Limita timp | 0.05 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #16332035 | Utilizator | |
Fișier | produs_matrice.cpp | Dimensiune | 515 B |
Data încărcării | 12 Iulie 2019, 22:21 | Scor / rezultat | Eroare de compilare |
produs_matrice.cpp:5:1: error: stray '\342' in program ifstream fin(“produs_matrice.in”); ^ produs_matrice.cpp:5:1: error: stray '\200' in program produs_matrice.cpp:5:1: error: stray '\234' in program produs_matrice.cpp:5:1: error: stray '\342' in program produs_matrice.cpp:5:1: error: stray '\200' in program produs_matrice.cpp:5:1: error: stray '\235' in program produs_matrice.cpp:6:1: error: stray '\342' in program ofstream fout(“produs_matrice.out”); ^ produs_matrice.cpp:6:1: error: stray '\200' in program produs_matrice.cpp:6:1: error: stray '\234' in program produs_matrice.cpp:6:1: error: stray '\342' in program produs_matrice.cpp:6:1: error: stray '\200' in program produs_matrice.cpp:6:1: error: stray '\235' in program produs_matrice.cpp:13:2: error: stray '\342' in program for(i=1;i<=m;i++){ for(j=1;j<=p;j++) fout<<c[i][j]<<’ ‘; fout<<’\n’;} return 0; } ^ produs_matrice.cpp:13:2: error: stray '\200' in program produs_matrice.cpp:13:2: error: stray '\231' in program produs_matrice.cpp:13:2: error: stray '\342' in program produs_matrice.cpp:13:2: error: stray '\200' in program produs_matrice.cpp:13:2: error: stray '\230' in program produs_matrice.cpp:13:2: error: stray '\342' in program produs_matrice.cpp:13:2: error: stray '\200' in program produs_matrice.cpp:13:2: error: stray '\231' in program produs_matrice.cpp:13:2: error: stray '\' in program produs_matrice.cpp:13:2: error: stray '\342' in program produs_matrice.cpp:13:2: error: stray '\200' in program produs_matrice.cpp:13:2: error: stray '\231' in program produs_matrice.cpp:5:17: error: 'produs_matrice' was not declared in this scope ifstream fin(“produs_matrice.in”); ^ produs_matrice.cpp:6:18: error: 'produs_matrice' was not declared in this scope ofstream fout(“produs_matrice.out”); ^ produs_matrice.cpp: In function 'int main()': produs_matrice.cpp:13:61: error: expected primary-expression before ';' token for(i=1;i<=m;i++){ for(j=1;j<=p;j++) fout<<c[i][j]<<’ ‘; fout<<’\n’;} return 0; } ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Produs_Matrice 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ă.