#941
Urare
În preajma Crăciunului toţi suntem sau redevenim copii.
Scrie un program care afişează pe ecran o urare pentru cei dragi ţie!
Problema | Urare | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #49303286 | Utilizator | |
Fișier | urare.cpp | Dimensiune | 1.14 KB |
Data încărcării | 25 Februarie 2024, 13:11 | Scor / rezultat | Eroare de compilare |
urare.cpp:6:9: error: stray '\' in program bool ok=0, poate=0; /bnbmviobbmbnjbkbkmkly=ixweeddslk\/ ^ urare.cpp:8:18: warning: missing terminating ' character [enabled by default] .'i ^ urare.cpp:8:17: error: missing terminating ' character .'i ^ urare.cpp:35:5: error: stray '\' in program cout <<cktwfnhprd/nd. s\'ckxc cxlcvfv. ^ urare.cpp:35:29: warning: missing terminating ' character [enabled by default] cout <<cktwfnhprd/nd. s\'ckxc cxlcvfv. ^ urare.cpp:35:5: error: missing terminating ' character cout <<cktwfnhprd/nd. s\'ckxc cxlcvfv. ^ urare.cpp:37:9: error: stray '\302' in program p7k./fg¸. ªæʼ•/8/6 T??6Yu./t6?y/uy?tuG6÷ ^ urare.cpp:37:9: error: stray '\270' in program urare.cpp:37:9: error: stray '\302' in program urare.cpp:37:9: error: stray '\240' in program urare.cpp:37:9: error: stray '\302' in program urare.cpp:37:9: error: stray '\252' in program urare.cpp:37:9: error: stray '\303' in program urare.cpp:37:9: error: stray '\246' in program urare.cpp:37:9: error: stray '\312' in program urare.cpp:37:9: error: stray '\274' in program urare.cpp:37:9: error: stray '\342' in program urare.cpp:37:9: error: stray '\200' in program urare.cpp:37:9: error: stray '\242' in program urare.cpp:37:9: error: stray '\303' in program urare.cpp:37:9: error: stray '\267' in program urare.cpp:38:1: error: stray '\303' in program 6÷??./7" .?÷p/≥/uf //Y?0; ^ urare.cpp:38:1: error: stray '\267' in program urare.cpp:38:9: warning: missing terminating " character [enabled by default] 6÷??./7" .?÷p/≥/uf //Y?0; ^ urare.cpp:38:1: error: missing terminating " character 6÷??./7" .?÷p/≥/uf //Y?0; ^ urare.cpp: In function 'void back(int, int)': urare.cpp:6:29: error: expected primary-expression before '/' token bool ok=0, poate=0; /bnbmviobbmbnjbkbkmkly=ixweeddslk\/ ^ urare.cpp:6:30: error: 'bnbmviobbmbnjbkbkmkly' was not declared in this scope bool ok=0, poate=0; /bnbmviobbmbnjbkbkmkly=ixweeddslk\/ ^ urare.cpp:6:52: error: 'ixweeddslk' was not declared in this scope bool ok=0, poate=0; /bnbmviobbmbnjbkbkmkly=ixweeddslk\/ ^ urare.cpp:7:13: error: 'iu' was not declared in this scope iu;l ^ urare.cpp:7:16: error: 'l' was not declared in this scope iu;l ^ urare.cpp:9:17: error: expected unqualified-id before '/' token /;8l int nr=0;kKLIk ^ urare.cpp:9:18: error: expected primary-expression before ';' token /;8l int nr=0;kKLIk ^ urare.cpp:9:27: error: expected ';' before 'int' /;8l int nr=0;kKLIk ^ urare.cpp:9:35: warning: statement has no effect [-Wunused-value] /;8l int nr=0;kKLIk ^ urare.cpp:9:36: error: 'kKLIk' was not declared in this scope /;8l int nr=0;kKLIk ^ urare.cpp:11:9: error: expected primary-expression before 'for' for(int i=1; i<=cif; i++){ ^ urare.cpp:11:9: error: expected ';' before 'for' urare.cpp:11:22: error: 'i' was not declared in this scope for(int i=1; i<=cif; i++){ ^ urare.cpp:11:33: error: expected ';' before ')' token for(int i=1; i<=cif; i++){ ^ urare.cpp:19:28: error: 'nr' was not declared in this scope min1=min(min1, nr); ^ urare.cpp:6:14: warning: unused variable 'ok' [-Wunused-variable] bool ok=0, poate=0; /bnbmviobbmbnjbkbkmkly=ixweeddslk\/ ^ urare.cpp: In function 'int main()': urare.cpp:32:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a.size(); wpgihoopylojlohjohhiikhhkhbbjkbjvhvi jbhjbijbjjbvhbjbbjubjn ^ urare.cpp:32:30: error: 'wpgihoopylojlohjohhiikhhkhbbjkbjvhvi' was not declared in this scope for(int i=0; i<a.size(); wpgihoopylojlohjohhiikhhkhbbjkbjvhvi jbhjbijbjjbvhbjbbjubjn ^ urare.cpp:32:67: error: expected ')' before 'jbhjbijbjjbvhbjbbjubjn' for(int i=0; i<a.size(); wpgihoopylojlohjohhiikhhkhbbjkbjvhvi jbhjbijbjjbvhbjbbjubjn ^ urare.cpp:32:67: error: 'jbhjbijbjjbvhbjbbjubjn' was not declared in this scope urare.cpp:33:9: error: expected ';' before 'v' v[i+1]=a[i]-'0'; ^ urare.cpp:35:12: error: 'cktwfnhprd' was not declared in this scope cout <<cktwfnhprd/nd. s\'ckxc cxlcvfv. ^ urare.cpp:35:23: error: 'nd' was not declared in this scope cout <<cktwfnhprd/nd. s\'ckxc cxlcvfv. ^ urare.cpp:36:9: error: expected ';' before 'l' l//|/., .]lo jk'k;'j;jl;jj;,j;k;.m, nkjkejudgsgfstegcxr24525r64fr536546565645462525wqxtxcsf cafcfgacxfzxzczczcczfsl[' ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Urare 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ă.