Borderou de evaluare (job #1547357)

Utilizator andru47Stefanescu Andru andru47 Data 9 decembrie 2015 13:24:27
Problema KBetray 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:11:23: error: ‘n’ was not declared in this scope scanf("%d %d\n", &n,&k); ^ user.cpp:11:26: error: ‘k’ was not declared in this scope scanf("%d %d\n", &n,&k); ^ user.cpp:15:27: error: ‘maX’ was not declared in this scope scanf("%d %d\n", &maX[i],&mIn[i]); ^ user.cpp:15:35: error: ‘mIn’ was not declared in this scope scanf("%d %d\n", &maX[i],&mIn[i]); ^ user.cpp:19:10: error: ‘maX’ was not declared in this scope sort(maX,maX+n+1,cmp); ^ user.cpp:20:10: error: ‘mIn’ was not declared in this scope sort(mIn,mIn+n+1); ^ user.cpp:25:5: error: expected ‘;’ before ‘}’ token } ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kebetray.in","r",stdin); ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kebetray.out","w",stdout); ^

Ceva nu functioneaza?