Problema | MMultiplication | Operații I/O |
mmultiplication.in /mmultiplication.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53018072 | Utilizator | |
Fișier | mmultiplication.cpp | Dimensiune | 1.40 KB |
Data încărcării | 15 Octombrie 2024, 17:52 | Scor / rezultat | 100 puncte |
mmultiplication.cpp: In function 'Matrix matMultiply(Matrix, Matrix)': mmultiplication.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < ans.size(); ++i){ ^ mmultiplication.cpp:16:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < ans[i].size(); ++j){ ^ mmultiplication.cpp:17:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < B.size(); ++k){ ^ mmultiplication.cpp: In function 'void matPrint(Matrix)': mmultiplication.cpp:26:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < A.size(); ++i){ ^ mmultiplication.cpp:27:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < A[i].size(); ++j){ ^ mmultiplication.cpp: In function 'int main()': mmultiplication.cpp:65:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(INFILE, "r", stdin); ^ mmultiplication.cpp:66:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(OUTFILE, "w", stdout); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 20 | 20 | ||
2 | 0 secunde | OK. | 20 | 20 | ||
3 | 0.004 secunde | OK. | 20 | 20 | ||
4 | 0.016 secunde | OK. | 20 | 20 | ||
5 | 0 secunde | OK. | 20 | 20 | Exemplu | |
Punctaj total | 100 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema MMultiplication 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ă.