#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 | #64913027 | Utilizator | |
| Fișier | irdds.cpp | Dimensiune | 2.14 KB |
| Data încărcării | 12 Iunie 2026, 10:15 | Scor/rezultat | 40 puncte |
irdds.cpp: In function ‘void diferenta()’: irdds.cpp:66:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 66 | else ////if(A[i] == B[j]) | ^~~~ irdds.cpp:67:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 67 | i++; j++; | ^ irdds.cpp: In function ‘void diferentaSimetrica()’: irdds.cpp:83:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 83 | else | ^~~~ irdds.cpp:84:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 84 | i++; j++; | ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.13 secunde | OK. | 10 | 10 | ||
| 2 | 0.124 secunde | OK. | 10 | 10 | ||
| 3 | 0.112 secunde | OK. | 10 | 10 | ||
| 4 | 0.121 secunde | OK. | 10 | 10 | ||
| 5 | 0.17 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.125 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.169 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.116 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.197 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.248 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 40 | |||||
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ă.