sptask

2
#include<stdio.h> #include<stdlib.h> #include<string.h> int main() {  int a,b; // char c,d;  int m,p,x,y;  F!" $p;  $p%$open(&matrices.txt&,&r&);  i$($p %% '!!)  {  print$(&"rror opening&);  exit("*+F!-");   // rite$d % open (&/tmp/0$o1&, 1); // read$d % open (&/tmp/0$o2&, 3);  a%$getc($p)456;  print$(&7d&,a); // rite(rite$d,c,strlen(c));  $getc($p);  b%$getc($p)456;  print$(&7d&,b);

Upload: alapp-arslan

Post on 13-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

7/24/2019 spTask

http://slidepdf.com/reader/full/sptask 1/2

#include<stdio.h>

#include<stdlib.h>

#include<string.h>

int main()

{

  int a,b;

// char c,d;

  int m,p,x,y;

  F!" $p;

  $p%$open(&matrices.txt&,&r&);

  i$($p %% '!!)

  {

  print$(&"rror opening&);

  exit("*+F!-");

 

// rite$d % open (&/tmp/0$o1&, 1);

// read$d % open (&/tmp/0$o2&, 3);

  a%$getc($p)456;

  print$(&7d&,a);

// rite(rite$d,c,strlen(c));

  $getc($p);

  b%$getc($p)456;

  print$(&7d&,b);

7/24/2019 spTask

http://slidepdf.com/reader/full/sptask 2/2

  int matrix+18a98b9;

  $or(m%3;m<a;m::)

  {

  $or(p%3;p<b;p::)

  {

  matrix+18m98p9%($getc($p)43);

  $getc($p);

  i$($getc($p)%%n)

  brea=;

 

 

  $or(x%3;x<a;x::)

 {

  $or(y%3;y<b;y::)

  {

  print$(&7d&,matrix+18x98y9);

  print$(& &);

 

  print$(&n&);

 

// rite(rite$d,d,strlen(d));

// char matrix+18a98b9;

  return 3;