Borderou de evaluare (job #1186017)

Utilizator AlexandruGAlexandru Gheorghe AlexandruG Data 17 mai 2014 11:40:30
Problema Divk 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:19:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int’ [-Wformat=] fscanf(in,"%ld",v[i]) ^ user.cpp:20:5: error: expected ‘;’ before ‘}’ token } ^ user.cpp:16:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&n,&k,&a,&b); ^ user.cpp:20:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] } ^

Ceva nu functioneaza?