Borderou de evaluare (job #1513781)

Utilizator TheNechizFMI Razvan Birisan TheNechiz Data 29 octombrie 2015 22:48:06
Problema Parantezare optima de matrici Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:7:1: error: unknown type name ‘using’ using namespace std; ^ user.c:7:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘main’: user.c:19:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=] scanf("%I64d",d+i); ^ user.c:39:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d",m[1][n]); ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(InFile,"r",stdin); ^ user.c:14:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(OutFile,"w",stdout); ^ user.c:17:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:19:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",d+i); ^

Ceva nu functioneaza?