Problema | sir_munte | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #22742718 | Utilizator | |
Fișier | sir_munte.cpp | Dimensiune | 682 B |
Data încărcării | 03 Mai 2020, 20:47 | Scor / rezultat | Eroare de compilare |
sir_munte.cpp:11:8: error: stray '\302' in program {cout<<¨NU¨; ^ sir_munte.cpp:11:8: error: stray '\250' in program sir_munte.cpp:11:8: error: stray '\302' in program sir_munte.cpp:11:8: error: stray '\250' in program sir_munte.cpp:18:9: error: stray '\302' in program {cout<<¨NU¨; ^ sir_munte.cpp:18:9: error: stray '\250' in program sir_munte.cpp:18:9: error: stray '\302' in program sir_munte.cpp:18:9: error: stray '\250' in program sir_munte.cpp:25:9: error: stray '\302' in program {cout>>¨NU¨; ^ sir_munte.cpp:25:9: error: stray '\250' in program sir_munte.cpp:25:9: error: stray '\302' in program sir_munte.cpp:25:9: error: stray '\250' in program sir_munte.cpp:31:5: error: stray '\302' in program {cout<<¨NU¨; ^ sir_munte.cpp:31:5: error: stray '\250' in program sir_munte.cpp:31:5: error: stray '\302' in program sir_munte.cpp:31:5: error: stray '\250' in program sir_munte.cpp:34:5: error: stray '\302' in program cout<<¨DA¨; ^ sir_munte.cpp:34:5: error: stray '\250' in program sir_munte.cpp:34:5: error: stray '\302' in program sir_munte.cpp:34:5: error: stray '\250' in program sir_munte.cpp: In function 'int main()': sir_munte.cpp:8:14: error: conflicting declaration 'int v [(((sizetype)((ssizetype)n)) + 1)]' int v[n+1]; ^ sir_munte.cpp:6:23: error: 'v' has a previous declaration as 'int v [1001]' int i,n,nr_varf=0,v[1001]; ^ sir_munte.cpp:10:25: error: lvalue required as left operand of assignment if(v[1]>v[2] || v[1]=v[2]) ^ sir_munte.cpp:11:17: error: 'NU' was not declared in this scope {cout<<¨NU¨; ^ sir_munte.cpp:17:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(v[i]=v[i-1]) ^ sir_munte.cpp:18:18: error: 'NU' was not declared in this scope {cout<<¨NU¨; ^ sir_munte.cpp:24:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(nr_varf=1 && v[i-1]<v[i]) ^ sir_munte.cpp:25:18: error: 'NU' was not declared in this scope {cout>>¨NU¨; ^ sir_munte.cpp:31:14: error: 'NU' was not declared in this scope {cout<<¨NU¨; ^ sir_munte.cpp:34:13: error: 'DA' was not declared in this scope cout<<¨DA¨; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema sir_munte 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ă.