Borderou de evaluare (job #2379963)
Utilizator | Data | 14 martie 2019 11:54:51 | |
---|---|---|---|
Problema | Concurs | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:64:19: warning: missing terminating " character
fprintf(g,"%d)
^
main.cpp:64:19: error: missing terminating " character
fprintf(g,"%d)
^~~~
main.cpp:11:1: error: expected initializer before 'int'
int val[32010], start[32010],rang[32020],log2[50002];
^~~
main.cpp: In function 'void read()':
main.cpp:17:24: error: 'val' was not declared in this scope
fscanf(f,"%d",&val[i]);
^~~
main.cpp:23:9: error: 'start' was not declared in this scope
start[x]=k2;
^~~~~
main.cpp: In function 'void euler(int)':
main.cpp:28:5: error: 'rmq' was not declared in this scope
rmq[0][++k]=nod;
^~~
main.cpp:29:9: error: 'poz' was not declared in this scope
if(!poz[nod])
^~~
main.cpp:31:15: error: 'start' was not declared in this scope
for(int i=start[nod]; i; i=v[i].next)
^~~~~
main.cpp:33:13: error: 'rang' was not declared in this scope
if(!rang[v[i].node)
^~~~
main.cpp:33:27: error: expected ']' before ')' token
if(!rang[v[i].node)
^
main.cpp: In function 'void logarithm()':
main.cpp:44:9: error: 'log2' was not declared in this scope
log2[i]=log2[i/2]+1;
^~~~
main.cpp: In function 'void build_rmq()':
main.cpp:53:16: error: 'rang' was not declared in this scope
if(rang[rmq[i-1][j]<rang[rmq[i-1][j-pow+1]])
^~~~
main.cpp:53:21: error: 'rmq' was not declared in this scope
if(rang[rmq[i-1][j]<rang[rmq[i-1][j-pow+1]])
^~~
main.cpp:53:56: error: expected ']' before ')' token
if(rang[rmq[i-1][j]<rang[rmq[i-1][j-pow+1]])
^
main.cpp: In function 'void write(int, int)':
main.cpp:62:11: error: 'log2' was not declared in this scope
int z=log2[b-a+1];
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !