#939
sum00
Să se scrie un program care citeşte de la tastatura două numere naturale şi determină suma lor.
Problema | sum00 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54066950 | Utilizator | |
Fișier | sum00.cpp | Dimensiune | 157 B |
Data încărcării | 19 Noiembrie 2024, 08:47 | Scor / rezultat | Eroare de compilare |
sum00.cpp:4:1: error: stray '\360' in program int 💙,💛,💚; ^ sum00.cpp:4:1: error: stray '\237' in program sum00.cpp:4:1: error: stray '\222' in program sum00.cpp:4:1: error: stray '\231' in program sum00.cpp:4:1: error: stray '\360' in program sum00.cpp:4:1: error: stray '\237' in program sum00.cpp:4:1: error: stray '\222' in program sum00.cpp:4:1: error: stray '\233' in program sum00.cpp:4:1: error: stray '\360' in program sum00.cpp:4:1: error: stray '\237' in program sum00.cpp:4:1: error: stray '\222' in program sum00.cpp:4:1: error: stray '\232' in program sum00.cpp:7:5: error: stray '\360' in program cin>>💙>>;💛 ^ sum00.cpp:7:5: error: stray '\237' in program sum00.cpp:7:5: error: stray '\222' in program sum00.cpp:7:5: error: stray '\231' in program sum00.cpp:7:5: error: stray '\360' in program sum00.cpp:7:5: error: stray '\237' in program sum00.cpp:7:5: error: stray '\222' in program sum00.cpp:7:5: error: stray '\233' in program sum00.cpp:8:5: error: stray '\360' in program 💚=💛+💙; ^ sum00.cpp:8:5: error: stray '\237' in program sum00.cpp:8:5: error: stray '\222' in program sum00.cpp:8:5: error: stray '\232' in program sum00.cpp:8:5: error: stray '\360' in program sum00.cpp:8:5: error: stray '\237' in program sum00.cpp:8:5: error: stray '\222' in program sum00.cpp:8:5: error: stray '\233' in program sum00.cpp:8:5: error: stray '\360' in program sum00.cpp:8:5: error: stray '\237' in program sum00.cpp:8:5: error: stray '\222' in program sum00.cpp:8:5: error: stray '\231' in program sum00.cpp:9:5: error: stray '\360' in program cout<<💚; ^ sum00.cpp:9:5: error: stray '\237' in program sum00.cpp:9:5: error: stray '\222' in program sum00.cpp:9:5: error: stray '\232' in program sum00.cpp:4:9: error: expected unqualified-id before ',' token int 💙,💛,💚; ^ sum00.cpp:4:14: error: expected unqualified-id before ',' token int 💙,💛,💚; ^ sum00.cpp:4:19: error: expected unqualified-id before ';' token int 💙,💛,💚; ^ sum00.cpp: In function 'int main()': sum00.cpp:7:14: error: expected primary-expression before '>>' token cin>>💙>>;💛 ^ sum00.cpp:7:16: error: expected primary-expression before ';' token cin>>💙>>;💛 ^ sum00.cpp:8:9: error: expected primary-expression before '=' token 💚=💛+💙; ^ sum00.cpp:8:19: error: expected primary-expression before ';' token 💚=💛+💙; ^ sum00.cpp:9:15: error: expected primary-expression before ';' token cout<<💚; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema sum00 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ă.