Borderou de evaluare (job #1139582)

Utilizator omerOmer Cerrahoglu omer Data 11 martie 2014 11:55:53
Problema Albinuta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int next(int, int)’: user.cpp:16:12: error: ‘v’ was not declared in this scope return v[i][t%l[i]]; ^ user.cpp:16:19: error: ‘l’ was not declared in this scope return v[i][t%l[i]]; ^ user.cpp: In function ‘int find()’: user.cpp:21:23: error: ‘v’ was not declared in this scope int curr1=1,curr2=v[curr1][1],t1=1,t2=2; ^ user.cpp:22:25: error: ‘t1’ was not declared in this scope while(curr1!=curr2||t1%mult!=t2%mult) ^ user.cpp:22:28: error: ‘mult’ was not declared in this scope while(curr1!=curr2||t1%mult!=t2%mult) ^ user.cpp:22:34: error: ‘t2’ was not declared in this scope while(curr1!=curr2||t1%mult!=t2%mult) ^ user.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:38:22: error: ‘n’ was not declared in this scope fscanf(f,"%d%d",&n,&q); ^ user.cpp:38:25: error: ‘q’ was not declared in this scope fscanf(f,"%d%d",&n,&q); ^ user.cpp:39:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:41:27: error: ‘l’ was not declared in this scope fscanf(f,"%d",l[i]); ^ user.cpp:43:17: error: ‘j’ was not declared in this scope for(j=1;j<=l[i]-1;j++) fscanf(f,"%d",&v[i][j]); ^ user.cpp:43:51: error: ‘v’ was not declared in this scope for(j=1;j<=l[i]-1;j++) fscanf(f,"%d",&v[i][j]); ^ user.cpp:44:28: error: ‘v’ was not declared in this scope fscanf(f,"%d",&v[i][0]); ^ user.cpp: In function ‘int next(int, int)’: user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?