#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 | #36196133 | Utilizator | |
Fișier | irdds.cpp | Dimensiune | 2.67 KB |
Data încărcării | 08 Aprilie 2022, 23:28 | Scor / rezultat | Eroare de compilare |
irdds.cpp: In function 'void diferentaAB()': irdds.cpp:58:13: error: 'C' was not declared in this scope C[k++]=A[i++]; ^ irdds.cpp:70:13: error: 'C' was not declared in this scope C[k++]=A[i++]; ^ irdds.cpp: In function 'void diferentaBA()': irdds.cpp:80:13: error: 'D' was not declared in this scope D[k++]=B[j++]; ^ irdds.cpp:92:13: error: 'D' was not declared in this scope D[k++]=B[j++]; ^ irdds.cpp: In function 'void difsim()': irdds.cpp:109:12: error: 'C' was not declared in this scope if(C[i]==D[j]) ^ irdds.cpp:109:18: error: 'D' was not declared in this scope if(C[i]==D[j]) ^ irdds.cpp:123:20: error: 'C' was not declared in this scope A[k++]=C[i++]; ^ irdds.cpp:128:20: error: 'D' was not declared in this scope A[k++]=D[j++]; ^ irdds.cpp: In function 'int main()': irdds.cpp:146:15: error: 'C' was not declared in this scope cout<<C[i]<<" "; ^ irdds.cpp:152:15: error: 'C' was not declared in this scope cout<<C[i]<<" "; ^ irdds.cpp:158:15: error: 'C' was not declared in this scope cout<<C[i]<<" "; ^ irdds.cpp:137:13: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^
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ă.