{"action":"created","comment":{"url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/comments/45132886","id":45132886,"diff_hunk":"@@ -0,0 +1,63 @@\n+//\n+// Created by pprokop on 11/17/15.\n+//\n+\n+#include<iostream>\n+\n+#define SIZE 80\n+#define MAX_SIZE 100000\n+using namespace std;\n+\n+class Fibonacci {\n+ public:\n+    /*\n+     * modulo = modulo parameter\n+     * pParam = pParam > qParam and pParam =< initSize\n+     * qParam = qparam < pParam and qParam =< initSize\n+     */\n+    Fibonacci(int modulo, int pParam, int qParam)\n+            : modulo(modulo), pParam(pParam), qParam(qParam) {}\n+    /*\n+     * Default constructor\n+     */\n+    Fibonacci() : modulo(1), pParam(1), qParam(1) {}\n+\n+    void set_m(int modulo){\n+        this->modulo = modulo;\n+    }\n+\n+    void set_p(int pParam){\n+        this->pParam = pParam;\n+    }\n+\n+    void set_q(int qParam){\n+        this->qParam = qParam;\n+    }\n+    /*","path":"exercise3/src/exercise3.cpp","position":36,"original_position":36,"commit_id":"708155156e0a66c917c913483eabccb35294a6b9","original_commit_id":"708155156e0a66c917c913483eabccb35294a6b9","user":{"login":"Bplotka","id":6950331,"avatar_url":"https://avatars.githubusercontent.com/u/6950331?v=3","gravatar_id":"","url":"https://api.github.com/users/Bplotka","html_url":"https://github.com/Bplotka","followers_url":"https://api.github.com/users/Bplotka/followers","following_url":"https://api.github.com/users/Bplotka/following{/other_user}","gists_url":"https://api.github.com/users/Bplotka/gists{/gist_id}","starred_url":"https://api.github.com/users/Bplotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bplotka/subscriptions","organizations_url":"https://api.github.com/users/Bplotka/orgs","repos_url":"https://api.github.com/users/Bplotka/repos","events_url":"https://api.github.com/users/Bplotka/events{/privacy}","received_events_url":"https://api.github.com/users/Bplotka/received_events","type":"User","site_admin":false},"body":"newline here","created_at":"2015-11-17T22:34:58Z","updated_at":"2015-11-17T22:34:58Z","html_url":"https://github.com/Bplotka/s2-modeling-and-simulations/pull/4#discussion_r45132886","pull_request_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/comments/45132886"},"html":{"href":"https://github.com/Bplotka/s2-modeling-and-simulations/pull/4#discussion_r45132886"},"pull_request":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4","id":51005644,"html_url":"https://github.com/Bplotka/s2-modeling-and-simulations/pull/4","diff_url":"https://github.com/Bplotka/s2-modeling-and-simulations/pull/4.diff","patch_url":"https://github.com/Bplotka/s2-modeling-and-simulations/pull/4.patch","issue_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/4","number":4,"state":"open","locked":false,"title":"Added multiplicative lagged Fibonacci generator","user":{"login":"PiotrProkop","id":10176859,"avatar_url":"https://avatars.githubusercontent.com/u/10176859?v=3","gravatar_id":"","url":"https://api.github.com/users/PiotrProkop","html_url":"https://github.com/PiotrProkop","followers_url":"https://api.github.com/users/PiotrProkop/followers","following_url":"https://api.github.com/users/PiotrProkop/following{/other_user}","gists_url":"https://api.github.com/users/PiotrProkop/gists{/gist_id}","starred_url":"https://api.github.com/users/PiotrProkop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiotrProkop/subscriptions","organizations_url":"https://api.github.com/users/PiotrProkop/orgs","repos_url":"https://api.github.com/users/PiotrProkop/repos","events_url":"https://api.github.com/users/PiotrProkop/events{/privacy}","received_events_url":"https://api.github.com/users/PiotrProkop/received_events","type":"User","site_admin":false},"body":"Implementation of multiplicative lagged Fibonacci generator.","created_at":"2015-11-17T21:16:19Z","updated_at":"2015-11-17T22:34:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"340463b551b4f18a9405f5f4a4e8bfd348d9ca26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/4/comments","statuses_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/statuses/708155156e0a66c917c913483eabccb35294a6b9","head":{"label":"Bplotka:prokop-fix","ref":"prokop-fix","sha":"708155156e0a66c917c913483eabccb35294a6b9","user":{"login":"Bplotka","id":6950331,"avatar_url":"https://avatars.githubusercontent.com/u/6950331?v=3","gravatar_id":"","url":"https://api.github.com/users/Bplotka","html_url":"https://github.com/Bplotka","followers_url":"https://api.github.com/users/Bplotka/followers","following_url":"https://api.github.com/users/Bplotka/following{/other_user}","gists_url":"https://api.github.com/users/Bplotka/gists{/gist_id}","starred_url":"https://api.github.com/users/Bplotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bplotka/subscriptions","organizations_url":"https://api.github.com/users/Bplotka/orgs","repos_url":"https://api.github.com/users/Bplotka/repos","events_url":"https://api.github.com/users/Bplotka/events{/privacy}","received_events_url":"https://api.github.com/users/Bplotka/received_events","type":"User","site_admin":false},"repo":{"id":43901160,"name":"s2-modeling-and-simulations","full_name":"Bplotka/s2-modeling-and-simulations","owner":{"login":"Bplotka","id":6950331,"avatar_url":"https://avatars.githubusercontent.com/u/6950331?v=3","gravatar_id":"","url":"https://api.github.com/users/Bplotka","html_url":"https://github.com/Bplotka","followers_url":"https://api.github.com/users/Bplotka/followers","following_url":"https://api.github.com/users/Bplotka/following{/other_user}","gists_url":"https://api.github.com/users/Bplotka/gists{/gist_id}","starred_url":"https://api.github.com/users/Bplotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bplotka/subscriptions","organizations_url":"https://api.github.com/users/Bplotka/orgs","repos_url":"https://api.github.com/users/Bplotka/repos","events_url":"https://api.github.com/users/Bplotka/events{/privacy}","received_events_url":"https://api.github.com/users/Bplotka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bplotka/s2-modeling-and-simulations","description":"Semester 2 of Informatics, PG","fork":false,"url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations","forks_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/forks","keys_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/teams","hooks_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/hooks","issue_events_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/events{/number}","events_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/events","assignees_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/assignees{/user}","branches_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/branches{/branch}","tags_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/tags","blobs_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/statuses/{sha}","languages_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/languages","stargazers_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/stargazers","contributors_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/contributors","subscribers_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/subscribers","subscription_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/subscription","commits_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/contents/{+path}","compare_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/merges","archive_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/downloads","issues_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues{/number}","pulls_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls{/number}","milestones_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/milestones{/number}","notifications_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/labels{/name}","releases_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/releases{/id}","created_at":"2015-10-08T16:09:48Z","updated_at":"2015-10-14T12:35:34Z","pushed_at":"2015-11-17T22:32:00Z","git_url":"git://github.com/Bplotka/s2-modeling-and-simulations.git","ssh_url":"git@github.com:Bplotka/s2-modeling-and-simulations.git","clone_url":"https://github.com/Bplotka/s2-modeling-and-simulations.git","svn_url":"https://github.com/Bplotka/s2-modeling-and-simulations","homepage":"","size":265,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Bplotka:master","ref":"master","sha":"4750666dd94cab5fca963babc8f49e98cf1f164b","user":{"login":"Bplotka","id":6950331,"avatar_url":"https://avatars.githubusercontent.com/u/6950331?v=3","gravatar_id":"","url":"https://api.github.com/users/Bplotka","html_url":"https://github.com/Bplotka","followers_url":"https://api.github.com/users/Bplotka/followers","following_url":"https://api.github.com/users/Bplotka/following{/other_user}","gists_url":"https://api.github.com/users/Bplotka/gists{/gist_id}","starred_url":"https://api.github.com/users/Bplotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bplotka/subscriptions","organizations_url":"https://api.github.com/users/Bplotka/orgs","repos_url":"https://api.github.com/users/Bplotka/repos","events_url":"https://api.github.com/users/Bplotka/events{/privacy}","received_events_url":"https://api.github.com/users/Bplotka/received_events","type":"User","site_admin":false},"repo":{"id":43901160,"name":"s2-modeling-and-simulations","full_name":"Bplotka/s2-modeling-and-simulations","owner":{"login":"Bplotka","id":6950331,"avatar_url":"https://avatars.githubusercontent.com/u/6950331?v=3","gravatar_id":"","url":"https://api.github.com/users/Bplotka","html_url":"https://github.com/Bplotka","followers_url":"https://api.github.com/users/Bplotka/followers","following_url":"https://api.github.com/users/Bplotka/following{/other_user}","gists_url":"https://api.github.com/users/Bplotka/gists{/gist_id}","starred_url":"https://api.github.com/users/Bplotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bplotka/subscriptions","organizations_url":"https://api.github.com/users/Bplotka/orgs","repos_url":"https://api.github.com/users/Bplotka/repos","events_url":"https://api.github.com/users/Bplotka/events{/privacy}","received_events_url":"https://api.github.com/users/Bplotka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bplotka/s2-modeling-and-simulations","description":"Semester 2 of Informatics, PG","fork":false,"url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations","forks_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/forks","keys_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/teams","hooks_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/hooks","issue_events_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/events{/number}","events_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/events","assignees_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/assignees{/user}","branches_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/branches{/branch}","tags_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/tags","blobs_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/statuses/{sha}","languages_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/languages","stargazers_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/stargazers","contributors_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/contributors","subscribers_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/subscribers","subscription_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/subscription","commits_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/contents/{+path}","compare_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/merges","archive_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/downloads","issues_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues{/number}","pulls_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls{/number}","milestones_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/milestones{/number}","notifications_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/labels{/name}","releases_url":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/releases{/id}","created_at":"2015-10-08T16:09:48Z","updated_at":"2015-10-14T12:35:34Z","pushed_at":"2015-11-17T22:32:00Z","git_url":"git://github.com/Bplotka/s2-modeling-and-simulations.git","ssh_url":"git@github.com:Bplotka/s2-modeling-and-simulations.git","clone_url":"https://github.com/Bplotka/s2-modeling-and-simulations.git","svn_url":"https://github.com/Bplotka/s2-modeling-and-simulations","homepage":"","size":265,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4"},"html":{"href":"https://github.com/Bplotka/s2-modeling-and-simulations/pull/4"},"issue":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/4"},"comments":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Bplotka/s2-modeling-and-simulations/statuses/708155156e0a66c917c913483eabccb35294a6b9"}}}}