#1450
Să se afle câte coloane ale unei matrice au produsul elementelor divizibil cu un număr dat p.
| Problema | Memory003 | Operații I/O |
memory003.in/memory003.out
|
|---|---|---|---|
| Limita timp | 0.2 secunde | Limita memorie |
Total: 0.3 MB
/
Stivă 0 MB
|
| Id soluție | #64817310 | Utilizator | |
| Fișier | memory003.cpp | Dimensiune | 735 B |
| Data încărcării | 03 Iunie 2026, 12:14 | Scor/rezultat | 100 puncte |
memory003.cpp: In function ‘int main()’: memory003.cpp:24:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ull’ {aka ‘long long unsigned int’} [-Wsign-compare] 24 | for (int i = 1; i <= m; i++) | ~~^~~~ memory003.cpp:26:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ull’ {aka ‘long long unsigned int’} [-Wsign-compare] 26 | for (int i = 1; i <= n; i++) | ~~^~~~ memory003.cpp:27:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ull’ {aka ‘long long unsigned int’} [-Wsign-compare] 27 | for (int j = 1; j <= m; j++) | ~~^~~~ memory003.cpp:34:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ull’ {aka ‘long long unsigned int’} [-Wsign-compare] 34 | for (int i = 1; i <= m; i++) | ~~^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.002 secunde | OK. | 20 | 20 | Exemplu | |
| 2 | 0.001 secunde | OK. | 20 | 20 | ||
| 3 | 0.016 secunde | OK. | 20 | 20 | ||
| 4 | 0.016 secunde | OK. | 20 | 20 | ||
| 5 | 0.016 secunde | OK. | 20 | 20 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Memory003 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ă.