CCCPaste

Untitled

#include 
#include 
#include 
#include 

int main()
{
    int n,m;
    int maksimalen_broj=-1000000;
    int mi;
    int mj;
    scanf("%d%d",&n,&m);
    int mat[n][m];
    for(int i=0;i=0 && mj -1>=0){ // gore i levo
           printf("%d ",mat[mi-1][mj-1]);
         }
         if(mi-1>=0 && mj+1=0){ // dole i levo
            printf("%d ",mat[mi+1][mj-1]);
         }
         if(mi+1