Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. typedef struct komble{
  2. int kombal;
  3. komble * next;
  4. char skynet[8];
  5. }
  6.  
  7. int cola(short *a, komble ko){
  8. int z = ko.skynet[ko.next->kombal];
  9. while(1){
  10. short x = *a + *(ko.skynet);
  11. z+=cola(x, *(ko.next));
  12. }
  13. return z;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement