#include #include int main(void){ long a, b, c, d, f, g; int kask; long masmoot; long moblad[512][512]; long ridu=0; long sum; FILE *sfail=fopen("mob.in", "rt"); FILE *vfail=fopen("mob.out", "w"); while(!feof(sfail)){ ridu++; printf("K2sil rida %d...\n", ridu); fscanf(sfail, "%d", &kask); if (kask==0){ //1-ne käsurida - kui suur massiiv teha fscanf(sfail, "%d", &masmoot); f=0; for(f=0; f