#1313
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 | #64493805 | Utilizator | |
| Fișier | produs_matrice.cpp | Dimensiune | 720 B |
| Data încărcării | 11 Mai 2026, 09:51 | Scor/rezultat | 10 puncte |
produs_matrice.cpp: In function ‘int main()’: produs_matrice.cpp:9:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 9 | for(int i=1; i<=n1; i++) | ^~~ produs_matrice.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 12 | cin>>n2>>m2; | ^~~ produs_matrice.cpp:13:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 13 | for(int i=1; i<=n2; i++) | ^~~ produs_matrice.cpp:16:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 16 | if(m1==n2){ | ^~ produs_matrice.cpp:20:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 20 | for(int k=1; k<=m1; k++) | ^~~ produs_matrice.cpp:23:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 23 | cout<<p[i][j]<<' '; | ^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.002 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
| 2 | 0.002 secunde | OK. | 10 | 10 | ||
| 3 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 5 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| 11 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| Punctaj total | 10 | |||||
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ă.