Problema | Oglindit3 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #49064871 | Utilizator | |
Fișier | oglindit3.cpp | Dimensiune | 325 B |
Data încărcării | 14 Februarie 2024, 10:25 | Scor / rezultat | Eroare de compilare |
oglindit3.cpp:2:7: error: expected nested-name-specifier before 'namesopace' using namesopace std: ^ oglindit3.cpp:2:7: error: 'namesopace' has not been declared oglindit3.cpp:2:18: error: expected ';' before 'std' using namesopace std: ^ oglindit3.cpp:2:18: error: 'std' does not name a type oglindit3.cpp: In function 'int main()': oglindit3.cpp:6:5: error: 'cin' was not declared in this scope cin>>n; ^ oglindit3.cpp:6:5: note: suggested alternative: In file included from oglindit3.cpp:1:0: /usr/include/c++/4.8/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^ oglindit3.cpp:6:10: error: 'n' was not declared in this scope cin>>n; ^ oglindit3.cpp:7:5: error: 's' was not declared in this scope s=0; ^ oglindit3.cpp:8:5: error: 'cn' was not declared in this scope cn=n; ^ oglindit3.cpp:9:5: error: 'og' was not declared in this scope og=0; ^ oglindit3.cpp:12:9: error: 'c' was not declared in this scope c=cn%10; ^ oglindit3.cpp:18:9: error: 'c' was not declared in this scope c=s%10; ^ oglindit3.cpp:20:15: error: expected ';' before ':' token s=s/10: ^ oglindit3.cpp:22:5: error: 'cout' was not declared in this scope cout<<og; ^ oglindit3.cpp:22:5: note: suggested alternative: In file included from oglindit3.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Oglindit3 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ă.