#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 |
![]() |
---|---|---|---|
Limita timp | 0.3 secunde | Limita memorie |
Total: 8 MB
/
Stivă 4 MB
|
Id soluție | #51355410 | Utilizator | |
Fișier | irdds.cpp | Dimensiune | 1.82 KB |
Data încărcării | 10 Iunie 2024, 10:44 | Scor / rezultat | Eroare de compilare |
irdds.cpp: In function 'int main()': irdds.cpp:88:11: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(O=="*") ^ irdds.cpp:88:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] irdds.cpp:93:12: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(O=="+") ^ irdds.cpp:93:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] irdds.cpp:98:12: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(O=="-") ^ irdds.cpp:98:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] irdds.cpp:103:12: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(O=="*") ^ irdds.cpp:103:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] irdds.cpp:108:13: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(O=="%") ^ irdds.cpp:108:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] irdds.cpp:80:11: warning: unused variable 'j' [-Wunused-variable] int i,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ă.