Borderou de evaluare (job #2162280)

Utilizator constantin.gabrielConstantin Gabriel constantin.gabriel Data 12 martie 2018 09:40:31
Problema Combinari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:13: error: too many decimal points in number var s:array[0..20] of longint; ^ user.cpp:24:14: warning: character constant too long for its type assign(input,'combinari.in');reset(input); ^ user.cpp:25:15: warning: character constant too long for its type assign(output,'combinari.out');rewrite(output); ^ user.cpp:1:1: error: ‘var’ does not name a type var s:array[0..20] of longint; ^ user.cpp:2:5: error: ‘n’ does not name a type n,k:longint; ^ user.cpp:4:1: error: ‘procedure’ does not name a type procedure back(l:longint); ^ user.cpp:5:1: error: ‘var’ does not name a type var i:longint; ^ user.cpp:6:1: error: ‘begin’ does not name a type begin ^ user.cpp:11:9: error: ‘writeln’ does not name a type writeln; ^ user.cpp:12:9: error: ‘end’ does not name a type end ^ user.cpp:18:21: error: expected constructor, destructor, or type conversion before ‘(’ token back(l+1); ^ user.cpp:19:17: error: ‘end’ does not name a type end; ^ user.cpp:20:9: error: ‘end’ does not name a type end; ^ user.cpp:21:1: error: ‘end’ does not name a type end; ^ user.cpp:23:1: error: ‘begin’ does not name a type begin ^ user.cpp:24:35: error: expected constructor, destructor, or type conversion before ‘(’ token assign(input,'combinari.in');reset(input); ^ user.cpp:25:7: error: expected constructor, destructor, or type conversion before ‘(’ token assign(output,'combinari.out');rewrite(output);

Ceva nu functioneaza?