SHARE
TWEET

uvaAllWalksOfLengthN__input

islam2366 Apr 22nd, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #define SIZE 10
  3. int Graph[SIZE][SIZE];
  4. int N;
  5. int M;
  6. void readCase()
  7. {
  8.     int i, j;
  9.     for (i = 0; i < M; i++) for (j = 0; j < M; j++)
  10.         scanf("%d", Graph[i][j]);
  11.     scanf("%*d");
  12. }
  13. void solveCase()
  14. {
  15.    
  16. }
  17. void printCase()
  18. {
  19.    
  20. }
  21. int main() {
  22.     while (2 == scanf("%d", &M, &N)) {
  23.         readCase();
  24.         solveCase();
  25.         printCase();   
  26.     }
  27.     return 0;
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top