#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 | #64748538 | Utilizator | |
| Fișier | numara_punctele.cpp | Dimensiune | 1.38 KB |
| Data încărcării | 27 Mai 2026, 16:35 | Scor/rezultat | 0 puncte |
numara_punctele.cpp: In function ‘int main()’: numara_punctele.cpp:48:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 48 | if(distanta(puncte[st].first, puncte[st].second, x,y)<=rsq); | ^~ numara_punctele.cpp:49:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 49 | ans++, ok=1; | ^~~ numara_punctele.cpp:51:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 51 | if(distanta(puncte[dr].first, puncte[dr].second, x,y)<=rsq); | ^~ numara_punctele.cpp:52:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 52 | ans++, ok=1; | ^~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
| 2 | 0.023 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.164 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0.152 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 0 | |||||
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ă.