#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 | #64554952 | Utilizator | |
| Fișier | produs_matrice.cpp | Dimensiune | 621 B |
| Data încărcării | 14 Mai 2026, 09:32 | Scor/rezultat | 40 puncte |
produs_matrice.cpp: In function ‘int main()’: produs_matrice.cpp:10:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 10 | for(int i=1; i<=m;i++) | ^~~ produs_matrice.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 13 | fin>>p; | ^~~ produs_matrice.cpp:14:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 14 | for(int i=1; i<=m;i++) | ^~~ produs_matrice.cpp:17:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 17 | for(int i=1; i<=n; i++) | ^~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
| 2 | 0.001 secunde | OK. | 10 | 10 | ||
| 3 | 0.001 secunde | OK. | 10 | 10 | ||
| 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 | OK. | 10 | 10 | ||
| 9 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.003 secunde | OK. | 10 | 10 | ||
| 11 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| Punctaj total | 40 | |||||
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ă.