I hereby claim:
- I am dnamsons on github.
- I am dnamsons (https://keybase.io/dnamsons) on keybase.
- I have a public key ASC8nDOONn7dqE_KV1-XWC4XiVvmQeCYlmqT0fDBQZoQ6Ao
To claim this, I am signing this object:
#include <iostream> | |
using namespace std; | |
int main() { | |
string ievade; | |
cin >> ievade; | |
int length = ievade.length(); | |
if(length <= 100) { | |
for(int i = 0; i < length; i++) { |
{ | |
"name": "Debug Current File", | |
"type": "Ruby", | |
"request": "launch", | |
"cwd": "${workspaceRoot}", | |
"program": "${file}", | |
"env": { | |
"pathToRDebugIDE": "/Users/namsodav/.rvm/gems/ruby-2.4.4/bin/rdebug-ide" | |
} | |
}, |
function prompt_rvm { | |
rbv=`rvm-prompt` | |
echo [$rbv] | |
} | |
function parse_git_branch { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
# user in blue@directory name in green[ruby version in red](current git branch in brown) |
General | |
vscode-icons | |
Code Runner | |
Live Server | |
TODO Highlight | |
Pomodoro Timer | |
Dash | |
Gitlens | |
vscode-pdf(?) | |
Wakatime(?) |
class Spiral | |
attr_accessor :array, :result, :upper_limit, :bottom_limit, :right_limit, :left_limit | |
def initialize(array) | |
@array = array | |
end | |
def order | |
@upper_limit = 0 | |
@bottom_limit = @array.length - 1 |
I hereby claim:
To claim this, I am signing this object:
#include <iostream> | |
#include <list> | |
using namespace std; | |
//Funkcija pārvieto pieprasīto elementu uz saraksta beigām | |
void do_move(list<int> &l, int n) | |
{ | |
list<int>::iterator iter = l.begin(); | |
for (int index = 0; index != n; ++iter, index++) |
#include <iostream> | |
using namespace std; | |
/* | |
==================================================================== | |
Dāvis Namsons stud. apl. nr. - dn17005 | |
==================================================================== | |
G6. Uzrakstīt funkciju, kas no diviem sarakstiem izveido trešo tā, | |
lai 3. sarakstā būtu visas vērtības no 1. un 2. saraksta | |
un izveidotajā sarakstā nebūtu elementu ar vienādām vērtībām. |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
int main() | |
{ | |
fstream fin; | |
fstream fout; | |
fin.open("cd.in",fstream::in); |