#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 | #53252975 | Utilizator | |
Fișier | irdds.cpp | Dimensiune | 2.80 KB |
Data încărcării | 22 Octombrie 2024, 15:02 | Scor / rezultat | Eroare de compilare |
irdds.cpp:5:1: error: 'in' does not name a type in a[200001], b[200001]; ^ irdds.cpp: In function 'int main()': irdds.cpp:16:16: error: 'a' was not declared in this scope cin >> a[i]; ^ irdds.cpp:20:16: error: 'b' was not declared in this scope cin >> b[i]; ^ irdds.cpp:23:13: error: switch quantity not an integer switch(c) { ^ irdds.cpp:27:21: error: 'a' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:27:26: error: 'b' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:44:25: error: 'a' was not declared in this scope cout << a[i] << " "; ^ irdds.cpp:48:25: error: 'a' was not declared in this scope cout << a[j] << " "; ^ irdds.cpp:55:21: error: 'a' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:55:26: error: 'b' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:73:21: error: 'a' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:73:26: error: 'b' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:92:20: error: 'i' was not declared in this scope while (i<=n && j<=m) { ^ irdds.cpp:92:28: error: 'j' was not declared in this scope while (i<=n && j<=m) { ^ irdds.cpp:93:21: error: 'a' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:93:26: error: 'b' was not declared in this scope if (a[i]<b[j]) { ^ irdds.cpp:108:20: error: 'i' was not declared in this scope while (i<=n) { ^ irdds.cpp:109:25: error: 'a' was not declared in this scope cout << a[i] << " "; ^ irdds.cpp:112:20: error: 'j' was not declared in this scope while (j<=m) { ^ irdds.cpp:113:25: error: 'a' was not declared in this scope cout << a[j] << " "; ^
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ă.