Borderou de evaluare (job #982520)

Utilizator Deaconu_AndreiDeaconu Andrei Deaconu_Andrei Data 9 august 2013 13:52:59
Problema Gard Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:14: warning: character constant too long for its type [enabled by default] const filein='gard.IN'; ^ user.cpp:10:15: warning: character constant too long for its type [enabled by default] fileout='gard.OUT'; ^ user.cpp:14:22: error: too many decimal points in number type longarray=array[0..MAXN] of longint; ^ user.cpp:18:24: error: too many decimal points in number li,pi,si,ind:array[1..MAXK] of longint; ^ user.cpp:1:1: error: expected unqualified-id before ‘{’ token { Mugurel Ionut Andreica - Bucuresti, ROMANIA } ^ user.cpp:3:1: error: expected unqualified-id before ‘{’ token { Time Complexity: O(K*N*N) } ^ user.cpp:5:1: error: expected unqualified-id before ‘{’ token {$S-,I-,R-,Q-,N+} ^ user.cpp:6:1: error: expected unqualified-id before ‘{’ token {$M 65000,0,655360} ^ user.cpp:7:1: error: ‘Program’ does not name a type Program GARD; ^ user.cpp:9:7: error: ‘filein’ does not name a type const filein='gard.IN'; ^ user.cpp:10:7: error: ‘fileout’ does not name a type fileout='gard.OUT'; ^ user.cpp:11:7: error: ‘MAXN’ does not name a type MAXN=16000; ^ user.cpp:12:7: error: ‘MAXK’ does not name a type MAXK=100; ^ user.cpp:14:1: error: ‘type’ does not name a type type longarray=array[0..MAXN] of longint; ^ user.cpp:15:6: error: ‘plongarray’ does not name a type plongarray=^longarray; ^ user.cpp:17:1: error: ‘var’ does not name a type var fin,fout:text; ^ user.cpp:18:5: error: ‘li’ does not name a type li,pi,si,ind:array[1..MAXK] of longint;

Ceva nu functioneaza?