#930
IntersectieSegmente
Se dau două segmente în plan, specificate prin coordonatele capetelor. Să se verifice dacă au cel puțin un punct comun.
Problema | IntersectieSegmente | Operații I/O |
intersectiesegmente.in /intersectiesegmente.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #47992259 | Utilizator | |
Fișier | intersectiesegmente.cpp | Dimensiune | 1.40 KB |
Data încărcării | 12 Ianuarie 2024, 09:34 | Scor / rezultat | Eroare de compilare |
intersectiesegmente.cpp:40:19: warning: missing terminating " character [enabled by default] msgAndOut("DA ^ intersectiesegmente.cpp:40:9: error: missing terminating " character msgAndOut("DA ^ intersectiesegmente.cpp:41:1: warning: missing terminating " character [enabled by default] "); ^ intersectiesegmente.cpp:41:1: error: missing terminating " character intersectiesegmente.cpp:45:19: warning: missing terminating " character [enabled by default] msgAndOut("DA ^ intersectiesegmente.cpp:45:9: error: missing terminating " character msgAndOut("DA ^ intersectiesegmente.cpp:46:1: warning: missing terminating " character [enabled by default] "); ^ intersectiesegmente.cpp:46:1: error: missing terminating " character intersectiesegmente.cpp:50:19: warning: missing terminating " character [enabled by default] msgAndOut("DA ^ intersectiesegmente.cpp:50:9: error: missing terminating " character msgAndOut("DA ^ intersectiesegmente.cpp:51:1: warning: missing terminating " character [enabled by default] "); ^ intersectiesegmente.cpp:51:1: error: missing terminating " character intersectiesegmente.cpp:55:19: warning: missing terminating " character [enabled by default] msgAndOut("DA ^ intersectiesegmente.cpp:55:9: error: missing terminating " character msgAndOut("DA ^ intersectiesegmente.cpp:56:1: warning: missing terminating " character [enabled by default] "); ^ intersectiesegmente.cpp:56:1: error: missing terminating " character intersectiesegmente.cpp:65:19: warning: missing terminating " character [enabled by default] msgAndOut("DA ^ intersectiesegmente.cpp:65:9: error: missing terminating " character msgAndOut("DA ^ intersectiesegmente.cpp:66:1: warning: missing terminating " character [enabled by default] "); ^ intersectiesegmente.cpp:66:1: error: missing terminating " character intersectiesegmente.cpp:68:19: warning: missing terminating " character [enabled by default] msgAndOut("NU ^ intersectiesegmente.cpp:68:9: error: missing terminating " character msgAndOut("NU ^ intersectiesegmente.cpp:69:1: warning: missing terminating " character [enabled by default] "); ^ intersectiesegmente.cpp:69:1: error: missing terminating " character intersectiesegmente.cpp: In function 'int main()': intersectiesegmente.cpp:42:5: error: expected primary-expression before '}' token } ^ intersectiesegmente.cpp:42:5: error: expected ';' before '}' token intersectiesegmente.cpp:47:5: error: expected primary-expression before '}' token } ^ intersectiesegmente.cpp:47:5: error: expected ';' before '}' token intersectiesegmente.cpp:52:5: error: expected primary-expression before '}' token } ^ intersectiesegmente.cpp:52:5: error: expected ';' before '}' token intersectiesegmente.cpp:57:5: error: expected primary-expression before '}' token } ^ intersectiesegmente.cpp:57:5: error: expected ';' before '}' token intersectiesegmente.cpp:67:5: error: expected primary-expression before 'else' else ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema IntersectieSegmente 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ă.