#1661
Se dau 2 numere reprezentând scorul la fotbalul extraterestru. Să se afișeze în câte moduri poți ajunge la acel scor.
| Problema | Fotbal1 | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 64 MB
|
| Id soluție | #64553605 | Utilizator | |
| Fișier | fotbal1.cpp | Dimensiune | 328 B |
| Data încărcării | 14 Mai 2026, 08:35 | Scor/rezultat | 0 puncte |
fotbal1.cpp: In function ‘int main()’: fotbal1.cpp:10:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare] 10 | for(int i=1;i<=n;i++) | ~^~~ fotbal1.cpp:11:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare] 11 | for(int j=1;j<=m;j++) | ~^~~ fotbal1.cpp:14:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare] 14 | for(int i=1;i<=mn;i++) | ~^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Caught fatal signal 11 | 5 | 0 | Exemplu | |
| 2 | 0.001 secunde | Caught fatal signal 11 | 5 | 0 | ||
| 3 | 0.001 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 4 | 0.001 secunde | Caught fatal signal 11 | 50 | 0 | ||
| 5 | 0.001 secunde | Caught fatal signal 11 | 20 | 0 | ||
| 6 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Fotbal1 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ă.