#3974
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 | #64782067 | Utilizator | |
| Fișier | irdds.cpp | Dimensiune | 1.66 KB |
| Data încărcării | 30 Mai 2026, 15:21 | Scor/rezultat | 20 puncte |
irdds.cpp:2:21: warning: extra tokens at end of #include directive 2 | #include <algorithm>> | ^ irdds.cpp: In function ‘int main()’: irdds.cpp:33:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 33 | for(j=1; j<=m; j++) | ^~~ irdds.cpp:37:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 37 | sort(a+1,a+n+1); | ^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.127 secunde | Raspuns gresit. | 10 | 0 | ||
| 2 | 0.138 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.112 secunde | OK. | 10 | 10 | ||
| 4 | 0.111 secunde | OK. | 10 | 10 | ||
| 5 | 0.153 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.115 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.155 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.166 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.075 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.147 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 20 | |||||
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ă.