#1450
Memory003
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 | #51349562 | Utilizator | |
Fișier | memory003.cpp | Dimensiune | 562 B |
Data încărcării | 09 Iunie 2024, 20:39 | Scor / rezultat | 20 puncte |
memory003.cpp: In function 'int main()': memory003.cpp:8:32: warning: unused variable 's' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:52: warning: unused variable 'lmin' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:58: warning: unused variable 'lmax' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:64: warning: unused variable 'v' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:79: warning: unused variable 'k' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:82: warning: unused variable 'x' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:85: warning: unused variable 'ok' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:89: warning: unused variable 'cmin' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:95: warning: unused variable 'cmax' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:101: warning: unused variable 'mi' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^ memory003.cpp:8:105: warning: unused variable 'ma' [-Wunused-variable] int a[101][101]={0}, i, j, s=0, n, m, p, prod, lmin, lmax, v[10001], c=0, k, x, ok, cmin, cmax, mi, ma=0; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 20 | 20 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
3 | 0 secunde | Caught fatal signal 11 | 20 | 0 | ||
4 | 0 secunde | Caught fatal signal 11 | 20 | 0 | ||
5 | 0 secunde | Caught fatal signal 11 | 20 | 0 | ||
Punctaj total | 20 |
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ă.