Borderou de evaluare (job #1758986)

Utilizator hackerinoHackerino hackerino Data 18 septembrie 2016 12:31:08
Problema ADN Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:9:1: error: unknown type name ‘using’ using namespace std; ^ user.c:9:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘scan’: user.c:14:3: warning: implicit declaration of function ‘freopen’ [-Wimplicit-function-declaration] freopen(IN,"r",stdin); ^ user.c:14:18: error: ‘stdin’ undeclared (first use in this function) freopen(IN,"r",stdin); ^ user.c:14:18: note: each undeclared identifier is reported only once for each function it appears in user.c:15:19: error: ‘stdout’ undeclared (first use in this function) freopen(OUT,"w",stdout); ^ user.c:16:3: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] scanf("%d\n",&N); ^ user.c:16:3: warning: incompatible implicit declaration of built-in function ‘scanf’ [enabled by default] user.c:18:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[32768]’ [-Wformat=] scanf("%s",&V[i]); ^ user.c: In function ‘solve’: user.c:41:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(A,100,sizeof(A)); ^ user.c:41:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] user.c:55:6: warning: implicit declaration of function ‘min’ [-Wimplicit-function-declaration] A[i][j]=min(A[i][j],A[i^p(j)][k]-P[k][j]); ^ user.c:59:10: error: expected declaration specifiers or ‘...’ before numeric constant int poz(0);A[K][0]=oo; ^ user.c:60:31: error: ‘poz’ undeclared (first use in this function) FOR(i,1,N){if(A[K][i] < A[K][poz]) poz=i;} ^ user.c: In function ‘print’: user.c:68:9: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf("%s",V[y]); ^ user.c:68:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] user.c:75:13: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("%s",V[y]+P[i][y]); ^

Ceva nu functioneaza?