Borderou de evaluare (job #1891744)

Utilizator vladavladaa vlada Data 24 februarie 2017 11:54:00
Problema Curse de cai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:10: error: ‘t’ was not declared in this scope fin>>t; ^ user.cpp:9:9: error: ‘i’ was not declared in this scope for(i=1;i<=t;i++) ^ user.cpp:11:14: error: ‘n’ was not declared in this scope fin>>n; ^ user.cpp:12:13: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:13:14: error: ‘a’ was not declared in this scope fin>>a[j]; ^ user.cpp:14:13: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:15:14: error: ‘b’ was not declared in this scope fin>>b[j]; ^ user.cpp:16:14: error: ‘a’ was not declared in this scope sort(a+1,a+n+1); ^ user.cpp:16:23: error: ‘sort’ was not declared in this scope sort(a+1,a+n+1); ^ user.cpp:17:14: error: ‘b’ was not declared in this scope sort(b+1,b+n+1); ^ user.cpp:18:13: error: ‘j’ was not declared in this scope for(j=n+1;j<=2*n;j++) ^ user.cpp:20:9: error: ‘smax’ was not declared in this scope smax=-999999999; ^ user.cpp:21:13: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:23:13: error: ‘s’ was not declared in this scope s=0; ^ user.cpp:24:17: error: ‘k’ was not declared in this scope for(k=i;k<=i+n-1;k++) ^

Ceva nu functioneaza?