#3489
Dându-se o mulțime de puncte și o mulțime de cercuri, pentru fiecare cerc să se stabilească câte puncte conține.
| Problema | Numara punctele | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.2 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64749322 | Utilizator | |
| Fișier | numara_punctele.cpp | Dimensiune | 1.39 KB |
| Data încărcării | 27 Mai 2026, 17:13 | Scor/rezultat | 10 puncte |
numara_punctele.cpp: In function ‘int main()’: numara_punctele.cpp:50:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 50 | if(distanta(puncte[st].first, puncte[st].second, x,y)<=rsq); | ^~ numara_punctele.cpp:51:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 51 | ans++, ok=1; | ^~~ numara_punctele.cpp:53:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 53 | if(distanta(puncte[dr].first, puncte[dr].second, x,y)<=rsq); | ^~ numara_punctele.cpp:54:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 54 | ans++, ok=1; | ^~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.002 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
| 2 | 0.07 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.098 secunde | OK. | 10 | 10 | ||
| 4 | 0.024 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0.078 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.004 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 10 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Numara punctele 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ă.