#3974
IRDDS
Se dau 2
mulţimi de numere naturale. Să se afișeze mulţimea rezultată în urma efectuării unei operații.
Problema | IRDDS | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.3 secunde | Limita memorie |
Total: 8 MB
/
Stivă 4 MB
|
Id soluție | #44358729 | Utilizator | |
Fișier | irdds.cpp | Dimensiune | 2.31 KB |
Data încărcării | 07 August 2023, 13:48 | Scor / rezultat | 0 puncte |
irdds.cpp: In function 'std::vector<int> intersectie(std::vector<int>, std::vector<int>)': irdds.cpp:7:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:7:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp: In function 'std::vector<int> reuniune(std::vector<int>, std::vector<int>)': irdds.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:23:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size()) ^ irdds.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j < b.size()) ^ irdds.cpp: In function 'std::vector<int> diferenta(std::vector<int>, std::vector<int>)': irdds.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:44:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:52:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size()) ^ irdds.cpp: In function 'std::vector<int> diferentaSimetrica(std::vector<int>, std::vector<int>)': irdds.cpp:62:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:62:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size() and j < b.size()) ^ irdds.cpp:70:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < a.size()) ^ irdds.cpp:72:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j < b.size()) ^ irdds.cpp: In function 'std::vector<int> interclasare(std::vector<int>, std::vector<int>, char)': irdds.cpp:85:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0.192 secunde | Raspuns gresit. | 10 | 0 | ||
2 | 0.192 secunde | Raspuns gresit. | 10 | 0 | ||
3 | 0.148 secunde | Raspuns gresit. | 10 | 0 | ||
4 | 0.152 secunde | Raspuns gresit. | 10 | 0 | ||
5 | 0.228 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0.176 secunde | Raspuns gresit. | 10 | 0 | ||
7 | 0.26 secunde | Raspuns gresit. | 10 | 0 | ||
8 | 0.196 secunde | Raspuns gresit. | 10 | 0 | ||
9 | 0.112 secunde | Raspuns gresit. | 10 | 0 | ||
10 | 0.26 secunde | Raspuns gresit. | 10 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema IRDDS 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ă.