Вы находитесь на странице: 1из 7

Юркин и код

#1.1

Программа должна перводить введенный пользователем угол из градусов в радианы

code (C) :

#include <iostream>
#include <cmath>
#define PI acos(-1)
using namespace std;
int main()
{
bool a = "true";
double degr_angl=0.0;
printf("Write an angle in degrees, it will be converted to radians:\n");
scanf("%lf",&degr_angl);
printf("Degree:\t");
printf("Radians:\n");
while(a)
{
printf("%lf\t",degr_angl);
printf("%lf\n",degr_angl/180.0*PI);
scanf("%lf",&degr_angl);
}
return 0;
}

Commentary:
программа работает до определенного момента, после 6-7 вводов сломалась и просто
зациклилась
возможно это был рантайм
менее вероятно но все же может это особенности хранения памяти в переменной со
scanf

#1.2

Программа должна перводить введенный пользователем угол из радианов в градусы

code (C) :

#include <iostream>
#include <cmath>
#define PI acos(-1)
using namespace std;

void rad_to_degr(double rad_ang, bool a);

int main()
{
bool a = "true";
double rad_ang;
printf("Write an angle in radians, it will be converted to degrees:\nPress '0'
to exit programm\n");
scanf("%lf",&rad_ang);
rad_to_degr(rad_ang,a);
return 0;
}

void rad_to_degr(double rad_ang, bool a){


while(a){
printf("%lf\t",rad_ang);
printf("%lf\n",rad_ang/PI*180);
scanf("%lf",&rad_ang);
if(rad_ang==0.0)
{break;}
}
}

Commentary:
Программа работает, оформил все в виде функций, больше нечего говорить тут

//Function gets a value from zero to max value of char and prints the ASCII code
and a corresponding element
#include <iostream>
#include <cmath>
#include <cstring>
#include <climits>
void PrintASCII(int CodeNumber);

int main(){
using namespace std;
int chr1;

for ( chr1 = 0; ; ++chr1) {


if(chr1<=CHAR_MAX){
PrintASCII(chr1);
}
else break;
}

return 0;
}

void PrintASCII(int CodeNumber){


using std::cout;
using std::endl;
cout << "Code is " << CodeNumber << "\tSymbol is " << (char)CodeNumber<<endl;
}

#1.3

Из дюймов в метры

(через 2 месяца начать свой самый главный курс это from nand to tetris)
через 3-3.5 месяца начать учить алгоритмы
если с плюсами я очень быстро закончу то сосредоточится на математике и все же
начинать учить нанд только через 2 месяца
для лекций Иванова завести тетрадь для лекций и нужна тетрадь для решений
Кудрявцева

Понедельник

Прога
Матан
Итальянский
Шахматы

Вторник
Дискретка
Прога
Итальянкий

Среда
Линал Матан Итальянский Шахматы

Четверг
Прога
Итальянский

Пятница
Линал
Дискретка
Итальянский
Шахматы

Суббота
Матан
Линал
Итальянский

Воскр
Матан
Дискретка
Итальянский
Шахматы

Пропушить cs 50 и курс по матем мышлению за 2 недели


где строго по графику один день это просмотр лекций
вторгой день это я ищу доп информацию по теме по максимуму и ботая, решаю максимум
практических задач по этим темам
ищу их вообще где угодно
заканчиваю это и потом иду ботать Java через 2,5 месяца, а пока сосредоточусь на
математике и на плюсах, если пройду хотя бы 700 страниц праймира и нарешаю много
задач из сборников итд то будет огонь и можно будет спокойно начинать джавку
тем более это все я не заброшу так как есть курсы Хирьянова по плюсам так что легко
можно будет и алгоритмы подботать и на 2,5 месяца этого точно должно хватить мне
как для проги

точно нужно как-то подтверждать свои знания


если это матеша то там все понятно так как есть сборники заданий и во многом от них
я и отталкиваюсь
но с прогой все сложнее, есть конечно сборник Юрия но даже там все окей
в любом случае не нужно ставить себе больших целей и это главное
цель всей этой программы пока что это не знания, хотя если они появятся то это
будет огонь, цель этой порграммы доказать себе, что если каждый день делать
маленькие шажки, но каждый день и стабильно, то через эти 2,5 мясяца можно выучить
почти целый язык и результат будет значительнее чем после 3-4 дней тотального бота
языка etc

так еще нужно мне заботать vim, git, sql перед тем как ботать джавку
так что мне еще будет чем заняться эти 2 месяца
по максимуму почитать про базы данных и глубоко разобраться в их работе
когда начну учить джавку не забрасывать плюсы а только лучше практиковаться
так как я закончу курсы и у меня будет свободен слот под бот
добавить туда изучение алгоритмов (3 месяца) и статистики (6 месяцев)
начать учить питон и аналитику данных excel etc (8 месяцев)
(Нужно учитывать что это минимальное время перед тем, как я начну учить данную
технологию, язык, при этом всем акцент я делаю на математике и итальянском
алгоритмы я хочу учить только через 3-4 месяца чтобы у меня появилось понимагние
матеши перед алгоритмами)

Ладно я просто хочу провферить все ли в этой жизни подвержено рефлексам


ёкорпоче я просто должен каждый день просыпаться в 8,30 утра и в 9 посидеть ровно
два часа за линалом чтобы там не случилось
так работаю ровно 30 дней тоесть поледний день это 23 марта, посмотрим как я
вообще к этому отношусь ну чисто ради эксперемента все
потом просто я понижаю планку подьему до 7ми утра

1. Kinji Fukasaku's 'Battle Royale' (2000)

2. Woody Allen's 'Anything Else' (2003)

3. Takashi Miike's 'Audition' (1999)

4. Tsui Hark's 'The Blade' (1995)

5. Paul Thomas Anderson's 'Boogie Nights' (1997)

6. Richard Linklater's 'Dazed and Confused' (1993)

7. Lars Von Trier's 'Dogville' (2003)

8. David Fincher's 'Fight Club' (1999)

9. F Gary Gray's 'Friday' (1995)

10. Bong Joon-Ho's 'The Host' (2006)

11. Michael Mann's 'The Insider' (1999)

12. Park Chan Wook's 'Joint Security Area' Also known as 'JSA' (1999)

13. Sophia Coppola's 'Lost In Translation' (2003)

14. The Wachowaskis' 'The Matrix' (1999)

15. Bong Joon-Ho's 'Memories Of Murder' (2003)


16. Stanley Tong's 'Police Story 3' (1992)

17. Edgar Wright's 'Shaun Of The Dead' (2004)

18. Jan De Bont's 'Speed' (1994)

19. Trey Parker & Matt Stone's 'Team America' (2004)

20. M. Night Shyamalan's 'Unbreakable' (2000)

obliterate - destroy utterly; wipe out.

That`s by far our favourite episode


It`s all about Katty Li Gilfred coming to South Park
And Eric Cartman trying to BEEF himself UP for the big day
after he starts eating he gains 700 pounds that makes him almost as heavy as the
dog
was she flattered by her depiction here
both Travor and I really respect her work
Guns and bullets seem to be a recurring theme in South park, have either of you
ever killed anyone
I would never kill somebody unless thet piss me off
how you can do that and remain as pure as you both appear to be
well everybody believes that in order to do the south park we must be wild crazy
we are just wholesome middle american guys
we enjoy beating up people
this is the second episode we made called Nancy
this was the first episode done entirely by computer
we were trying to figure out how this could be done
but this script basically we made few episodes several months went by
we are gonna pay you guys to write another script and then will decide from there
if we want to do the series
we wrote this one just in sort to give an idea how different each episode age gonna
be
cause we ve been through that before
depite the end of it we sort of knew what south park was but in here we really
still bidding and our characters were still developing
but now the trick was you know we weren`t gonna spend 4 month cutting out all the
conjection paper for this scene anddoing ll new setups so we were hireing computer
people basically
come up with this whole thing really only took a few months right, we were able to
see the first test within the month or so
it is growth that decay than transfornation thats fascination
short handed
I was curious It is a professional curiosity
I was thinking maybe you and I could partner up
or I ll turn you in
turning 50 is a big deal
wait wait hold up
persuide meantime
in just 5 years it would be much much easier but back than it took probably the
most sophistic animation programm
we had maybe 15 animators total or 13 and than we had like 40
the whole idea behind this show
this was first like pick on a celebrity episode and in almost any episode like that
it was completely random
and then we got our fame and realised that we were exactly right
so that become a running theme

His new trousers ripped when he bent down.


I ripped my shirt on a nail.
I wish the old fireplaces hadn't been ripped out.
We ripped up the carpets and laid a new wooden floor.

It is not true that eating garlic repels mosquitoes


when I was in kinder garden
and the school system down there was just terrible
that is my dead on impersonation of him
so the big thing for us was that Jesus played such an important part in two shorts
which is obviously again at a time was a pretty tough thing to do
really just that much?
all we see is this little hint of
it was a big leaarning curve but it was still a third of the time that a
construction paper took
and now we can make a show in like a 5 days including the script which has twice as
many shots
thsese scripts used to be like 40 pages long and now the sp scripts are 50-60 pages
long
so we fedding almost twice as much material into the same amout of time
Those 3 clubs have 14 European trophies between them
He attempted to cover up all the traces of his crime
they were 2 apples down, but at the end of competition they equalysed and certainly
knew their route to victory, someone said that they were on the verge of somthing
special
The aggragate score was 2-2 so both teams had no idea of surrendering
If you are not in the best shappe and you start to reflect and punish yourself,
then just cheer up and give it a go
and even the atmosphere didn`t seem comductive to a comback
even if Villereal were to turn it round
as the battle played out all the throops from Helinky leaved the battlefield. it
was a dramatic victiry of Dasnish army
lit
he walked over to the glass and glanced into it
he could see the reflection it ead like a placid mask
or was merely his own fancy
wrinkled hands
I must get it arrenged and put straight before you go into it. It is not fit for
you to see to see, indeed
tremulously
silk
satin
splendid
his eye fell on
it was not that mere physical admiration of beauty
it dies when the the senses tire
but the future is inevitable
intensify
suspend
they begun the ascent
bulk
just lean it against the wall
a verdict of death by misadventure was returned
he frowned and tearing the paper in two went across the room and flung the pieces
away
rebellion
virtue

likewise - аналогично
carry on

nnoremap <C-f> :NERDTreeFocus<CR>


2 nnoremap <C-n> :NERDTree<CR>
1 nnoremap <C-t> :NERDTreeToggle<CR>
33 nmap <F8> :TagbarToggle<CR>

Вам также может понравиться