#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 | #64333539 | Utilizator | |
| Fișier | irdds.cpp | Dimensiune | 1.70 KB |
| Data încărcării | 30 Aprilie 2026, 10:12 | Scor/rezultat | 0 puncte |
irdds.cpp: In function ‘int main()’: irdds.cpp:14:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 14 | for(int i=1;i<=m;i++) | ^~~ irdds.cpp:16:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 16 | sort(a+1,a+n+1);///ord crescator | ^~~~ irdds.cpp:45:13: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 45 | while(i<=n && j<=m) | ^~~~~ irdds.cpp:49:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 49 | while(i<=n) | ^~~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.138 secunde | Raspuns gresit. | 10 | 0 | ||
| 2 | 0.131 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.136 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.132 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0.189 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.124 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.187 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.133 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.09 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.188 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ă.