#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 | #64997964 | Utilizator | |
| Fișier | irdds.cpp | Dimensiune | 1.37 KB |
| Data încărcării | 09 Iulie 2026, 09:33 | Scor/rezultat | 0 puncte |
irdds.cpp: In function ‘int main()’: irdds.cpp:13:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 13 | for(int i=0;i<m;i++) | ^~~ irdds.cpp:15:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 15 | int i=0 , j=0 ,p=0; | ^~~ irdds.cpp:89:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 89 | for (int i=0;i<p;i++) | ^~~ irdds.cpp:91:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 91 | return 0; | ^~~~~~ irdds.cpp:7:32: warning: unused variable ‘ok’ [-Wunused-variable] 7 | int n,m,a[100001],b[100001],ok,c[200001]; | ^~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.092 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 2 | 0.093 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 3 | 0.093 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.092 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0.13 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.099 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.136 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 8 | 0.093 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 9 | 0.078 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.122 secunde | Caught fatal signal 11 | 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ă.