blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
8a3904353c3ce17be9c3fbbdc057e8b25ffb57a5
7cf592f14b32c9c549b6e73e992be9f154450dc3
/FutuOpenDClient/QuoteHandler.cpp
e13a3ef1b8cb7e44cc4a2ac69e6c5a36b998da94
[]
no_license
tonylibing/C-For-FutuOpenD
c6067477a253743ebf13ce08f1cc6e49989c6d11
5df2fbdba530eb6dc29c4e1ae76773acdd3097dc
refs/heads/master
2023-03-15T12:24:11.008889
2018-08-02T08:31:56
2018-08-02T08:31:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,962
cpp
QuoteHandler.cpp
#include "QuoteHandler.h" #include <iostream> #include <vector> #include "google/protobuf/message.h" #include "NetCenter.h" #include "pb/InitConnect.pb.h" #include "pb/Qot_Common.pb.h" #include "pb/Qot_Sub.pb.h" #include "pb/Qot_RegQotPush.pb.h" #include "pb/Qot_UpdateTicker.pb.h" #include "pb/GetGlobalState.pb.h" #include "pb/Qot_UpdateBroker.pb.h" #include "pb/Qot_UpdateOrderBook.pb.h" using namespace std; namespace ftq { bool ParsePb(google::protobuf::Message *pPbObj, u32_t nProtoID, const i8_t *pData, i32_t nLen) { if (!pPbObj->ParseFromArray(pData, nLen)) { cerr << "Protobuf parse error: ProtoID=" << nProtoID << endl; return false; } return true; } void QuoteHandler::OnRsp_InitConnect(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_InitConnect: " << endl; InitConnect::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << endl; if (rsp.rettype() != 0) { return; } m_nKeepAliveInterval = rsp.s2c().keepaliveinterval(); m_nUserID = rsp.s2c().loginuserid(); //启动心跳定时器 NetCenter::Default()->StartKeepAliveTimer(m_nKeepAliveInterval * 4 / 5); //获取市场全局状态 NetCenter::Default()->Req_GetGlobalState(m_nUserID); //subscribe stock Qot_Common::Security stock; stock.set_market(Qot_Common::QotMarket_HK_Security); stock.set_code("00700"); vector<Qot_Common::Security> stocks; stocks.push_back(stock); vector<Qot_Common::SubType> subTypes; subTypes.push_back(Qot_Common::SubType_OrderBook); subTypes.push_back(Qot_Common::SubType_Broker); vector<Qot_Common::RehabType> rehabTypes; rehabTypes.push_back(Qot_Common::RehabType_None); //订阅00700的逐笔数据 NetCenter::Default()->Req_Subscribe(stocks, subTypes, true, true, rehabTypes, true); //注册接收逐笔推送 NetCenter::Default()->Req_RegPush(stocks, subTypes, rehabTypes, true, true); } void QuoteHandler::OnRsp_KeepAlive(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_KeepAlive: " << endl; } void QuoteHandler::OnRsp_GetGlobalState(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_GetGlobalState: " << endl; GetGlobalState::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << "; ServerVer=" << rsp.s2c().serverver() << "; " << endl; } void QuoteHandler::OnRsp_Qot_Sub(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_Qot_Sub: " << endl; Qot_Sub::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << endl; } void QuoteHandler::OnRsp_Qot_RegQotPush(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_Qot_RegQotPush:" << endl; Qot_RegQotPush::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << endl; } void QuoteHandler::OnRsp_Qot_UpdateTicker(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_Qot_UpdateTicker:" << endl; Qot_UpdateTicker::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << endl; if (rsp.rettype() != 0) { return; } for (int i = 0; i < rsp.s2c().tickerlist_size(); ++i) { const Qot_Common::Ticker &data = rsp.s2c().tickerlist(i); cout << "Ticker: Code=" << rsp.s2c().security().code() << "; Time=" << data.time() << "; Price=" << data.price() << ";" << endl; } } void QuoteHandler::OnRsp_Qot_UpdateBroker(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_Qot_UpdateBroker:" << endl; Qot_UpdateBroker::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << endl; if (rsp.rettype() != 0) { return; } for (int i = 0; i < rsp.s2c().brokerasklist_size(); ++i) { const Qot_Common::Broker &data = rsp.s2c().brokerasklist(i); cout << "Broker: ID=" << data.id() << ";" << endl; } } void QuoteHandler::OnRsp_Qot_UpdateOrderBook(const APIProtoHeader &header, const i8_t *pData, i32_t nLen) { cout << "OnRsp_Qot_UpdateOrderBook:" << endl; Qot_UpdateOrderBook::Response rsp; if (!ParsePb(&rsp, header.nProtoID, pData, nLen)) { return; } cout << "Ret=" << rsp.rettype() << "; Msg=" << rsp.retmsg() << endl; if (rsp.rettype() != 0) { return; } for (int i = 0; i < rsp.s2c().orderbookasklist_size(); ++i) { const Qot_Common::OrderBook &data = rsp.s2c().orderbookasklist(i); cout << "Price: " << data.price() << endl; } } }
5c7e48df23168248a121262d3bc3e291b07cd100
640e0a3b6f14acf262d9a2fa91efab88cd396536
/ZBarCodeReader/xmlsurfaceparser.h
e19a148af8a371dfb6c172714cd3a3c43bc921d2
[]
no_license
UAV-Concordia/Report-Builder
4130488c5ea5a58ffe267ae53db1ae0b4c06aa46
5267a33bde51d7501bb667ea822a68e768afe144
refs/heads/master
2020-05-18T02:42:01.699487
2015-05-01T22:42:16
2015-05-01T22:42:16
32,762,344
0
0
null
null
null
null
UTF-8
C++
false
false
935
h
xmlsurfaceparser.h
#ifndef XMLSURFACEPARSER_H #define XMLSURFACEPARSER_H #include <vector> #include <string> #include <iostream> #include "tinyxml/tinyxml2.h" using namespace std; using namespace tinyxml2; class XMLSurfaceParser { public: XMLSurfaceParser(); ~XMLSurfaceParser(); void readFile(); void setFilePath(string path); string getFilepath(); void parse(); //vector<string>& split(char delim, string toParse, int rep = 0); vector< vector <double>>& getBoundingPolygon(int index); string getName(int index); int getNumberOfParsedObjects(); private: //vector<string> flds; //vector<string> lines; string filePath; XMLDocument doc; XMLElement* rootElement; XMLElement* documentElement; XMLElement* folderElement; vector<XMLElement*> placemarkElements; vector<string>& XMLSurfaceParser::split(char delim, string toParse, int rep); }; #endif // XMLSURFACEPARSER_H
1362585b8b789c42956c206db526f3e9e7064d6a
7eea3822a8af5a07d0299bc372e50a714b86f648
/ConsoleApplication1/Specialization1.cpp
5cc6918330a8c176c69116694f5d3b147d72867a
[]
no_license
songminkyu/CPP_TEST_UNTIL_17
c6eade1d64e83d0b246554abce71d3a9bd3ea415
4c95c072512b289373d27bb2d5aff5c0f60042b5
refs/heads/master
2022-12-09T23:33:38.635871
2020-09-03T17:30:56
2020-09-03T17:30:56
291,965,429
1
0
null
null
null
null
UTF-8
C++
false
false
356
cpp
Specialization1.cpp
#include "stdafx.h" #include <iostream> namespace NS { inline namespace detail { template <typename T> void test(); } template<> void test<int>() { std::cout << "test<int>" << std::endl; } template<> void test<double>() { std::cout << "test<double>" << std::endl; } } int main() { using namespace NS; test<int>(); test<double>(); }
d9cc33ebfd7e684fbeed7ea73f5100fe9e3aefbc
a4dc28805210a7aa505e32f0288a9d4abb37677c
/DaleJr/VarFun.cpp
8c2f34991d4e44ab5a23bb9c0245b366a974715a
[]
no_license
hunterxtang/CodeLand
b79ea43458af2e4581c8957ec98a37dec7089fa4
810c588316b50bbc8adc469e1ba59bce2afa718d
refs/heads/master
2020-04-14T09:02:07.466777
2019-05-11T18:08:31
2019-05-11T18:08:31
163,750,253
0
0
null
null
null
null
UTF-8
C++
false
false
171
cpp
VarFun.cpp
#include <iostream> using namespace::std; int main() { int number = 22; if(number % 2 == 1) cout<< "Odd" <<endl; else { cout<< "Even" <<endl; } return(0); }
545da113d2a34af44d0b3ba10b2f6622d8e4dd7f
62d74675721d939baae340864c0e79d3037df189
/predict the output all/predict the output on static/8.cpp
9ddfbaa4ecca25904eb1b4dcce5db7d13cb1e75a
[]
no_license
shubhamkanade/cpp-program
c5fe1c85d2adac7c67ebd934c34e9b69509466d4
0cf279bd9cd473541a8a72bfee1f4b948d7fdaba
refs/heads/master
2021-07-12T08:49:14.479420
2021-07-06T03:24:06
2021-07-06T03:24:06
172,293,386
0
0
null
null
null
null
UTF-8
C++
false
false
200
cpp
8.cpp
#include<iostream> using namespace std; class Demo { public: int i; static int k; Demo() { i=10; } }; int Demo::k=20; int main() { Demo dobj; cout<<dobj.k<<Demo::k<<endl; return 0; }
18d43bdff2cccb037f3443ffe2bba18f0aff2212
5795150f1d7fd799a94245b28e852ff472fcd4db
/cubegui-4.4-TP3/src/GUI-qt/plugins/Barplot/BarplotArea.h
df0a12fc6a1672c8f9e230b92cec7518950332f3
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
simbadSid/julich_testAssignment_cubePlugin
59a5d328b8dedc2d6f2c2aa59246df5b93c43d29
0b126b80295ade4f4f22f7c55c67efe8e5386ff2
refs/heads/master
2020-06-21T14:37:36.769644
2016-12-08T19:11:02
2016-12-08T19:11:02
74,790,070
0
0
null
null
null
null
UTF-8
C++
false
false
2,301
h
BarplotArea.h
/**************************************************************************** ** CUBE http://www.scalasca.org/ ** ***************************************************************************** ** Copyright (c) 1998-2016 ** ** Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre ** ** ** ** Copyright (c) 2009-2015 ** ** German Research School for Simulation Sciences GmbH, ** ** Laboratory for Parallel Programming ** ** ** ** This software may be modified and distributed under the terms of ** ** a BSD-style license. See the COPYING file in the package base ** ** directory for details. ** ****************************************************************************/ #ifndef BARPLOTAREA_H #define BARPLOTAREA_H #include <QWidget> #include <QList> #include <QPoint> #include <QMouseEvent> #include "CubeDataItem.h" #include "AbstractPlotArea.h" #include "globals.h" /** * This class is resposible for drawing the bars plots. It displays the plots according to their z-order, it also displays the legend. It offers a method to draw the plots using any QPainter so it can used to draw the plots on an image file for example. * Please note that you should not use this class directly as a placeholder for sending/receiving events. The corresponding controller must be used instead. * @see AbstractBarsPlotAreaController */ class BarPlotArea : public AbstractPlotArea { public: explicit BarPlotArea( QWidget* parent = 0 ); public: void doPaint( QRect viewport, QPainter* painter ); void setDataRef(QList<CubeDataItem> data); void reset(); // void // setDisplayStatus(bool newDisplayStatus); protected: virtual void initComponents(); virtual QPixmap generateLegend(); virtual void paintEvent(QPaintEvent *); QList<CubeDataItem> data; //bool displayStatus; }; #endif // BARPLOTAREA_H
c5ff83673613df46e0f1c80ca5579f2b03d9346e
52346de88a47f70ed63335b21ff12748bbbb5cba
/modules/perception/camera/lib/obstacle/tracker/common/similar.cc
e7f00fb91a917f82b4020cf481c27e933a77ce01
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
lgsvl/apollo-5.0
064537e31c5d229c0712bfcd4109af71dbf1d09d
105f7fd19220dc4c04be1e075b1a5d932eaa2f3f
refs/heads/simulator
2022-03-08T09:18:02.378176
2021-10-01T22:07:57
2021-10-01T22:07:57
203,249,539
86
115
Apache-2.0
2022-02-11T02:55:46
2019-08-19T21:00:15
C++
UTF-8
C++
false
false
1,828
cc
similar.cc
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *****************************************************************************/ #include "modules/perception/camera/lib/obstacle/tracker/common/similar.h" #include "modules/perception/base/blob.h" namespace apollo { namespace perception { namespace camera { bool CosineSimilar::Calc(CameraFrame *frame1, CameraFrame *frame2, base::Blob<float> *sim) { auto n = frame1->detected_objects.size(); auto m = frame2->detected_objects.size(); if ((n && m) == 0) { return false; } sim->Reshape({static_cast<int>(n), static_cast<int>(m)}); float *sim_data = sim->mutable_cpu_data(); auto dim = frame1->detected_objects[0]->camera_supplement.object_feature.size(); for (auto &object1 : frame1->detected_objects) { for (auto &object2 : frame2->detected_objects) { float s = 0.0f; for (size_t k = 0; k < dim; ++k) { s += object1->camera_supplement.object_feature[k] * object2->camera_supplement.object_feature[k]; } *sim_data = s; ++sim_data; } } return true; } } // namespace camera } // namespace perception } // namespace apollo
574ba198838e1e7df62b46012ea8abe977f7b5fe
4a8f191e0613b25eb97d930eaff3b8fa8918060b
/WindowRenderer.cpp
c9d0bff4208e21ae288863fac10da9d93661094c
[ "MIT" ]
permissive
hberker/sdl-platformer
cbb33176daf7de293bfa75798d5129bf3ae2235e
9629aebcb80dfd0eeecf808ff1ee83312690bb11
refs/heads/master
2023-02-19T17:00:45.074695
2021-01-13T13:38:39
2021-01-13T13:38:39
260,585,123
0
0
null
null
null
null
UTF-8
C++
false
false
2,343
cpp
WindowRenderer.cpp
#ifndef WINDOW_RENDERER_CPP #define WINDOW_RENDERER_CPP #include "include/WindowRenderer.hpp" #include "include/Tile.hpp" #include "include/utility.hpp" #include "include/Player.hpp" #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <iostream> WindowRenderer::WindowRenderer(const char window_name[], int width, int height) { this->window = SDL_CreateWindow(window_name, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, width, height,SDL_WINDOW_SHOWN); if(this->window == NULL) { std::cout << "Error creating window: "<< SDL_GetError() << std::endl; SDL_Quit(); } this->renderer = SDL_CreateRenderer(this->window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC); if(this->renderer == NULL) { std::cout << "Error creating Renderer: "<< SDL_GetError() << std::endl; SDL_Quit(); } } WindowRenderer::~WindowRenderer() { SDL_DestroyWindow(this->window); SDL_DestroyRenderer(this->renderer); } SDL_Texture * WindowRenderer::load_texture(const char * path) { SDL_Texture * texture = NULL; texture = IMG_LoadTexture(this->renderer, path); if (texture == NULL) { std::cout << "Failed to load texture. Error: " << SDL_GetError() << std::endl; } return texture; } void WindowRenderer::render_tile(Tile * tile, SDL_Rect &camera, SDL_Texture * texture) { if(check_collision(tile->get_destination(),camera)) { int x = tile->get_destination().x - camera.x; int y = tile->get_destination().y - camera.y; SDL_Rect renderQuad = { x, y, tile->get_destination().w, tile->get_destination().h}; SDL_RenderCopy(this->renderer, texture, (tile->get_clip()), &(renderQuad)); } } void WindowRenderer::render_player(Player &player, SDL_Rect &camera) { int x= player.get_hit_box()->x - camera.x; int y = player.get_hit_box()->y - camera.y; SDL_Rect renderQuad = { x, y , player.get_hit_box()->w , player.get_hit_box()->h }; SDL_RenderCopy(this->renderer,player.get_texture(),&(PLAYER_CLIP_LOCATIONS[player.get_player_direction()]), &renderQuad); } void WindowRenderer::display() { SDL_RenderPresent(this->renderer); } void WindowRenderer::clear() { SDL_SetRenderDrawColor( this->renderer, 0xFF, 0xFF, 0xFF, 0xFF ); SDL_RenderClear(this->renderer); } #endif
c7900a3fa212ecc684135b9651df100a87c86673
3d1e23090d20db288b4c99e774c50e933ed9db8a
/GeoWars/Player.cpp
7690e87855bcffd6cf5da3fd6c06dde32fbcb072
[]
no_license
RianC4rl0s/PlaTank_tp3_jogos
08c73928b036ea4f63be2e0f78e616b5a1a893bd
a71a79e1fab66a730d341f0492fdc862822e3fd4
refs/heads/main
2023-09-05T11:05:49.112153
2021-11-23T18:56:21
2021-11-23T18:56:21
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
7,928
cpp
Player.cpp
/********************************************************************************** // Player (Código Fonte) // // Criação: 10 Out 2012 // Atualização: 01 Nov 2021 // Compilador: Visual C++ 2019 // // Descrição: Define a classe jogador // **********************************************************************************/ #include "Player.h" #include "GeoWars.h" #include "Missile.h" #include "Hud.h" #include "Light.h" #include "Explosion.h" // ------------------------------------------------------------------------------- Controller* Player::gamepad = nullptr; bool Player::ControllerOn = false; uint Player::XboxPlayer = PLAYER1; bool Player::defeat = false; int Player::score = 0; int Player::currentLife = 100; Player::Player() { // Inicializa um controler gamepad = new Controller(); ControllerOn = gamepad->XboxInitialize(XboxPlayer); // configuração do objeto sprite = new Sprite("Resources/Player.png"); speed = new Vector(90.0f, 0.0f); BBox(new Rect(-37.5f, -35.0f, 37.5f, 35.0f)); MoveTo(game->CenterX(), game->CenterY()); type = PLAYER; // configuração do gerador de partículas Generator emitter; emitter.imgFile = "Resources/Tracks.png"; // arquivo de imagem emitter.angle = 270.0f; // ângulo base do emissor emitter.spread = 0; // espalhamento em graus emitter.lifetime = 3.0f; // tempo de vida em segundos emitter.frequency = 0.08f; // tempo entre geração de novas partículas emitter.percentToDim = 1.8f; // desaparece após 60% da vida emitter.minSpeed = 0.0f; // velocidade mínima das partículas emitter.maxSpeed = 0.0f; // velocidade máxima das partículas emitter.color.r = 1.0f; // componente Red da partícula emitter.color.g = 1.0f; // componente Green da partícula emitter.color.b = 1.0f; // componente Blue da partícula emitter.color.a = 1.0f; // transparência da partícula // cria sistema de partículas tail = new Particles(emitter); } // ------------------------------------------------------------------------------- Player::~Player() { delete sprite; delete speed; delete tail; } void Player::OnCollision(Object* obj) { if (obj->Type() == ORANGE) { currentLife -= 20; GeoWars::scene->Add(new Explosion(obj->X(), obj->Y()), STATIC); GeoWars::scene->Delete(obj, MOVING); } if (obj->Type() == SPAWNER) { motor = false; speed->RotateTo(speed->Angle() + 180); speed->ScaleTo(10.0f); timer.Start(); } if (obj->Type() == MINI_BOSS) { motor = false; speed->RotateTo(speed->Angle() + 180); speed->ScaleTo(10.0f); timer.Start(); GeoWars::scene->Add(new Explosion(y, x), STATIC); currentLife -= 20; } if (obj->Type() == OIL) { if (speed->Magnitude() > 0.1f) { speed->Rotate(300 * gameTime); } } if (obj->Type() == ENMEY_PROJECTILE) { currentLife -= 10; GeoWars::scene->Add(new Light(obj->X(), obj->Y()), STATIC); GeoWars::scene->Delete(obj, STATIC); } if (obj->Type() == HEAVYITEM) { GeoWars::audio->Play(HEAVY); gun->activeGun = 2; gun->ammo = 60; GeoWars::scene->Delete(obj, STATIC); } if (obj->Type() == SHOTGUNITEM) { GeoWars::audio->Play(SHOTGUN); gun->activeGun = 1; gun->ammo = 21; GeoWars::scene->Delete(obj, STATIC); } } // ------------------------------------------------------------------------------- void Player::Move(Vector && v) { speed->Add(v); // limita velocidade máxima if (speed->Magnitude() > 10.0f) speed->ScaleTo(10.0f); } void Player::Reset() { defeat = false; score = 0; MoveTo(game->CenterX(), game->CenterY()); currentLife = 100; speed->Rotate(0); speed->ScaleTo(0); gun->activeGun = 0; } // ------------------------------------------------------------------------------- void Player::Update() { // magnitude do vetor aceleração float accel = 40.0f * gameTime; if (!motor && timer.Elapsed(0.25f)) motor = true; if (motor) { if (ControllerOn) { gamepad->XboxUpdateState(XboxPlayer); float ang = Line::Angle(Point(0, 0), Point(gamepad->XboxAnalog(ThumbLX) / 327.67f, -gamepad->XboxAnalog(ThumbLY) / 327.67f)); float mag = Point::Distance(Point(0, 0), Point(gamepad->XboxAnalog(ThumbLX) / 327.67f, -gamepad->XboxAnalog(ThumbLY) / 327.67f)); // nenhuma direção selecionada if (mag == 0) { // se a velocidade estiver muita baixa if (speed->Magnitude() < 0.1) { // apenas pare speed->ScaleTo(0.0f); } else { // comece a frear Move(Vector(speed->Angle() + 180.0f, 5.0f * gameTime)); } } else { // ande na direção selecionada Move(Vector(ang, mag * gameTime)); } } else { // modifica vetor velocidade do player if (window->KeyDown(VK_RIGHT) && window->KeyDown(VK_UP)) Move(Vector(45.0f, accel)); else if (window->KeyDown(VK_LEFT) && window->KeyDown(VK_UP)) Move(Vector(135.0f, accel)); else if (window->KeyDown(VK_LEFT) && window->KeyDown(VK_DOWN)) Move(Vector(225.0f, accel)); else if (window->KeyDown(VK_RIGHT) && window->KeyDown(VK_DOWN)) Move(Vector(315.0f, accel)); else if (window->KeyDown(VK_RIGHT)) Move(Vector(0.0f, accel)); else if (window->KeyDown(VK_LEFT)) Move(Vector(180.0f, accel)); else if (window->KeyDown(VK_UP)) Move(Vector(90.0f, accel)); else if (window->KeyDown(VK_DOWN)) Move(Vector(270.0f, accel)); else // se nenhuma tecla está pressionada comece a frear if (speed->Magnitude() > 0.1f) Move(Vector(speed->Angle() + 180.0f, 5.0f * gameTime)); else // velocidade muita baixa, não use soma vetorial, apenas pare speed->ScaleTo(0.0f); } } // movimenta objeto pelo seu vetor velocidade Translate(speed->XComponent() * 50.0f * gameTime, -speed->YComponent() * 50.0f * gameTime); // atualiza calda do jogador if (speed->Magnitude() != 0.0f) tail->Generate(x - 10 * cos(speed->Radians()), y + 45 * sin(speed->Radians())); tail->Config().angle = speed->Angle() + 180; tail->Update(gameTime); // restringe a área do jogo if (x < 85) MoveTo(85, y); if (y < 85) MoveTo(x, 85); if (x > game->Width() - 85) MoveTo(game->Width() - 85, y); if (y > game->Height() - 85) MoveTo(x, game->Height() - 85); //Rotaciona o object para que seu bbox use o angulo calculado RotateTo(-speed->Angle() + 90.0f); if (currentLife < 10) defeat = true; } // --------------------------------------------------------------------------------- void Player::Draw() { sprite->Draw(x, y, Layer::UPPER, 1.0f, -speed->Angle() + 90.0f); tail->Draw(Layer::LOWER); } // -------------------------------------------------------------------------------
7b207db654fab47e93751a1154537e06f5f57990
2259f74a232e176ac54ae21b52396c6e76f70b89
/Code/1_InputHandler/Src/main.cpp
275af9fc8d6627e07e47c3d9ab795372d0a1bf3f
[]
no_license
SubspaceBob/bootcamp_project
0db4d191b801b53248dfe71234547e1ff0d7ca81
f906a3ea51112241299a5261140cb90157ebc9cf
refs/heads/main
2023-01-20T22:03:08.377988
2020-11-27T07:16:32
2020-11-27T07:16:32
308,638,661
0
0
null
2020-11-26T15:06:09
2020-10-30T13:28:36
C++
UTF-8
C++
false
false
241
cpp
main.cpp
#include "input_handler.h" int main() { int cycleTime = 100; // Rough Can cycletime in ms const_ InputHandler inpHandl; bool stop = false; while (!stop) { stop = inpHandl.run(cycleTime); } return 0; }
c12fa42362c4fc499773b206cec2b3aa738df300
8bb3d5309fc86eee5e379f50d505f63700689ab6
/LineSensor/lineSensor.ino
e32ef0125ffb0d11e967ad571c26fe8f15928688
[]
no_license
MrLegge/RoboCup
f569ecd9b905dde4cbcba6ccbd2025e9f2a22c8f
c1cffd9d6b238329828ca81aa3ff62fe0ba93a1d
refs/heads/master
2023-08-17T16:19:21.817439
2023-08-06T01:59:02
2023-08-06T01:59:02
97,781,780
1
0
null
null
null
null
UTF-8
C++
false
false
450
ino
lineSensor.ino
/* LineSensor.ino - Demonstration of how to use the LineSensor Author: Phil Legge 12/11/18 email: phil.legge@det.nsw.edu.au */ #include "LineSensor.h" LineSensor *mySensor; void setup() { mySensor = new LineSensor(); //mySensor = new LineSensor(2); } void loop() { if(mySensor->onLine()){ delay(10); Serial.println("On the line"); delay(1000); }else{ Serial.println("Not on a line"); delay(1000); } }
d501389cb5c9db3c754ab237c9a6c8d788cf1d30
bc138e771c1aca344c5a1fd44b127ddf29365049
/CF_EDU_94_A.cpp
e2ac4bd75feabd25708bbeafa0c5ab9da81763f6
[]
no_license
ShubhankarKate/CodingStuff
ef65ef4df290658dfe526c4659356fc6dbbc0cc8
e014dcf1578a225f9e64e66ccd0ae37290800f1f
refs/heads/main
2023-01-25T03:42:15.311537
2020-11-27T17:53:27
2020-11-27T17:53:27
316,515,873
0
0
null
null
null
null
UTF-8
C++
false
false
375
cpp
CF_EDU_94_A.cpp
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int t,n,k; string s,f; cin>>t; while(t--) { f=""; cin>>n; cin>>s; for(int i=0;i<n;i++) { f = f + s[n-1]; } cout<<f<<endl; } }
c6b9373a5826c7965c00b5be817bd66da4b8ff9f
73e9022abe8c2690cefb2bf89a28437f970554ef
/uri/Cpp/1014.cpp
596c9fd7ff59f632589e6ba9e373b45a274aa902
[]
no_license
ajunior/cp
d1e9e392e8c439fbf7acbd0f61fe09c090524d70
4e0ddbe66c48241c656f4d09c9ddcd39ae25db52
refs/heads/master
2023-09-05T02:59:16.675143
2023-08-23T21:03:23
2023-08-23T21:03:23
47,352,135
1
7
null
2018-04-07T02:58:04
2015-12-03T18:36:13
C++
UTF-8
C++
false
false
260
cpp
1014.cpp
#include <iostream> #include <iomanip> using namespace std; int main() { int distancia; double gasolina; cin >> distancia >> gasolina; cout << setprecision(3) << fixed; cout << distancia/gasolina << " km/l\n"; return EXIT_SUCCESS; }
1d2860c65310e65d5dc29e0626d305507f2de517
7dfbb3fde81fe6afbb60eff188f40e5915eed05f
/09/Sequential Containers/Sequential Containers/EX9.45.cpp
c4359c48a97a489f00f71247e7705ef59fb63b17
[]
no_license
godNights/My-C-Plus-Plus-Primer
60b10f80de66cedc579e8caf5efb90252df77333
61402f4824d8006819ce43dabe7dbe971e280418
refs/heads/master
2020-06-23T13:40:22.919862
2017-02-12T08:50:40
2017-02-12T08:50:40
74,646,903
0
0
null
null
null
null
UTF-8
C++
false
false
472
cpp
EX9.45.cpp
#include <string> #include <iostream> using std::string; using std::endl; using std::cout; using std::cin; string newName(const string &s, const string &prefix, const string &suffix) { string s1 = s; s1.insert(s1.begin(), prefix.cbegin(), prefix.cend()); s1.append(suffix); return s1; } int main() { string s, prefix, suffix, name; cin >> s >> prefix >> suffix; name = newName(s, prefix, suffix); cout << s << " " << name << endl; system("pause"); return 0; }
bb40d33dbed1bad85f1856075f1b6d34c15f3a3d
f81749de4aad3955433ef183dba9813cd54af57f
/instance/problem/continuous/expensive/CEC2015/F6_shifted_rotated_happy_cat.cpp
85901a234ff082ce0eb2028b73116d8add83fee6
[]
no_license
Strawberry9583/OFEC_Alpha
bc27208143647e91f5acd7cfc86b666c8a59aac4
f251f02d8d63544f49d832efa8acb06da5cd028a
refs/heads/master
2021-08-22T11:00:32.068132
2017-11-28T02:04:36
2017-11-28T02:04:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
940
cpp
F6_shifted_rotated_happy_cat.cpp
#include "F6_shifted_rotated_happy_cat.h" namespace OFEC { namespace CEC2015 { F6_shifted_rotated_happy_cat::F6_shifted_rotated_happy_cat(param_map &v) :problem((v[param_proName]), (v[param_numDim]), 1), \ happy_cat((v[param_proName]), (v[param_numDim]), 1) { initialize(); } F6_shifted_rotated_happy_cat::F6_shifted_rotated_happy_cat(const std::string &name, size_t size_var, size_t size_obj) :problem(name, size_var, size_obj), \ happy_cat(name, size_var, size_obj) { initialize(); } void F6_shifted_rotated_happy_cat::initialize() { set_bias(600); load_translation("instance/problem/continuous/expensive/CEC2015/data/"); //data path load_rotation("instance/problem/continuous/expensive/CEC2015/data/"); m_optima.clear(); set_global_opt(m_translation.data()); } void F6_shifted_rotated_happy_cat::evaluate__(real *x, std::vector<real>& obj) { happy_cat::evaluate__(x, obj); } } }
303b7ef8a3b5f974f3b958cc7b81aa9bb886cd40
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/scrape/data/Organized/Rokham/Rokham_TLE.cpp
e66854951ce562e98b69ca569cdc16c770fa1901
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
639
cpp
Rokham_TLE.cpp
#include <iostream> #include <cmath> #include <string> #include <vector> #include <algorithm> using namespace std; int main() { long long n, k; size_t m; cin >> n >> m >> k; vector<long long> a(m); for (size_t i = 0; i < m; ++i) { cin >> a[m - i - 1]; } int curr = 0, answer = 0, curr1 = 0; while (!a.empty()) { ++answer; if (a.back() > curr + k) { curr += ((a.back() - 1 - curr) / k) * k; } while (a.back() <= curr + k) { a.pop_back(); curr1 += 1; } curr += curr1; curr1 = 0; } cout << answer; }
0f529fdb9ca14cec376c9477b649002a2244bf76
40b115714899193e2a3eeb15c030402181880192
/engine/animator.hh
59ed98ab05f440c4005e37bea595e587b01c2c0b
[]
no_license
inducer/wam
ec937b2b66edb09271f2197609549e574f2c68f1
03bd98e8ae000e7cc3fde8e3bff2878ed0c30802
refs/heads/master
2023-01-02T03:42:13.877423
2008-02-10T08:52:04
2008-02-10T08:52:04
305,217,156
1
0
null
null
null
null
UTF-8
C++
false
false
6,500
hh
animator.hh
// ---------------------------------------------------------------------------- // Description : WAM animation script language // ---------------------------------------------------------------------------- // Remarks : none. // // ---------------------------------------------------------------------------- // (c) Copyright 2000 by Team WAM // ---------------------------------------------------------------------------- #ifndef WAM_ANIMATOR #define WAM_ANIMATOR #include "utility/hash_map.hh" #include <vector> #include <ixlib_xml.hh> #include <ixlib_re.hh> #include "engine/resource.hh" class wAnimator { protected: class wCommand; typedef double wExecutionPriority; struct wExecutionContext { wCommand *InstructionPointer; double RemainingDelay; wExecutionPriority CurrentPriority; wExecutionContext() : InstructionPointer( NULL ), RemainingDelay( 0 ), CurrentPriority( 0 ) {} wExecutionContext( wCommand *ip, wExecutionPriority priority,double delay ) : InstructionPointer( ip ), RemainingDelay( delay ), CurrentPriority( priority ) {} void step( double seconds ); }; wImageManager &ImageManager; struct wFrameInfo { wImageHolder Image; bool Dynamic; string ScaleXExpression,ScaleYExpression,RotateExpression; }; typedef hash_map<string, wFrameInfo, string_hash> wImageHash; wImageHash Images; typedef pair<regex_string, string> wRegex; typedef vector<wRegex> wRegexList; wRegexList Regexes; typedef hash_map<string, string, string_hash> wParameterList; wParameterList Parameters; typedef vector<wExecutionContext> wExecutionStack; wExecutionStack Stack; wExecutionContext ExecutionContext; typedef hash_map<string, wCommand *, string_hash> wLabelList; wLabelList Labels; typedef vector<wCommand *> wCommandList; wCommandList DisposeList; struct wEvent { string Parameter, OldValue, NewValue; bool OldRequired, NewRequired; wExecutionPriority Priority; bool WillReturn; wCommand *Handler; }; typedef vector<wEvent> wEventList; wEventList EventList; typedef queue<string> wSignalQueue; wSignalQueue PendingSignals; wImage LastDynamicImage; wFrameInfo *CurrentFrame; bool CurrentFrameChanged; // "Next" refers to "textually subsequent", whereas execute returns // the next command to be executed class wCommand { protected: wAnimator &Animator; private: wCommand *NextCommand; public: wCommand( wAnimator &animator ) : Animator( animator ), NextCommand( NULL ) {} virtual ~wCommand() {} virtual wExecutionContext execute( double priority ) = 0; virtual void setNextCommand( wCommand *cmd ); wCommand *getNextCommand(); wCommand *getLastCommand(); }; class wIf : public wCommand { protected: wCommand *IfPart, *ElsePart; string Parameter, Value; public: wIf( wAnimator &animator, wCommand *ifpart, wCommand *elsepart, string const &parameter, string const &value ) : wCommand( animator ), IfPart( ifpart ), ElsePart( elsepart ), Parameter( parameter ), Value( value ) {} wExecutionContext execute( double priority ); void setNextCommand( wCommand *cmd ); }; class wOnReturn : public wCommand { protected: wCommand *Handler; public: wOnReturn( wAnimator &animator, wCommand *handler ) : wCommand( animator ), Handler( handler ) {} wExecutionContext execute( double priority ); }; class wPrioritySet : public wCommand { protected: wExecutionPriority Priority; public: wPrioritySet( wAnimator &animator, wExecutionPriority priority ) : wCommand( animator ), Priority( priority ) {} wExecutionContext execute( double priority ); }; class wGoto : public wCommand { protected: string Label; public: wGoto( wAnimator &animator, string const &label ) : wCommand( animator ), Label( label ) {} wExecutionContext execute( double priority ); }; class wGosub : public wCommand { protected: string Label; public: wGosub( wAnimator &animator, string const &label ) : wCommand( animator ), Label( label ) {} wExecutionContext execute( double priority ); }; class wReturn : public wCommand { protected: bool KillDelay; public: wReturn( wAnimator &animator, bool killdelay ) : wCommand( animator ), KillDelay( killdelay ) {} wExecutionContext execute( double priority ); }; class wDelay : public wCommand { protected: double Seconds; public: wDelay( wAnimator &animator, double seconds ) : wCommand( animator ), Seconds( seconds ) {} wExecutionContext execute( double priority ); }; class wFrame : public wCommand { protected: string Name; public: wFrame( wAnimator &animator, string const &name ) : wCommand( animator ), Name( name ) {} wExecutionContext execute( double priority ); }; class wStop : public wCommand { public: wStop( wAnimator &animator ) : wCommand( animator ) {} wExecutionContext execute( double priority ); }; class wSignal : public wCommand { protected: string Name; public: wSignal( wAnimator &animator, string const &name ) : wCommand( animator ), Name( name ) {} wExecutionContext execute( double priority ); }; friend class wIf; friend class wOnReturn; friend class wGoto; friend class wGosub; friend class wReturn; friend class wDelay; friend class wFrame; friend class wStop; friend class wSignal; public: wAnimator( wImageManager &imgmgr, istream &script ); ~wAnimator(); void change( string const &parameter, string const &value ); void step( double seconds ); wImage *getCurrentFrame(); bool isCurrentFrameChanged(); TSize countPendingSignals(); string getSignal(); protected: void setExecutionContext( wExecutionContext const &ctx ); void parse( xml_file::tag *root ); void parseImages( xml_file::tag *root ); void parseRegexes( xml_file::tag *root ); wCommand *parseScript( xml_file::tag *root ); void pushContext(); string replaceParameters( const string &victim ); }; #endif
94a7fcabd769c81821571058155bba1455015bb1
48fc75e852aef847bbde3a674a60a2ec362f0cb3
/hwutil.cpp
d3182105dd74a396c4a0a8a49b06a7ad52b05641
[]
no_license
mreiferson/hajiworld
24b31f57185e9ef5bd0bef83c924645b0df281ca
52f208638c90414fcd9eef8b28e9874cebbd6e4e
refs/heads/master
2020-05-31T09:05:41.236875
2011-11-29T02:16:33
2011-11-29T02:16:33
2,862,096
0
0
null
null
null
null
UTF-8
C++
false
false
2,169
cpp
hwutil.cpp
/* * Haji World (C) Perplexed Productions * * Module (hwutil.cpp): Utility functions * */ #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include "hwutil.h" FILE *g_fError = NULL; // general error file DWORD g_StartClockCount = 0; // used for timing double g_SinTab[360], g_CosTab[360]; DWORD GetClock(void) { // return time return(GetTickCount()); } DWORD StartClock(void) { // init the count return(g_StartClockCount = GetClock()); } DWORD WaitClock(DWORD count) { // wait specified count while ((GetClock() - g_StartClockCount) < count); return(GetClock()); } int OpenErrorFile(char *filename) { FILE *fp_temp; // temporary file // test if this file is valid if ((fp_temp = fopen(filename, "w")) == NULL) { return(0); } // close old file if there was one if (g_fError) { CloseErrorFile(); } // assign new file g_fError = fp_temp; // write out header WriteError("Opening Error Output File (%s):\n", filename); // return success return(1); } int CloseErrorFile(void) { if (g_fError) { // write close file string WriteError("\n\nClosing Error Output File."); // close the file handle fclose(g_fError); g_fError = NULL; // return success return(1); } else { return(0); } } int WriteError(char *string, ...) { char buffer[80]; // working buffer va_list arglist; // variable argument list // make sure both the error file and string are valid if (!string || !g_fError) { return(0); } // print out the string using the variable number of arguments on stack va_start(arglist, string); vsprintf(buffer, string, arglist); va_end(arglist); // write string to file fprintf(g_fError, buffer); // return success return(1); } void GenerateTabs(void) { int i; for (i = 0; i < 360; i++) { g_SinTab[i] = sin(i * 3.14159 / 180); g_CosTab[i] = cos(i * 3.14159 / 180); } }
e06b8a12d04c82df94253c35eb7289698b08446d
fb6454b02f402be7b3cf28d50906f283a14e07cc
/猪国杀(by zycany).cpp
15d79c50c6588584e3ce65d5e2cbaa4084cda9ce
[]
no_license
Wandering-Trader/Killing-of-the-Pig-Kingdom
86aa322800b7867c3dbe14ba6e7d75a9bb85a80f
c99dc9f8820db549326bb50613e2e20eddbe2572
refs/heads/master
2022-12-19T23:31:17.394032
2020-10-18T14:11:48
2020-10-18T14:11:48
null
0
0
null
null
null
null
GB18030
C++
false
false
6,559
cpp
猪国杀(by zycany).cpp
/* P2482 猪国杀 基本思路: 模拟 字符串处理 为了节省时间,采用双向环形链表(手写) 此代码由zycany共同完成 */ #include <bits/stdc++.h> using namespace std; #define N 15 #define M 2005 #define END 30 //链表尾部 string str; struct Player { string cards;//卡牌 int ch;//对外身份(0未知1忠2反) string id;//实际身份 bool lfz;//是否是类反猪 int next; int pre;//前后的玩家 bool Ktimes;//在本轮中是否使用"杀" bool alive;//是否还活着(1活0死) int hp;//体力 bool Z;//是否有猪哥连弩 bool mp;//派别(主猪1反猪0) }p[N+END]; int n,m,fp; void dead(int killer,int x) //死人处理 { p[x].alive = false;//设为已死亡 p[p[x].pre].next = p[x].next; p[p[x].next].pre = p[x].pre;//死亡后更新双向环形链表 if(p[x].id == "FP") {//如果是反猪死了,那么反猪数量减一,而且杀人者摸三张牌 --fp; p[killer].cards+=str[0]+str[1]+str[2]; str.erase(0,3); } else if(killer==1) p[1].cards.clear(); //如果忠猪死了而且是主猪杀的那么主猪的牌清空 } void drop(int killer,int x)//掉一点生命 { int pos; --p[x].hp;//掉一点体力 if(!p[x].hp)//如果"死了" { pos=p[x].cards.find('P'); if(pos!=p[x].cards.npos) { p[x].cards.erase(pos,1); p[x].hp = 1;//如果有桃就复活 } else dead(killer,x); } } int J(int a,int b) //a向b发动无懈可击 { int pos=p[a].cards.find('J'); if(pos!=p[a].cards.npos) { p[a].cards.erase(pos,1); return J(b,a); } else return b; //返回值是谁"赢了" } void NW(int j,char ch) { /* 南猪入侵或万箭齐发 killer表示使用者,ch表示用什么牌可以抵消(杀或闪) */ int pos; for(int k=p[j].next;k!=j;k=p[k].next)//遍历循环链表 { if(k==END) continue; if(J(k,j)==k) continue;//无懈可击 pos=p[k].cards.find(ch); if(pos!=p[k].cards.npos) p[k].cards.erase(pos,1); //如果可以抵消就跳过 else { drop(j,k); if(k==1&&!p[j].ch) p[j].lfz=true; //如果打到主猪且没标明身份,设为类反猪 } } } int find(int x) {//寻找表敌意的对象 if(p[x].id == "FP") return 1; for(int i = p[x].next;i != x;i = p[i].next) { if(i == END) continue; if(p[i].ch == 2) return i; else if(x == 1 && p[i].lfz) return i; } return -1; } bool K(int x) {//杀 int goal = p[x].next; if(goal == END) goal = p[END].next; if(p[x].mp != p[goal].mp)//不在同一个派别就杀 { int pos = p[goal].cards.find('D'); if(pos == p[goal].cards.npos) drop(x,goal); return true; } return false; } bool F(int x) {//x发起决斗(0赢了2输了) int goal = find(x); if(goal == -1) return false;//没有杀到人 if(J(goal,x)==goal) return false; //被无懈可击抵消了 if(x == 1 && p[goal].id == "ZP") {//如果主猪目标是忠猪那么忠猪直接掉1血 drop(x,goal); return true; } if(p[x].id == "FP") {p[x].ch = 1;p[x].lfz=false;} else {p[x].ch=2;p[x].lfz=false;} //跳忠or跳反,取消类反猪 int px = p[x].cards.find('K'); int py = p[goal].cards.find('K'); while(px != p[x].cards.npos && py != p[goal].cards.npos) {//只要都有杀就继续 p[x].cards.erase(px,1); p[goal].cards.erase(py,1); //互相扔杀 } if(py == p[goal].cards.npos) drop(x,goal); else drop(goal,x); return true; } bool playgame() { int temp,len,rnd = 0; while(p[1].alive && fp) //只要主猪还活着而且存在反猪(游戏尚未结束) { // printf("Round %d:\n",++rnd); // if(rnd >= 5) return true; for(int i = p[END].next;i != END;i = p[i].next) //摸牌+出牌 { // printf("Player %d:\n%d %d\n",i,p[i].pre,p[i].next); if(!p[i].alive) continue; //已死亡就跳过 p[i].cards = p[i].cards+str.substr(0,2); // cout<<"Cards:"<<p[i].cards<<" "<<str.substr(0,2)<<endl; str.erase(0,2); //摸牌 // cout << "Cards:" << p[i].cards << endl; len = p[i].cards.length(); for(int j = 0;j < len;++ j) { if(p[i].cards[j] == 'P' && p[i].hp < 4) //桃 ++p[i].hp,p[i].cards.erase(j,1),--j,--len; else if(p[i].cards[j] == 'Z') //猪哥连弩 { p[i].Z = true; p[i].cards.erase(j,1); --j,--len; } else if(p[i].cards[j] == 'K')//杀 { if(!p[i].Z && p[i].Ktimes) continue; //如果没有武器而且已经用过"杀"了就跳过 if(K(i)) { p[i].cards.erase(j,1); --j,--len; //清除这张牌 p[i].Ktimes = true; } if(!p[1].alive) return false; if(!fp) return true; } else if(p[i].cards[j] == 'N')//南猪入侵 { NW(i,'K') ; p[i].cards.erase(j,1);//清除这张卡 --j,--len; if(!p[1].alive) return false; if(!fp) return true; } else if(p[i].cards[j] == 'W') { NW(i,'D'); p[i].cards.erase(j,1);//清除这张卡 --j,--len; if(!p[1].alive) return false; if(!fp) return true; } else if(p[i].cards[j] == 'F')//决斗 { if(F(i)) str.erase(j,1),--j,--len; if(!p[1].alive) return false; if(!fp) return true; } else if(p[i].cards[j] == 'J')//无懈可击 { continue; } } p[i].Ktimes = false; } } if(p[1].alive) return true; return false; //结果 } int main() { scanf("%d%d",&n,&m); char ch; for(int i = 1;i <= n;++ i) p[i].next = i+1,p[i].pre = i-1; for(int i = 1;i <= n;++ i){ cin >> p[i].id; p[i].alive = 1; p[i].hp = 4; //初始化玩家信息 if(p[i].id == "FP") ++fp; else p[i].mp = 1; getchar(); for(int j = 1;j <= 4;++ j) { ch = getchar(); p[i].cards += ch; getchar(); } } //输入玩家手牌 p[1].ch = 1; p[1].pre = p[n].next = END; p[END].pre = n,p[END].next = 1; for(int i = 1;i <= m;++ i) { getchar(); ch = getchar(); str = str+ch; } bool win = playgame(); // 玩游戏 printf("%s\n",win ? "MP" : "FP"); for(int i = 1;i <= n;++ i) { if(!p[i].alive) {puts("DEAD");continue;}//死亡 int len = p[i].cards.length(); for(int j = 0;j < len;++ j) putchar(p[i].cards[j]),putchar(' '); putchar('\n'); } return 0; } /* 样例: 3 10 MP D D F F ZP N N N D FP J J J J F F D D J J F F K D */
adb2db253314bd7124ba3fadb4f5bc9ec3fdb5d5
75d2330d43c186f08bef17b4274e97b5401cce61
/USACO/Section2.1/USACO2.1-4.cpp
98aae7c684c5f9a4eef007525f73b52faada9c85
[]
no_license
AD1024/Algo-Practice
709d89d0c301d0f798cab316a9fdb436ad9de642
6d0efa62859aea9798fc78c5c78b8394ac480972
refs/heads/master
2021-01-12T06:36:18.289920
2018-04-23T01:02:46
2018-04-23T01:02:46
77,384,339
2
0
null
null
null
null
UTF-8
C++
false
false
1,257
cpp
USACO2.1-4.cpp
/* ID: ccodera1 LANG: C++ TASK: holstein */ #include <iostream> #include <cstdio> #include <cstring> #include <vector> using namespace std; bool vis[1000]; int val[20][1010]; int need[50]; int V;int G; bool ans[50]; int o[50]; int oidx = 0x3f3f3f3f; inline bool ok(int a[]){ for(int i=1;i<=V;++i){ if(a[i]<need[i]) return false; } return true; } int cnt = 1; void dfs(int idx,int a[]){ if(ok(a) && cnt<oidx){ oidx = cnt; for(int i=1;i<idx;++i){ o[i] = ans[i]; } return; }else if(idx>G){ return; }else{ vis[idx] = true; int stub[50]; ans[idx] = true; for(int i=1;i<=V;++i){ stub[i] = a[i]; a[i] += val[idx][i]; } ++cnt; dfs(idx+1,a); --cnt; ans[idx] = false; vis[idx] = false; memcpy(a,stub,sizeof(stub)); dfs(idx+1,a); } } vector<int> v; int main(){ freopen("holstein.in","r",stdin); freopen("holstein.out","w",stdout); cin>>V; for(int i=1;i<=V;++i){ cin>>need[i]; } cin>>G; for(int i=1;i<=G;++i) for(int j=1;j<=V;++j){ cin>>val[i][j]; } int a[50]; memset(a,0,sizeof(a)); dfs(1,a);oidx--; cout<<oidx<<" "; int cur=0; for(int i=1;i<=G;++i){ if(o[i]){ v.push_back(i); } } for(int i=0;i<v.size()-1;++i){ cout<<v[i]<<" "; } cout<<v[v.size()-1]<<endl; return 0; }
5c9e110798a4a624e5ae7f6adc833ab4ffa1b57f
0a3e9320b58a032dfbf856b8cdfaad14095948d3
/AVSCommon/SDKInterfaces/include/AVSCommon/SDKInterfaces/Bluetooth/Services/A2DPSinkInterface.h
b2f600e4a3f6e2e4494ba4f12726a53cacbbf166
[ "LicenseRef-scancode-pml-2020", "Apache-2.0" ]
permissive
anki/avs-device-sdk
1a98f51729bbe2d6b835cba0e74587b0f5eaea38
8f358d9843f13814a56514f74b8fe16ca618c288
refs/heads/master
2020-03-31T19:09:13.404702
2019-03-06T22:14:38
2019-03-06T22:14:38
152,486,975
5
16
Apache-2.0
2019-03-06T22:14:39
2018-10-10T20:39:56
C++
UTF-8
C++
false
false
1,630
h
A2DPSinkInterface.h
/* * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_BLUETOOTH_SERVICES_A2DPSINKINTERFACE_H_ #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_BLUETOOTH_SERVICES_A2DPSINKINTERFACE_H_ #include "AVSCommon/SDKInterfaces/Bluetooth/Services/BluetoothServiceInterface.h" namespace alexaClientSDK { namespace avsCommon { namespace sdkInterfaces { namespace bluetooth { namespace services { /** * Interface to support A2DP streaming from SDK to bluetooth device. */ class A2DPSinkInterface : public BluetoothServiceInterface { public: /// The Service UUID. static constexpr const char* UUID = "0000110b-0000-1000-8000-00805f9b34fb"; /// The Service Name. static constexpr const char* NAME = "AudioSink"; }; } // namespace services } // namespace bluetooth } // namespace sdkInterfaces } // namespace avsCommon } // namespace alexaClientSDK #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_BLUETOOTH_SERVICES_A2DPSINKINTERFACE_H_
fc98e43feeb06fd0aa9d3d65b5bd7c93b58090fa
13aa2a4294236437048ac26c13c5529bc4f903f7
/src/math/circle/circle.cpp
7eea77cd3fb065f02f8c3524b86bd2452ce826b5
[]
no_license
captainwong/Snippet
adba1e0477a83233b529f961b590baba92988d7c
d62b878376a85007ed9a5f7b7af0bc9c67dc7deb
refs/heads/master
2023-01-24T05:59:08.573699
2023-01-22T08:46:54
2023-01-22T08:46:54
59,401,303
0
0
null
null
null
null
GB18030
C++
false
false
583
cpp
circle.cpp
#include <stdio.h> #include <math.h> int main() { // 半径 const int R = 1; // 三角形个数 int n = 6; // 三角形边长 int a = R; // 三角形高 = 1 - (a/2)^2 long double h = sqrt(1 - pow(a / 2.0, 2)); // 三角形面积 long double s = a * h / 2.0; // 圆(所有三角形)的面积 因为 S = pi * r^2, r=1, 所以 S = pi long double pi = 6 * s; printf("n=%d, pi=%lf\n", n, pi); while (true) { n; h = R - h; s = a * h / 2.0; pi += n * s; n *= 2; a = sqrt(h * h * (a / 2.0) * (a / 2.0)); //h printf("n=%d, pi=%lf\n", n, pi); } }
3db5513de1015ccb48dce529e5dab7a62f1e21dd
4c74cc61158a9f8b4918b8bf12ac3e04b24855ad
/Sources/Internal/Render/RenderPass/RenderPass.cpp
1fbacd8cf5928e96f5a75bfd3585a9104fcc9f9f
[ "MIT" ]
permissive
blizmax/KiotoEngine
ba3b64f39acda97ab7eac8b24883752ebcdc9a4b
44f94d471db4fa4c05e0a9c2fe6ba60b144fd3f3
refs/heads/master
2023-02-24T05:19:17.879030
2020-11-24T01:04:00
2020-11-24T01:04:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
708
cpp
RenderPass.cpp
#include "stdafx.h" #include "Render/RenderPass/RenderPass.h" #include "Render/Renderer.h" namespace Kioto::Renderer { RenderPass::RenderPass(const RenderPass& other) : m_scissor(other.m_scissor) , m_viewport(other.m_viewport) , m_clearColor(other.m_clearColor) , m_clearDepth(other.m_clearDepth) , m_clearDepthValue(other.m_clearDepthValue) , m_clearStencil(other.m_clearStencil) , m_clearStencilValue(other.m_clearStencilValue) , m_renderTargets(other.m_renderTargets) , m_depthStencil(other.m_depthStencil) , m_priority(other.m_priority) , m_handle(other.m_handle) , m_renderTargetCount(other.m_renderTargetCount) , m_passName(other.m_passName) { } }
82e83b845083a0fbd41fd93fa480a4d043609eab
f67008366d94d288854f7ef985f05fdc8e42c520
/Graphs/Properties.cc
35078b0e3c016a68c2f359664044a36b93166ced
[ "MIT" ]
permissive
TrevorShelton/cplot
6273c78a6cb888ed832cc93610b474ea78fda357
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
refs/heads/master
2022-11-06T12:29:19.509338
2020-06-25T16:00:14
2020-06-25T16:00:14
274,957,449
0
0
MIT
2020-06-25T16:00:15
2020-06-25T15:55:44
null
UTF-8
C++
false
false
3,964
cc
Properties.cc
#include "Properties.h" #include "../Engine/Namespace/Namespace.h" #include <stdio.h> #include <cstdarg> void PropertyList::print_properties() const { if (props.empty()) const_cast<PropertyList*>(this)->init_properties(); std::vector<const std::string *> N, D; std::vector<std::string> V; int l1 = 0, l2 = 0, l; for (auto &i : props) { const Property &p = i.second; if (!p.visible() || !p.get) continue; N.push_back(&i.first); std::string v = p.get(); V.push_back(v); D.push_back(&p.desc); l = (int)i.first.length(); if (l > l1) l1 = l; l = (int)v.length(); if (l > l2) l2 = l; } l = (int)N.size(); for (int i = 0; i < l; ++i) { printf("%-*s = %-*s (%s)\n", l1, (*N[i]).c_str(), l2, V[i].c_str(), (*D[i]).c_str()); } } #ifdef _WINDOWS void Property::set_enum(EnumCvt ec, ...) #else void Property::set_enum(const EnumCvt &ec, ...) #endif { va_list ap; va_start(ap, ec); std::map<std::string, int> V; std::map<int, std::string> N; std::vector<std::string> VS; const char *s; while ((s = va_arg(ap, const char*))) { int v = va_arg(ap, int); VS.push_back(s); V[s] = v; N[v] = s; std::string s0(1,*s); assert(V.find(s0) == V.end()); V[s0] = v; } get = [ec,N]()->std::string { auto i = N.find(ec.get()); if (i != N.end()) return i->second; return "corrupt"; }; set = [ec,V,this](const std::string &s) { auto i = V.find(s); if (i != V.end()) { ec.set(i->second); if (ec.post_set) ec.post_set(); } else throw std::runtime_error(format("Not a valid %s: \"%s\"", desc.c_str(), s.c_str())); }; values = [VS]{ return VS; }; va_end(ap); } double PropertyList::parse_double(const std::string &s) const { cnum v = evaluate(s, pns()); if (!defined(v) || !is_real(v)) throw error("Not a real number", s); return v.real(); } std::string PropertyList::format_double(double d) const { return format("%g", d); } double PropertyList::parse_percentage(const std::string &s) const { double x; if (!s.empty() && *s.rbegin() == '%') { x = parse_double(s.substr(0, s.length()-1))*0.01; } else { x = parse_double(s); } return x < 0.0 ? 0.0 : x > 1.0 ? 1.0 : x; } std::string PropertyList::format_percentage(double d) const { return format("%.2g", d); } bool PropertyList::parse_bool(const std::string &s) const { if (s == "0" || s == "off" || s == "false" || s == "no") return false; if (s == "1" || s == "on" || s == "true" || s == "yes") return true; throw error("Not a valid boolean", s); } std::string PropertyList::format_bool(bool b) const { return b ? "on" : "off"; } void PropertyList::parse_range(const std::string &s, double &c0, double &r0) const { // input range is [c0-r0, c0+r0] // syntax: [x0,x1], (x0,x1), [x0;x1], (x0;x1) // xm+-r, r, xm+- size_t n = s.length(); if (!n) throw std::runtime_error("Invalid range"); // intervals if (s[0] == '(' && s[n-1] == ')' || s[0] == '[' && s[n-1] == ']') { int pl = 0, nc = 0, c = 0; for (size_t i = 1; i+1 < n; ++i) { switch (s[i]) { case '(': ++pl; break; case ')': --pl; break; case ',': case ';': if (!pl){ ++nc; c = (int)i; } break; } } if (nc == 1) { double a = parse_double(s.substr(1, c-1)); double b = parse_double(s.substr(c+1, n-c-2)); c0 = (a+b)*0.5; r0 = fabs(b-a)*0.5; return; } } // m +- r int pl = 0, pm = -1; for (size_t i = 0; i < n; ++i) { switch (s[i]) { case '(': ++pl; break; case ')': --pl; break; case '+': if (!pl && i+1 < n && s[i+1] == '-') pm = (int)i; break; } } if (pm == 0) { r0 = fabs(parse_double(s.substr(2))); } else if (pm > 0) { // 1+-2 double a = parse_double(s.substr(0, pm)); double b = parse_double(s.substr(pm+2)); c0 = a; r0 = fabs(b); } else { c0 = parse_double(s); } } std::string PropertyList::format_range(double a, double b, bool minmax) const { if (!minmax){ b += a; a = 2.0*a-b; } // a-b and a+b now return format("[%g;%g]", a, b); }
d64dc963e9f5f8daa510dc7a7a9ac23ce03f2767
c390029f06362338f4ea5acdbf8ffb5ad1d53cda
/messi.cpp
afac0ffc734c06577f84ef291ec4a230115ca0f8
[]
no_license
kernelboy34/progrmasenc
0f79895584fdc332624303702a2dd445d6b6fbd1
e39db0df072ae5eb6ffeaccc34772ab77e54fc6a
refs/heads/main
2023-08-01T15:58:38.439367
2021-09-20T22:55:36
2021-09-20T22:55:36
408,623,361
0
0
null
null
null
null
UTF-8
C++
false
false
163
cpp
messi.cpp
#include <iostream> using namespace std; int main(){ int i; i=10; do{ cout<<i<<endl; i++; }while(i<=100); return 0; system("pause"); }
4ad21c3e3af7f4690fb4f9be56d76fe930c77967
4970ab3e2a870fdb58900cc4a92ff6382af33305
/source/STRMV.cpp
33efd2bbfc300341f149027282b8902544e68d09
[]
no_license
kunjan-a/blas2
537fc2a7838b23864bdb108a4fc5ab887e00165e
b0ada8a690fd2c5f78ae15891eee6264059843f9
refs/heads/master
2021-02-25T03:04:48.981675
2020-03-06T15:06:03
2020-03-06T15:06:03
245,446,072
0
0
null
null
null
null
UTF-8
C++
false
false
4,537
cpp
STRMV.cpp
void STRMV(char UPLO,char TRANS,char DIAG,int N,float*A,int LDA,float* X,int INCX) { int KX,KY,IX,IY,JX,JY,i,j; float TEMP; /* * Quick return if possible. */ if(N==0) return; /* NOUNIT = LSAME(DIAG,'N') */ if(INCX<0) KX = -(1)*(N-1)*INCX; else if (INCX!=1) KX = 0; if(TRANS=='N'||TRANS=='n') { /* * Form x := A*x. */ if(UPLO=='U'||UPLO=='u') { if(INCX==1) { for(j=0;j<N;j++) { if(X[j]!=0) { TEMP = X[j]; for(i=0;i<=j-1;i++) { X[i] = X[i]+TEMP*A[i*N+j]; } if(DIAG=='N'||DIAG=='n') X[j] = X[j]*A[j*N+j]; } } } else { JX = KX; for(j=0;j<N;j++) { if(X[JX]!=0) { TEMP = X[JX]; IX = KX; for(i=0;i<=j-1;i++) { X[IX] = X[IX] + TEMP*A[i*N+j]; IX = IX + INCX; } if(DIAG=='N'||DIAG=='n') X[JX] = X[JX]*A[j*N+j]; } JX = JX + INCX; } } } else { if(INCX==1) { for(j=N-1;j>=0;j--) { if(X[j]!=0) { TEMP = X[j]; for(i=N-1;i>=j+1;i--) { X[i] = X[i] + TEMP*A[i*N+j]; } if(DIAG=='N'||DIAG=='n') X[j] = X[j]*A[j*N+j]; } } } else { KX = KX + (N-1)*INCX; JX = KX; for(j=N-1;j>=0;j--) { if(X[JX]!=0) { TEMP = X[JX]; IX = KX; for(i=N-1;i>=j+ 1;i--) { X[IX] = X[IX] + TEMP*A[i*N+j]; IX = IX - INCX; } if(DIAG=='N'||DIAG=='n') X[JX] = X[JX]*A[j*N+j]; } JX = JX - INCX; } } } } else { /* * Form x := A'*x. */ if(UPLO=='U'||UPLO=='u') { if(INCX==1) { for(j=N-1;j>=0;j--) { TEMP = X[j]; if(DIAG=='N'||DIAG=='n') TEMP = TEMP*A[j*N+j]; for(i =j-1;i>=0;i--) TEMP = TEMP + A[i*N+j]*X[i]; X[j] = TEMP; } } else { JX = KX + (N-1)*INCX; for(j=N-1;j>=0;j--) { TEMP = X[JX]; IX = JX; if(DIAG=='N'||DIAG=='n') TEMP = TEMP*A[j*N+j]; for(i =j-1;i>=0;i--) { IX = IX - INCX; TEMP = TEMP + A[i*N+j]*X[IX]; } X[JX] = TEMP; JX = JX - INCX; } } } else { if(INCX==1) { for(j=0;j<N;j++) { TEMP = X[j]; if(DIAG=='N'||DIAG=='n') TEMP = TEMP*A[j*N+j]; for(i=j + 1;i<N;i++) { TEMP = TEMP + A[i*N+j]*X[i]; } X[j] = TEMP; } } else { JX = KX; for(j =0;j<N;j++) { TEMP = X[JX]; IX = JX; if(DIAG=='N'||DIAG=='n') TEMP = TEMP*A[j*N+j]; for(i =j + 1;i<N;i++) { IX = IX + INCX; TEMP = TEMP + A[i*N+j]*X[IX]; } X[JX] = TEMP; JX = JX + INCX; } } } } return; }
36d05e65063fd1636fd367a3884c9383cfdf3dae
9cdb54adef4cf6c2c002e090805f6fbdb5acd96c
/include/items/inc/Potion.h
433e966d458c8083355dff2dc8a7f7c917ed69fe
[]
no_license
torstengustafsson/adventuretales
b7d6a1a168eb78bb99f0feaa148635a83a9ab0ca
7ba5dae45c05e17f0768307af56edbc4669a2ad2
refs/heads/master
2022-01-26T07:38:02.840534
2022-01-08T15:25:41
2022-01-08T15:25:41
86,595,251
0
0
null
null
null
null
UTF-8
C++
false
false
390
h
Potion.h
#pragma once #include "Item.h" class Potion : public Item { public: Potion(Texture* _icon, string _name, string _type, int _power); string get_type() override; int get_value() override; private: string type; //power represents the potions potency. A healing potion with power 5 heals 5 hp, an //intelligence potion with power 2 increases intelligence by 2, etc. int power; };
16aceac71c2e2515c7eb9b179b16cb52a079831e
aabdd7c0ba61c7faea4f99fa2a715e10b878b911
/frequency_counter/frequency_counter.cpp
2eeec4efbdcce7772153c4f6f3ed4ddcf2ac03ed
[]
no_license
evgenstf/avito_interview
559b3c58537b969b575ab4121b241c51401dc4ff
3119acc38795a204f7b020b6a68b12498e714e2b
refs/heads/main
2023-05-10T07:53:03.034630
2021-06-20T14:16:56
2021-06-20T14:17:29
378,632,377
0
0
null
null
null
null
UTF-8
C++
false
false
1,501
cpp
frequency_counter.cpp
#include "frequency_counter.h" #include <algorithm> #include <cctype> #include <vector> using namespace std; namespace { vector<string> extract_words(const string& text) { vector<string> words; size_t index = 0; while (index < text.size()) { string word; while (index < text.size() && isalpha(text[index])) { word.push_back(text[index++]); } while (index < text.size() && !isalpha(text[index])) { ++index; } if (!word.empty()) { words.emplace_back(move(word)); } } return words; } string to_lower_word(string&& word) { for_each(word.begin(), word.end(), [](char& c){ c = tolower(c); }); return word; } } const FrequencyStatistics& FrequencyCounter::statistics() const { return statistics_; } void FrequencyCounter::add_text(const string& text) { auto words = extract_words(text); for (auto& word : words) { ++statistics_[to_lower_word(move(word))]; } } std::vector<std::pair<std::string, int>> FrequencyCounter::build_sorted_statistics_vector() const { vector<pair<string, int>> words_with_frequency; for (const auto& [word, frequency] : statistics_) { words_with_frequency.emplace_back(word, frequency); } sort( words_with_frequency.begin(), words_with_frequency.end(), [](const auto& lhs, const auto& rhs){ return ( lhs.second > rhs.second || (lhs.second == rhs.second && lhs.first < rhs.first) ); } ); return words_with_frequency; }
e98bd031e924a19652ec8d8b395d8257b2753830
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/ui/views/test/mock_native_widget.h
fc291e51f6b9568e85830be5f861424dfcf43a49
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
7,808
h
mock_native_widget.h
//, Copyright 2023 The Chromium Authors //, Use of this source code is governed by a BSD-style license that can be //, found in the LICENSE file. #ifndef UI_VIEWS_TEST_MOCK_NATIVE_WIDGET_H_ #define UI_VIEWS_TEST_MOCK_NATIVE_WIDGET_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "testing/gmock/include/gmock/gmock.h" #include "ui/views/widget/native_widget_private.h" namespace views { class MockNativeWidget : public internal::NativeWidgetPrivate { public: explicit MockNativeWidget(Widget*); ~MockNativeWidget() override; MOCK_METHOD(void, InitNativeWidget, (Widget::InitParams), (override)); MOCK_METHOD(void, OnWidgetInitDone, (), (override)); MOCK_METHOD(std::unique_ptr<NonClientFrameView>, CreateNonClientFrameView, (), (override)); MOCK_METHOD(bool, ShouldUseNativeFrame, (), (const override)); MOCK_METHOD(bool, ShouldWindowContentsBeTransparent, (), (const override)); MOCK_METHOD(void, FrameTypeChanged, (), (override)); MOCK_METHOD(Widget*, GetWidget, (), (override)); MOCK_METHOD(const Widget*, GetWidget, (), (const override)); MOCK_METHOD(gfx::NativeView, GetNativeView, (), (const override)); MOCK_METHOD(gfx::NativeWindow, GetNativeWindow, (), (const override)); MOCK_METHOD(Widget*, GetTopLevelWidget, (), (override)); MOCK_METHOD(const ui::Compositor*, GetCompositor, (), (const override)); MOCK_METHOD(const ui::Layer*, GetLayer, (), (const override)); MOCK_METHOD(void, ReorderNativeViews, (), (override)); MOCK_METHOD(void, ViewRemoved, (View * view), (override)); MOCK_METHOD(void, SetNativeWindowProperty, (const char* name, void* value), (override)); MOCK_METHOD(void*, GetNativeWindowProperty, (const char* name), (const override)); MOCK_METHOD(TooltipManager*, GetTooltipManager, (), (const override)); MOCK_METHOD(void, SetCapture, (), (override)); MOCK_METHOD(void, ReleaseCapture, (), (override)); MOCK_METHOD(bool, HasCapture, (), (const override)); MOCK_METHOD(ui::InputMethod*, GetInputMethod, (), (override)); MOCK_METHOD(void, CenterWindow, (const gfx::Size& size), (override)); MOCK_METHOD(void, GetWindowPlacement, (gfx::Rect * bounds, ui::WindowShowState* show_state), (const override)); MOCK_METHOD(bool, SetWindowTitle, (const std::u16string& title), (override)); MOCK_METHOD(void, SetWindowIcons, (const gfx::ImageSkia& window_icon, const gfx::ImageSkia& app_icon), (override)); MOCK_METHOD(const gfx::ImageSkia*, GetWindowIcon, (), (override)); MOCK_METHOD(const gfx::ImageSkia*, GetWindowAppIcon, (), (override)); MOCK_METHOD(void, InitModalType, (ui::ModalType modal_type), (override)); MOCK_METHOD(gfx::Rect, GetWindowBoundsInScreen, (), (const override)); MOCK_METHOD(gfx::Rect, GetClientAreaBoundsInScreen, (), (const override)); MOCK_METHOD(gfx::Rect, GetRestoredBounds, (), (const override)); MOCK_METHOD(std::string, GetWorkspace, (), (const override)); MOCK_METHOD(void, SetBounds, (const gfx::Rect& bounds), (override)); MOCK_METHOD(void, SetBoundsConstrained, (const gfx::Rect& bounds), (override)); MOCK_METHOD(void, SetSize, (const gfx::Size& size), (override)); MOCK_METHOD(void, StackAbove, (gfx::NativeView native_view), (override)); MOCK_METHOD(void, StackAtTop, (), (override)); MOCK_METHOD(bool, IsStackedAbove, (gfx::NativeView native_view), (override)); MOCK_METHOD(void, SetShape, (std::unique_ptr<Widget::ShapeRects> shape), (override)); MOCK_METHOD(void, Close, (), (override)); MOCK_METHOD(void, CloseNow, (), (override)); MOCK_METHOD(void, Show, (ui::WindowShowState show_state, const gfx::Rect& restore_bounds), (override)); MOCK_METHOD(void, Hide, (), (override)); MOCK_METHOD(bool, IsVisible, (), (const override)); MOCK_METHOD(void, Activate, (), (override)); MOCK_METHOD(void, Deactivate, (), (override)); MOCK_METHOD(bool, IsActive, (), (const override)); MOCK_METHOD(void, SetZOrderLevel, (ui::ZOrderLevel order), (override)); MOCK_METHOD(ui::ZOrderLevel, GetZOrderLevel, (), (const override)); MOCK_METHOD(void, SetVisibleOnAllWorkspaces, (bool always_visible), (override)); MOCK_METHOD(bool, IsVisibleOnAllWorkspaces, (), (const override)); MOCK_METHOD(void, Maximize, (), (override)); MOCK_METHOD(void, Minimize, (), (override)); MOCK_METHOD(bool, IsMaximized, (), (const override)); MOCK_METHOD(bool, IsMinimized, (), (const override)); MOCK_METHOD(void, Restore, (), (override)); MOCK_METHOD(void, SetFullscreen, (bool fullscreen, int64_t target_display_id), (override)); MOCK_METHOD(bool, IsFullscreen, (), (const override)); MOCK_METHOD(void, SetCanAppearInExistingFullscreenSpaces, (bool can_appear_in_existing_fullscreen_spaces), (override)); MOCK_METHOD(void, SetOpacity, (float opacity), (override)); MOCK_METHOD(void, SetAspectRatio, (const gfx::SizeF& aspect_ratio, const gfx::Size& excluded_margin), (override)); MOCK_METHOD(void, FlashFrame, (bool flash), (override)); MOCK_METHOD(void, RunShellDrag, (View * view, std::unique_ptr<ui::OSExchangeData> data, const gfx::Point& location, int operation, ui::mojom::DragEventSource source), (override)); MOCK_METHOD(void, SchedulePaintInRect, (const gfx::Rect& rect), (override)); MOCK_METHOD(void, ScheduleLayout, (), (override)); MOCK_METHOD(void, SetCursor, (const ui::Cursor& cursor), (override)); MOCK_METHOD(void, ShowEmojiPanel, (), (override)); MOCK_METHOD(bool, IsMouseEventsEnabled, (), (const override)); MOCK_METHOD(bool, IsMouseButtonDown, (), (const override)); MOCK_METHOD(void, ClearNativeFocus, (), (override)); MOCK_METHOD(gfx::Rect, GetWorkAreaBoundsInScreen, (), (const override)); MOCK_METHOD(bool, IsMoveLoopSupported, (), (const override)); MOCK_METHOD(Widget::MoveLoopResult, RunMoveLoop, (const gfx::Vector2d& drag_offset, Widget::MoveLoopSource source, Widget::MoveLoopEscapeBehavior escape_behavior), (override)); MOCK_METHOD(void, EndMoveLoop, (), (override)); MOCK_METHOD(void, SetVisibilityChangedAnimationsEnabled, (bool value), (override)); MOCK_METHOD(void, SetVisibilityAnimationDuration, (const base::TimeDelta& duration), (override)); MOCK_METHOD(void, SetVisibilityAnimationTransition, (Widget::VisibilityTransition transition), (override)); MOCK_METHOD(bool, IsTranslucentWindowOpacitySupported, (), (const override)); MOCK_METHOD(ui::GestureRecognizer*, GetGestureRecognizer, (), (override)); MOCK_METHOD(ui::GestureConsumer*, GetGestureConsumer, (), (override)); MOCK_METHOD(void, OnSizeConstraintsChanged, (), (override)); MOCK_METHOD(void, OnNativeViewHierarchyWillChange, (), (override)); MOCK_METHOD(void, OnNativeViewHierarchyChanged, (), (override)); MOCK_METHOD(std::string, GetName, (), (const override)); base::WeakPtr<NativeWidgetPrivate> GetWeakPtr() override; private: raw_ptr<Widget> widget_; base::WeakPtrFactory<MockNativeWidget> weak_factory_{this}; }; } // namespace views #endif // UI_VIEWS_TEST_MOCK_NATIVE_WIDGET_H_
c71928f83ab91a823534f2128fda50c45bc175aa
7819556f061e0e9417284c2270e3a2564ffea7e6
/chapter3/ch3solutions/ch3main.cpp
3656f778567b825143bf02a337cfc7662ed6b7fb
[ "MIT" ]
permissive
liu15388282385/Essential_Cpp_SourceCode_Answer
7ca0994e635d78dd491817b0b75601284de79d54
869118a8d1ac203fc74a968daa9de506c1640cc4
refs/heads/master
2023-07-23T20:26:47.600617
2021-08-25T06:40:35
2021-08-25T06:40:35
389,516,610
0
0
null
2021-08-25T06:40:36
2021-07-26T05:21:12
C++
UTF-8
C++
false
false
8,941
cpp
ch3main.cpp
/************************************************** * Essential C++ -- Stanley Lippman * Addison-Wesley * ISBN 0-201-48518-4 * homepage: www.objectwrite.com * email: slippman@objectwrite.com *************************************************/ #include <set> #include <string> #include <iostream> #include <fstream> #include <map> #include <iterator> #include <vector> #include <algorithm> #include <functional> using namespace std; typedef vector<string> vstring; void initialize_exclusion_set(set<string> &); void process_file(map<string, int> &, const set<string> &, ifstream &); void user_query(const map<string, int> &); void display_word_count(const map<string, int> &, ofstream &); vector<int> sub_vec(const vector<int> &, int, less<int> &); void populate_map(ifstream &, map<string, vstring> &families); void display_map(const map<string, vstring> &families, ostream &os = cout); void query_map(const string &family, const map<string, vstring> &families); template <typename elemType> void display_vector(const vector<elemType> &vec, ostream &os = cout, int len = 8) { typename vector<elemType>::const_iterator iter = vec.begin(), end_it = vec.end(); int elem_cnt = 1; while (iter != end_it) os << *iter++ << (!(elem_cnt++ % len) ? '\n' : ' '); os << endl; } template <typename InputIterator, typename OutputIterator, typename ElemType, typename Comp> OutputIterator filter(InputIterator first, InputIterator last, OutputIterator at, const ElemType &val, Comp pred) { while ((first = find_if(first, last, bind2nd(pred, val))) != last) { cout << "found value: " << *first << endl; // assign value, then advance both iterators *at++ = *first++; } return at; } void ex_filter() { const int elem_size = 8; int ia[elem_size] = {12, 8, 43, 0, 6, 21, 3, 7}; vector<int> ivec(ia, ia + elem_size); int ia2[elem_size]; vector<int> ivec2; cout << "filtering integer array for values less than 8\n"; filter(ia, ia + elem_size, ia2, elem_size, less<int>()); cout << "filtering integer vector for values greater than 8\n"; filter(ivec.begin(), ivec.end(), back_inserter(ivec2), elem_size, greater<int>()); } void ex3_1() { ifstream ifile("MooCat.txt"); ofstream ofile("MooCat.map"); if (!ifile || !ofile) { cerr << "Unable to open file -- bailing out!\n"; return; } set<string> exclude_set; initialize_exclusion_set(exclude_set); map<string, int> word_count; process_file(word_count, exclude_set, ifile); user_query(word_count); display_word_count(word_count, ofile); } class LessThan { public: bool operator()(const string &s1, const string &s2) { return s1.size() < s2.size(); } }; void ex3_2() { ifstream ifile("MooCat.txt"); ofstream ofile("MooCat.sort"); if (!ifile || !ofile) { cerr << "Unable to open file -- bailing out!\n"; return; } vector<string> text; string word; while (ifile >> word) { cout << word << ' '; text.push_back(word); } cout << "\n\n"; sort(text.begin(), text.end(), LessThan()); for (vector<string>::iterator it = text.begin(); it != text.end(); ++it) cout << *it << ' '; cout << endl; display_vector(text, ofile); } void ex3_3() { map<string, vstring> families; ifstream nameFile("families.txt"); if (!nameFile) { cerr << "Unable to find families.txt file. Bailing Out!\n"; return; } populate_map(nameFile, families); string family_name; while (1) { cout << "Please enter a family name or q to quit "; cin >> family_name; if (family_name == "q") break; query_map(family_name, families); } display_map(families); } class even_elem { public: bool operator()(int elem) { return elem % 2 ? false : true; } }; void ex3_4() { vector<int> input; istream_iterator<int> in(cin), eos; ofstream even_file("even_file"), odd_file("odd_file"); if (!even_file || !odd_file) { cerr << "arghh!! unable to open the output files. bailing out!"; return; } copy(in, eos, back_inserter(input)); vector<int>::iterator division = partition(input.begin(), input.end(), even_elem()); ostream_iterator<int> even_iter(even_file, "\n"), odd_iter(odd_file, " "); copy(input.begin(), division, even_iter); copy(division, input.end(), odd_iter); } int main() { // ex_filter(); // ex3_1(); // ex3_2(); // ex3_3(); ex3_4(); } vector<int> sub_vec(const vector<int> &vec, int val, less<int> &lt) { vector<int> nvec; vector<int>::const_iterator iter = vec.begin(); // bind2nd( less<int>, val ) // binds val to the second value of less<int> // less<int> now compares each value against val while ((iter = find_if(iter, vec.end(), bind2nd(lt, val))) != vec.end()) // each time iter != vec.end(), // iter addresses an element less than val nvec.push_back(*iter); return nvec; } void initialize_exclusion_set(set<string> &exs) { static string _excluded_words[26] = { "the", "and", "but", "that", "then", "are", "been", "can", "a", "could", "did", "for", "of", "had", "have", "him", "his", "her", "its", "is", "were", "which", "when", "with", "would"}; exs.insert(_excluded_words, _excluded_words + 26); } void process_file(map<string, int> &word_count, const set<string> &exclude_set, ifstream &ifile) { string word; while (ifile >> word) { // if word is within set, skip if (exclude_set.count(word)) continue; word_count[word]++; } } void user_query(const map<string, int> &word_map) { string search_word; cout << "Please enter a word to search: q to quit "; cin >> search_word; while (search_word.size() && search_word != "q") { map<string, int>::const_iterator it; if ((it = word_map.find(search_word)) != word_map.end()) cout << "Found! " << it->first << " occurs " << it->second << " times.\n"; else cout << search_word << " was not found in text.\n"; cout << "\nAnother search? (q to quit) "; cin >> search_word; } } void display_word_count(const map<string, int> &word_map, ofstream &os) { map<string, int>::const_iterator iter = word_map.begin(), end_it = word_map.end(); while (iter != end_it) { os << iter->first << " ( " << iter->second << " )" << endl; ++iter; } os << endl; } void populate_map(ifstream &nameFile, map<string, vstring> &families) { string textline; while (getline(nameFile, textline, '\n')) { string fam_name; vector<string> child; cout << "textline: " << textline << endl; string::size_type pos = 0, prev_pos = 0, text_size = textline.size(); if (!text_size) continue; // ok: find each word separated by a space while ((pos = textline.find_first_of(' ', pos)) != string::npos) { string::size_type end_pos = pos - prev_pos; if (!prev_pos) fam_name = textline.substr(prev_pos, end_pos); else child.push_back(textline.substr(prev_pos, end_pos)); prev_pos = ++pos; } // now handle last child if (prev_pos < text_size) child.push_back(textline.substr(prev_pos, pos - prev_pos)); cout << "family name: " << fam_name << " children: " << child.size() << endl; if (!families.count(fam_name)) families[fam_name] = child; else cerr << "Oops! We already have a " << fam_name << " family in our map!\n"; } } void display_map(const map<string, vstring> &families, ostream &os) { map<string, vstring>::const_iterator it = families.begin(), end_it = families.end(); while (it != end_it) { os << "The " << it->first // print out family name << " family "; if (it->second.empty()) os << "has no children\n"; else { // print out vector of children os << "has " << it->second.size() << " children: "; vector<string>::const_iterator iter = it->second.begin(), end_iter = it->second.end(); while (iter != end_iter) { os << *iter << " "; ++iter; } os << endl; } ++it; } } void query_map(const string &family, const map<string, vstring> &families) { map<string, vstring>::const_iterator it = families.find(family); if (it == families.end()) { cout << "Sorry. The " << family << " family is not currently entered.\n"; return; } cout << "The " << family << " family "; if (!it->second.size()) cout << " has no children\n"; else { // print out vector of children cout << " has " << it->second.size() << " children: "; vector<string>::const_iterator iter = it->second.begin(), end_iter = it->second.end(); while (iter != end_iter) { cout << *iter << " "; ++iter; } cout << endl; } }
ac28d1ac819a2a03debb6c339d1185bb55cd1413
503cfe7ec1fdcace780c515effe5591504053730
/lqiolib/src/dom_document.cpp
f567a480d343bc9a404e0a9f1c9a211c3eef1cc9
[]
no_license
SadiqNaizam/V5
119b19f49b9198aa3a8774d6d89a9f16756e8fd5
984abf3332af1f4d040a8a9bc41673098eacd54d
refs/heads/master
2020-06-14T11:40:39.746818
2018-03-07T01:02:20
2018-03-07T01:02:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,969
cpp
dom_document.cpp
/* * $Id: dom_document.cpp 13204 2018-03-06 22:52:04Z greg $ * * Created by Martin Mroz on 24/02/09. * Copyright 2009 __MyCompanyName__. All rights reserved. * */ #if HAVE_CONFIG_H #include <config.h> #endif #include "dom_document.h" #include <iostream> #include <cstring> #include <cstdlib> #include <cmath> #include <algorithm> #include "glblerr.h" #if HAVE_LIBXERCES_C #include "xerces_document.h" #elif HAVE_LIBEXPAT #include "expat_document.h" #endif #include "srvn_input.h" #include "srvn_results.h" #include "srvn_output.h" #include "srvn_spex.h" #include "filename.h" namespace LQIO { const char * input_file_name = 0; const char * output_file_name = 0; namespace DOM { lqio_params_stats* Document::io_vars = NULL; Document* currentDocument = NULL; bool Document::__debugXML = false; Document::Document( lqio_params_stats* ioVars, input_format format ) : _processors(), _groups(), _tasks(), _entries(), _entities(), _variables(), _nextEntityId(0), _format(format), _comment(), _comment2(), _convergenceValue(0), _iterationLimit(0), _printInterval(0), _underrelaxationCoefficient(0), _defaultConvergenceValue(0.00001), _seedValue(0), _numberOfBlocks(0), _blockTime(0), _resultPrecision(0), _warmUpLoops(0), _warmUpTime(0), _xmlDomElement(0), _lqxProgram(""), _lqxProgramLineNumber(0), _parsedLQXProgram(0), _loadedPragmas(), _maximumPhase(0), _hasResults(false), _hasRendezvous(false), _hasSendNoReply(false), _hasForwarding(false), _hasMaxServiceTime(false), _hasHistogram(false), _hasSemaphoreWait(false), _hasReaderWait(false), _hasWriterWait(false), _entryHasThinkTime(false), _entryHasOpenArrivals(false), _entryHasThroughputBound(false), _entryHasOpenWait(false), _entryHasWaitingTimeVariance(false), _entryHasServiceTimeVariance(false), _entryHasDropProbability(false), _taskHasAndJoin(false), _taskHasThinkTime(false), _processorHasRate(false), _resultValid(false), _hasConfidenceIntervals(false), _resultInvocationNumber(0), _resultConvergenceValue(0.0), _resultIterations(0), _resultUserTime(0), _resultSysTime(0), _resultElapsedTime(0), _resultMaxRSS(0) { assert( ioVars ); /* Must be set. See Dom_builder.cpp */ io_vars = ioVars; currentDocument = this; } Document::~Document() { /* Delete all of the processors (deletes tasks) */ std::map<std::string, Processor*>::iterator procIter; for (procIter = _processors.begin(); procIter != _processors.end(); ++procIter) { delete(procIter->second); } /* Make sure that we only delete entries once */ std::map<std::string, Entry*>::iterator entryIter; for (entryIter = _entries.begin(); entryIter != _entries.end(); ++entryIter) { delete(entryIter->second); } /* Now, delete all of the groups */ std::map<std::string, Group*>::iterator groupIter; for (groupIter = _groups.begin(); groupIter != _groups.end(); ++groupIter) { delete(groupIter->second); } io_vars = NULL; if ( input_file_name ) { free( const_cast<char *>(input_file_name) ); input_file_name = 0; } if ( output_file_name ) { free( const_cast<char *>(output_file_name) ); output_file_name = 0; } #if HAVE_LIBXERCES_C delete Xerces_Document::__xercesDOM; #endif LQIO::DOM::Spex::clear(); } void Document::setModelParameters(const char* comment, LQIO::DOM::ExternalVariable* conv_val, LQIO::DOM::ExternalVariable* it_limit, LQIO::DOM::ExternalVariable* print_int, LQIO::DOM::ExternalVariable* underrelax_coeff, const void * element ) { /* Set up initial model parameters */ _comment = std::string(comment); _convergenceValue = conv_val; if ( conv_val && conv_val->wasSet() ) { conv_val->getValue( _defaultConvergenceValue ); /* Reset default */ } _iterationLimit = it_limit; _printInterval = print_int; _underrelaxationCoefficient = underrelax_coeff; _xmlDomElement = element; } const std::string& Document::getModelComment() const { return _comment; } const std::string& Document::getExtraComment() const { return _comment2; } Document& Document::setModelComment( const std::string& value ) { _comment = value; return *this; } Document& Document::setExtraComment( const std::string& value ) { _comment2 = value; return *this; } const double Document::getModelConvergenceValue() const { double value = _defaultConvergenceValue; if ( _convergenceValue && _convergenceValue->wasSet() ) { _convergenceValue->getValue(value); } return value; } Document& Document::setModelConvergenceValue( ExternalVariable * value ) { _convergenceValue = value; return *this; } const unsigned int Document::getModelIterationLimit() const { double value = 0.0; if ( _iterationLimit ) { assert(_iterationLimit->getValue(value) == true); assert(value - floor(value) == 0); } else { value = 50.; } return static_cast<int>(value); } Document& Document::setModelIterationLimit( ExternalVariable * value ) { _iterationLimit = value; return *this; } const unsigned int Document::getModelPrintInterval() const { double value = 0.0; if ( _printInterval && _printInterval->getValue(value) ) { assert(value - floor(value) == 0); } return static_cast<int>(value); } Document& Document::setModelPrintInterval( ExternalVariable * value ) { _printInterval = value; return *this; } const double Document::getModelUnderrelaxationCoefficient() const { double value = 0.0; if ( _underrelaxationCoefficient ) { assert(_underrelaxationCoefficient->getValue(value) == true); } else { value = 0.9; } return value; } Document& Document::setModelUnderrelaxationCoefficient( ExternalVariable * value ) { _underrelaxationCoefficient = value; return *this; } const long Document::getSimulationSeedValue() const { double value = 0.0; if ( _seedValue ) { assert(_seedValue->getValue(value) == true); } return static_cast<long>(value); } Document& Document::setSimulationSeedValue( ExternalVariable * value ) { _seedValue = value; return *this; } const long Document::getSimulationNumberOfBlocks( ) const { double value = 0.0; if ( _numberOfBlocks ) { assert(_numberOfBlocks->getValue(value) == true); } return static_cast<long>(value); } Document& Document::setSimulationNumberOfBlocks( ExternalVariable * value ) { _numberOfBlocks = value; return *this; } const double Document::getSimulationBlockTime( ) const { double value = 0.0; if ( _blockTime ) { assert(_blockTime->getValue(value) == true); } return value; } Document& Document::setSimulationBlockTime( ExternalVariable * value ) { _blockTime = value; return *this; } const double Document::getSimulationResultPrecision( ) const { double value = 0.0; if ( _resultPrecision ) { assert(_resultPrecision->getValue(value) == true); } return value; } Document& Document::setSimulationResultPrecision( ExternalVariable * value ) { _resultPrecision = value; return *this; } const long Document::getSimulationWarmUpLoops( ) const { double value = 0.0; if ( _warmUpLoops ) { assert(_warmUpLoops->getValue(value) == true); } return static_cast<long>(value); } Document& Document::setSimulationWarmUpLoops( ExternalVariable * value ) { _warmUpLoops = value; return *this; } const double Document::getSimulationWarmUpTime( ) const { double value = 0.0; if ( _warmUpTime ) { assert(_warmUpTime->getValue(value) == true); } return value; } Document& Document::setSimulationWarmUpTime( ExternalVariable * value ) { _warmUpTime = value; return *this; } const double Document::getSpexConvergenceIterationLimit() const { double value = 0.0; if ( _spexIterationLimit ) { assert(_spexIterationLimit->getValue(value) == true); } return value; } Document& Document::setSpexConvergenceIterationLimit( ExternalVariable * spexIterationLimit ) { _spexIterationLimit = spexIterationLimit; return *this; } const double Document::getSpexConvergenceUnderrelaxation() const { double value = 0.0; if ( _spexUnderrelaxation ) { assert(_spexUnderrelaxation->getValue(value) == true); } return value; } Document& Document::setSpexConvergenceUnderrelaxation( ExternalVariable * spexUnderrelaxation ) { _spexUnderrelaxation = spexUnderrelaxation; return *this; } void Document::setMVAStatistics( const unsigned int submodels, const unsigned long core, const double step, const double step_squared, const double wait, const double wait_squared, const unsigned int faults ) { _mvaStatistics.submodels = submodels; _mvaStatistics.core = core; _mvaStatistics.step = step; _mvaStatistics.step_squared = step_squared; _mvaStatistics.wait = wait; _mvaStatistics.wait_squared = wait_squared; _mvaStatistics.faults = faults; } unsigned Document::getNextEntityId() { /* Obtain the next valid identifier */ return _nextEntityId++; } void Document::addProcessorEntity(Processor* processor) { /* Map in the processor entity */ _entities[processor->getId()] = processor; _processors[processor->getName()] = processor; } Processor* Document::getProcessorByName(const std::string& name) const { /* Return the processor by name */ if(_processors.find(name) != _processors.end()) { return const_cast<Document *>(this)->_processors[name]; } else { return NULL; } } const std::map<std::string,Processor*>& Document::getProcessors() const { /* Return the pointer */ return _processors; } void Document::addTaskEntity(Task* task) { /* Map in the task entity */ _entities[task->getId()] = task; _tasks[task->getName()] = task; } Task* Document::getTaskByName(const std::string& name) const { /* Return the task by name */ std::map<std::string,Task*>::const_iterator task = _tasks.find(name); if (task != _tasks.end()) { return task->second; } else { return NULL; } } const std::string* Document::getTaskNames(unsigned& count) const { /* Copy all of the keys */ count = _tasks.size(); std::string* names = new std::string[_tasks.size()+1]; std::map<std::string, Task*>::const_iterator iter; int i = 0; /* Copy in each of the processors names to the list */ for (iter = _tasks.begin(); iter != _tasks.end(); ++iter) { names[i++] = iter->first; } return names; } const std::map<std::string,Task*>& Document::getTasks() const { /* Return the pointer */ return _tasks; } void Document::addEntry(Entry* entry) { /* Store the entry in the table */ _entries[entry->getName()] = entry; } Entry* Document::getEntryByName(const std::string& name) const { std::map<std::string, Entry*>::const_iterator entry = _entries.find(name); /* Return the named entry */ if ( entry == _entries.end()) { return NULL; } else { return entry->second; } } const std::map<std::string,Entry*>& Document::getEntries() const { /* Return the pointer */ return _entries; } void Document::addGroup(Group* group) { /* Store the group in the map regarless of existence */ _groups[group->getName()] = group; } Group* Document::getGroupByName(const std::string& name) const { std::map<std::string,Group*>::const_iterator group = _groups.find(name); /* Attempt to find the group with the given name */ if ( group != _groups.end()) { return group->second; } else { return NULL; } } const std::map<std::string,Group*>& Document::getGroups() const { /* Return the pointer */ return _groups; } const std::map<unsigned,Entity*>& Document::getEntities() const { /* Return the pointer */ return _entities; } void Document::clearAllMaps() { _processors.clear(); _tasks.clear(); _entries.clear(); _groups.clear(); _entities.clear(); } SymbolExternalVariable* Document::getSymbolExternalVariable(const std::string& name) { /* Link the variable into the list */ if (_variables.find(name) != _variables.end()) { return _variables[name]; } else { SymbolExternalVariable* variable = new SymbolExternalVariable(name); _variables[name] = variable; return variable; } } bool Document::hasSymbolExternalVariable(const std::string& name) const { return _variables.find(name) != _variables.end(); } unsigned Document::getSymbolExternalVariableCount() const { /* Return the number of variables */ return _variables.size(); } bool Document::areAllExternalVariablesAssigned() const { /* Check to make sure all external variables were set */ for (std::map<std::string, SymbolExternalVariable*>::const_iterator iter = _variables.begin(); iter != _variables.end(); ++iter) { SymbolExternalVariable* current = iter->second; if (current->wasSet() == false) { return false; } } return true; } std::vector<std::string> Document::getUndefinedExternalVariables() const { /* Returns a list of all undefined external variables as a string */ std::vector<std::string> names; for (std::map<std::string, SymbolExternalVariable*>::const_iterator iter = _variables.begin(); iter != _variables.end(); ++iter) { SymbolExternalVariable* current = iter->second; if (current->wasSet() == false) { names.push_back(iter->first); } } return names; } void Document::setLQXProgramText(const std::string& program) { /* Copies the LQX program body */ _lqxProgram = program; } void Document::setLQXProgramText(const char * program) { /* Copies the LQX program body */ _lqxProgram = program; } const std::string& Document::getLQXProgramText() const { /* Return a reference to the program text */ return _lqxProgram; } LQX::Program * Document::getLQXProgram() const { return _parsedLQXProgram; } void Document::registerExternalSymbolsWithProgram(LQX::Program* program) { /* Make sure all of the variables are registered in the program */ std::map<std::string, SymbolExternalVariable*>::iterator iter; for (iter = _variables.begin(); iter != _variables.end(); ++iter) { SymbolExternalVariable* current = iter->second; current->registerInEnvironment(program); } } void Document::addPragma(const std::string& param, const std::string& value ) { _loadedPragmas[param] = value; } const std::map<std::string,std::string>& Document::getPragmaList() const { return _loadedPragmas; } void Document::clearPragmaList() { _loadedPragmas.clear(); } /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Result Values] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ Document& Document::setResultValid(bool resultValid) { _hasResults = true; _resultValid = resultValid; return *this; } Document& Document::setResultConvergenceValue(double resultConvergenceValue) { _hasResults = true; _resultConvergenceValue = resultConvergenceValue; return *this; } Document& Document::setResultIterations(unsigned int resultIterations) { _hasResults = true; _resultIterations = resultIterations; return *this; } Document& Document::setResultPlatformInformation(const std::string& resultPlatformInformation) { _hasResults = true; _resultPlatformInformation = resultPlatformInformation; return *this; } Document& Document::setResultSolverInformation(const std::string& resultSolverInformation) { _hasResults = true; _resultSolverInformation = resultSolverInformation; return *this; } Document& Document::setResultUserTime(clock_t resultUserTime) { _hasResults = true; _resultUserTime = resultUserTime; return *this; } Document& Document::setResultSysTime(clock_t resultSysTime) { _hasResults = true; _resultSysTime = resultSysTime; return *this; } Document& Document::setResultElapsedTime(clock_t resultElapsedTime) { _hasResults = true; _resultElapsedTime = resultElapsedTime; return *this; } Document& Document::setResultMaxRSS( long resultMaxRSS ) { if ( resultMaxRSS > 0 ) { /* Only set if > 0 */ _hasResults = true; _resultMaxRSS = resultMaxRSS; } return *this; } bool Document::hasResults() const { return _hasResults; } bool Document::isXMLDOMPresent() const { return _xmlDomElement != NULL; } /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Dom builder ] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ ExternalVariable* Document::db_build_parameter_variable(const char* input, bool* isSymbol) { if (input && input[0] == '$') { if (isSymbol) { *isSymbol = true; } return getSymbolExternalVariable(input); } else { double result = 0.0; /* NULL input means a zero */ if (input != NULL) { char* endPtr = NULL; const char* realEndPtr = input + strlen(input); result = strtod(input, &endPtr); /* Check if we finished parsing okay */ if (endPtr != realEndPtr) { std::string err = "<double>: \""; err += input; err += "\""; throw std::invalid_argument( err.c_str() ); } } /* Return the resulting value */ if (isSymbol) { *isSymbol = false; } return new ConstantExternalVariable(result); } } void Document::db_check_set_entry(Entry* entry, const string& entry_name, Entry::EntryType requisiteType) { if ( !entry ) { input_error2( ERR_NOT_DEFINED, entry_name.c_str() ); } else if ( requisiteType != Entry::ENTRY_NOT_DEFINED && !entry->entryTypeOk( requisiteType ) ) { input_error2( ERR_MIXED_ENTRY_TYPES, entry_name.c_str() ); } } Document& Document::setCallType( const Call::CallType t ) { if ( t == Call::RENDEZVOUS ) _hasRendezvous = true; if ( t == Call::SEND_NO_REPLY ) _hasSendNoReply = true; if ( t == Call::FORWARD ) _hasForwarding = true; return *this; } bool Document::hasNonExponentialPhase() const { return for_each( _tasks.begin(), _tasks.end(), LQIO::DOM::Task::Count( &LQIO::DOM::Phase::isNonExponential ) ).count() != 0; } bool Document::hasDeterministicPhase() const { return for_each( _tasks.begin(), _tasks.end(), LQIO::DOM::Task::Count( &LQIO::DOM::Phase::hasDeterministicCalls ) ).count() != 0; } /* * Load document. Based on the file extension, pick the * appropriate loader. LQNX (XML) input and output are found * in one file. SRVN input and ouptut are separate. We don't * try to load the latter if load_results == false */ /* static */ Document* Document::load(const string& input_filename, input_format format, const string& output_filename, lqio_params_stats * ioVars, unsigned& errorCode, bool load_results ) { input_file_name = strdup( input_filename.c_str() ); output_file_name = strdup( output_filename.c_str() ); ioVars->error_count = 0; /* See error.c */ ioVars->anError = false; errorCode = 0; /* Figure out input file type based on suffix */ if ( format == AUTOMATIC_INPUT ) { const unsigned long pos = input_filename.find_last_of( '.' ); if ( pos != string::npos ) { string suffix = input_filename.substr( pos+1 ); std::transform(suffix.begin(), suffix.end(), suffix.begin(), ::tolower); if ( suffix == "in" || suffix == "lqn" || suffix == "xlqn" || suffix == "txt" ) { format = LQN_INPUT; /* Override */ } else { format = XML_INPUT; } } } /* Create a document to store the product */ Document * document = new Document( ioVars, format ); /* Read in the model, invoke the builder, and see what happened */ bool rc = true; if ( format == LQN_INPUT ) { LQIO::DOM::Spex::initialize_control_parameters(); rc = SRVN::load( *document, input_filename, output_filename, errorCode, load_results ); } else { #if HAVE_LIBXERCES_C rc = Xerces_Document::load( *document, input_filename, ioVars, errorCode ); #elif HAVE_LIBEXPAT rc = Expat_Document::load( *document, input_filename, output_filename, errorCode, load_results ); #endif } if ( errorCode != 0 ) { rc = false; } /* All went well, so return it */ if ( rc ) { return document; } else { delete document; return 0; } } bool Document::loadResults(const std::string& directory_name, const std::string& file_name, const std::string& suffix, unsigned& errorCode ) { if ( getInputFormat() == LQN_INPUT ) { LQIO::Filename filename( file_name.c_str(), "p", directory_name.c_str(), suffix.c_str() ); return LQIO::SRVN::loadResults( filename() ); } else if ( getInputFormat() == XML_INPUT ) { LQIO::Filename filename( file_name.c_str(), "lqxo", directory_name.c_str(), suffix.c_str() ); #if HAVE_LIBXERCES_C return false; #elif HAVE_LIBEXPAT return Expat_Document::loadResults( *this, file_name, errorCode ); #endif } else { return false; } } /* * Print in input order. */ std::ostream& Document::print( std::ostream& output, const output_format format ) const { if ( format == TEXT_OUTPUT ) { SRVN::Output srvn( *this, _entities ); srvn.print( output ); } else if ( format == PARSEABLE_OUTPUT ) { SRVN::Parseable srvn( *this, _entities ); srvn.print( output ); } else if ( format == RTF_OUTPUT ) { SRVN::RTF srvn( *this, _entities ); srvn.print( output ); } return output; } std::ostream& Document::printExternalVariables( std::ostream& output ) const { /* Check to make sure all external variables were set */ for (std::map<std::string, SymbolExternalVariable*>::const_iterator var_p = _variables.begin(); var_p != _variables.end(); ++var_p) { if ( var_p != _variables.begin() ) { output << ", "; } const SymbolExternalVariable* var = var_p->second; output << *var; double value; if ( var->wasSet() && var->getValue( value ) ) { output << " = " << value; } } return output; } void Document::serializeDOM( std::ostream & output, bool instantiate ) const { #if HAVE_LIBXERCES_C Xerces_Document::serializeDOM( output, instantiate ); #elif HAVE_LIBEXPAT Expat_Document expat( *const_cast<Document *>(this), false, false ); expat.serializeDOM( output, instantiate ); #endif } } }
95b4691f4f7d6739827cd79db1e2b6cb333eb363
5df1a677af9379c9a82f1b29359a65ad8cbc385e
/CodeForces/PastContest/1416/D.cpp
5c36dac2e1b5ba2525a7f991f6e7d7d090225b09
[]
no_license
heyshb/Competitive-Programming
92741a4e7234e1ebce685c1b870f1287bee18f1a
363ef78d950afb53f0e5f1d2329f27dd7b9a44c2
refs/heads/master
2021-12-15T03:12:37.676111
2021-12-01T14:32:25
2021-12-01T14:32:25
122,315,094
1
0
null
null
null
null
UTF-8
C++
false
false
3,328
cpp
D.cpp
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> pii; int op[1000010][2]; bool del[1000010]; int L[1000010],R[1000010]; vector<int>e[1000010]; int N,M,Q; int p[1000010]; int fa[1000010]; int treenode[1000010]; int NN; int ttm[1000010]; const int INF = 1e9; int find(int x) { return x == fa[x] ? x : fa[x] = find(fa[x]); } void addedge(int x,int y) { e[x].push_back(y); e[y].push_back(x); } void merge(int x,int y,int t = INF) { //printf("merge %d %d %d\n",x,y,t); if (find(x) == find(y)) return; int tx = treenode[find(x)]; int ty = treenode[find(y)]; fa[find(x)] = find(y); ttm[++NN] = t; addedge(NN, tx); addedge(NN, ty); treenode[find(y)] = NN; } bool vis[1000010]; int anc[1000010][20]; int sL[1000010], sR[1000010]; int pos[1000100],ttmc = 0,dfn[1000010]; void dfs0(int x) { for (int i=1;i<20;i++) { anc[x][i] = anc[anc[x][i-1]][i-1]; } vis[x] = true; dfn[++ttmc] = x; pos[x] = ttmc; sL[x] = ttmc; for (auto t:e[x]) { if (!vis[t]) { anc[t][0] = x; dfs0(t); } } sR[x] = ttmc; } int md[4000010]; void maintain(int x) { if (p[md[x*2]] > p[md[x*2+1]]) { md[x] = md[x*2]; } else { md[x] = md[x*2+1]; } } void build(int x,int L,int R) { if (L == R) { md[x] = dfn[L]; return; } int mid = (L + R) / 2; build(x * 2, L, mid); build(x * 2 + 1, mid + 1, R); maintain(x); } int findmax(int x,int L,int R,int ql,int qr) { if (L == ql && R == qr) { return md[x]; } int mid = (L + R) / 2; if (qr <= mid) return findmax(x*2,L,mid,ql,qr); if (ql > mid) return findmax(x*2+1,mid+1,R,ql,qr); int r1 = findmax(x*2,L,mid,ql,mid); int r2 = findmax(x*2+1,mid+1,R,mid+1,qr); if (p[r1] > p[r2]) return r1; else return r2; } void modify(int x,int L,int R,int pos) { if (L == R) return; int mid = (L + R) / 2; if (pos <= mid) modify(x*2,L,mid,pos); else modify(x*2+1,mid+1,R,pos); maintain(x); } int fuck_subtree(int x) { int id = findmax(1,1,NN,sL[x],sR[x]); int ret = p[id]; p[id] = 0; modify(1,1,NN,pos[id]); return ret; } int main() { scanf("%d%d%d",&N,&M,&Q); NN = N; for (int i=1;i<=N;i++) { scanf("%d",&p[i]); } for (int i=1;i<=M;i++) { scanf("%d%d",&L[i],&R[i]); del[i] = false; } for (int i=1;i<=Q;i++) { scanf("%d%d",&op[i][0],&op[i][1]); if (op[i][0] == 2) del[op[i][1]] = true; } for (int i=1;i<=N;i++) { treenode[i] = i; fa[i] = i; ttm[i] = INF; } NN = N; for (int i=1;i<=M;i++) { if (!del[i]) { merge(L[i], R[i]); } } for (int i=Q;i>=1;i--) { if (op[i][0] == 2) { int id = op[i][1]; merge(L[id], R[id], i); } } for (int i=1;i<=N;i++) { if (!vis[treenode[find(i)]]) { dfs0(treenode[find(i)]); } } build(1,1,NN); for (int i=1;i<=Q;i++) { if (op[i][0] == 1) { int v = op[i][1]; for (int j=19;j>=0;j--) { if (ttm[anc[v][j]] > i) v = anc[v][j]; } printf("%d\n",fuck_subtree(v)); } } }
13f72899cb6112516ac5dbbad8dfea9358785cca
516e1736f6abc70f31761edfb1960c2150c5a6bb
/main_window.cpp
2d7dce5bfa5f9fd62b7f95cd45eed6fab2993902
[]
no_license
ruta-04/JADE
1cb4a595098573654f51d2d588b5403318c94d0c
e1e28e8cb1f948ed8a435f8d461978a9d440a016
refs/heads/master
2020-07-24T07:34:25.377904
2019-09-11T21:03:58
2019-09-11T21:03:58
207,848,849
0
0
null
null
null
null
UTF-8
C++
false
false
35,815
cpp
main_window.cpp
#include "main_window.h" #include "dialogs.h" #include "store.h" #include "product.h" #include <regex> #include <gtkmm.h> #include "customer.h" #include "order.h" //#include "view.h" int Main_window::order_counter=0; Main_window::Main_window() { // ///////////////// // G U I S E T U P // ///////////////// set_default_size(400, 200); // Put a vertical box container as the Window contents Gtk::Box *vbox = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL, 0)); add(*vbox); // /////// // M E N U // Add a menu bar as the top item in the vertical box Gtk::MenuBar *menubar = Gtk::manage(new Gtk::MenuBar()); vbox->pack_start(*menubar, Gtk::PACK_SHRINK, 0); // F I L E // Create a File menu and add to the menu bar Gtk::MenuItem *menuitem_file = Gtk::manage(new Gtk::MenuItem("_File", true)); menubar->append(*menuitem_file); Gtk::Menu *filemenu = Gtk::manage(new Gtk::Menu()); menuitem_file->set_submenu(*filemenu); // Q U I T // Append Quit to the File menu Gtk::MenuItem *menuitem_quit = Gtk::manage(new Gtk::MenuItem("_Quit", true)); menuitem_quit->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_quit_click)); filemenu->append(*menuitem_quit); //View //Create a view Gtk::MenuItem *menuitem_view=Gtk::manage(new Gtk::MenuItem("View",true)); menubar->append(*menuitem_view); Gtk::Menu *viewmenu=Gtk::manage(new Gtk::Menu()); menuitem_view->set_submenu(*viewmenu); // All products // Append Quit to the File menu Gtk::MenuItem *menuitem_products = Gtk::manage(new Gtk::MenuItem("All products", true)); menuitem_products->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_view_all_click)); viewmenu->append(*menuitem_products); //list customers Gtk::MenuItem *menuitem_customers = Gtk::manage(new Gtk::MenuItem("List all customers", true)); menuitem_customers->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_list_customers_click)); viewmenu->append(*menuitem_customers); //view order Gtk::MenuItem *menuitem_orders = Gtk::manage(new Gtk::MenuItem("View order", true)); menuitem_orders->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_view_order_click)); viewmenu->append(*menuitem_orders); //Create //Create a menu Gtk::MenuItem *menuitem_create=Gtk::manage(new Gtk::MenuItem("Create",true)); menubar->append(*menuitem_create); Gtk::Menu *createmenu=Gtk::manage(new Gtk::Menu()); menuitem_create->set_submenu(*createmenu); // Coffee // Append Quit to the File menu Gtk::MenuItem *menuitem_java = Gtk::manage(new Gtk::MenuItem("Java", true)); menuitem_java->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_create_coffee_click)); createmenu->append(*menuitem_java); // Donut // Append Quit to the File menu Gtk::MenuItem *menuitem_donut = Gtk::manage(new Gtk::MenuItem("Donut", true)); menuitem_donut->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_create_donut_click)); createmenu->append(*menuitem_donut); //customer Gtk::MenuItem *menuitem_customer = Gtk::manage(new Gtk::MenuItem("Customer", true)); menuitem_customer->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_new_customer_click)); createmenu->append(*menuitem_customer); //customer Gtk::MenuItem *menuitem_order = Gtk::manage(new Gtk::MenuItem("Order", true)); menuitem_order->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_create_order_click)); createmenu->append(*menuitem_order); //STATE OF ORDERS //Create a process Gtk::MenuItem *menuitem_process=Gtk::manage(new Gtk::MenuItem("Process",true)); menubar->append(*menuitem_process); Gtk::Menu *processmenu=Gtk::manage(new Gtk::Menu()); menuitem_process->set_submenu(*processmenu); // FILL Gtk::MenuItem *menuitem_fill = Gtk::manage(new Gtk::MenuItem("Fill", true)); menuitem_fill->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_fill_order_click)); processmenu->append(*menuitem_fill); // PAY Gtk::MenuItem *menuitem_pay = Gtk::manage(new Gtk::MenuItem("Pay", true)); menuitem_pay->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_pay_order_click)); processmenu->append(*menuitem_pay); // DISACRD Gtk::MenuItem *menuitem_discard = Gtk::manage(new Gtk::MenuItem("Discard", true)); menuitem_discard->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_discard_order_click)); processmenu->append(*menuitem_discard); //help Gtk::MenuItem *menuitem_help = Gtk::manage(new Gtk::MenuItem("Help", true)); menubar->append(*menuitem_help); Gtk::Menu *helpmenu = Gtk::manage(new Gtk::Menu()); menuitem_help->set_submenu(*helpmenu); //about help Gtk::MenuItem *menuitem_about = Gtk::manage(new Gtk::MenuItem("About", true)); menuitem_about->signal_activate().connect(sigc::mem_fun(*this, &Main_window::on_about_click)); helpmenu->append(*menuitem_about); // // ///////////// // T O O L B A R // Add a toolbar to the vertical box below the menu Gtk::Toolbar *toolbar = Gtk::manage(new Gtk::Toolbar); vbox->add(*toolbar); // Add a donut button1_on_image = Gtk::manage(new Gtk::Image{"donut.png"}); //button1_off_image = Gtk::manage(new Gtk::Image{"button1_off.png"}); button1 = Gtk::manage(new Gtk::ToolButton(*button1_on_image)); button1->set_tooltip_markup("Create donut"); button1->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_create_donut_click)); toolbar->append(*button1); // Add a coffee button2_on_image = Gtk::manage(new Gtk::Image{"coffee.png"}); //button2_off_image = Gtk::manage(new Gtk::Image{"button2_off.png"}); button2 = Gtk::manage(new Gtk::ToolButton(*button2_on_image)); button2->set_tooltip_markup("Add coffee"); button2->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_create_coffee_click)); toolbar->append(*button2); // Add a list of donut and coffee button3_on_image = Gtk::manage(new Gtk::Image{"d_c.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button3 = Gtk::manage(new Gtk::ToolButton(*button3_on_image)); button3->set_tooltip_markup("List all Donut and Coffee"); button3->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_view_all_click)); toolbar->append(*button3); // Add a list of donut and coffee button4_on_image = Gtk::manage(new Gtk::Image{"customer.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button4 = Gtk::manage(new Gtk::ToolButton(*button4_on_image)); button4->set_tooltip_markup("Create Customer"); button4->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_new_customer_click)); toolbar->append(*button4); // Add a list of customer button5_on_image = Gtk::manage(new Gtk::Image{"list_c.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button5 = Gtk::manage(new Gtk::ToolButton(*button5_on_image)); button5->set_tooltip_markup("List all Customers"); button5->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_list_customers_click)); toolbar->append(*button5); //create order button6_on_image = Gtk::manage(new Gtk::Image{"create_order.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button6 = Gtk::manage(new Gtk::ToolButton(*button6_on_image)); button6->set_tooltip_markup("Create order"); button6->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_create_order_click)); toolbar->append(*button6); //view order button7_on_image = Gtk::manage(new Gtk::Image{"list_orders.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button7 = Gtk::manage(new Gtk::ToolButton(*button7_on_image)); button7->set_tooltip_markup("List orders"); button7->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_view_order_click)); toolbar->append(*button7); //FILL ORDER button8_on_image = Gtk::manage(new Gtk::Image{"fill.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button8 = Gtk::manage(new Gtk::ToolButton(*button8_on_image)); button8->set_tooltip_markup("Fill orders"); button8->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_fill_order_click)); toolbar->append(*button8); //PAY ORDER button9_on_image = Gtk::manage(new Gtk::Image{"pay.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button9 = Gtk::manage(new Gtk::ToolButton(*button9_on_image)); button9->set_tooltip_markup("Pay orders"); button9->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_pay_order_click)); toolbar->append(*button9); //DISCARD ORDER button10_on_image = Gtk::manage(new Gtk::Image{"del.png"}); // button3_off_image = Gtk::manage(new Gtk::Image{"button3_off.png"}); button10 = Gtk::manage(new Gtk::ToolButton(*button10_on_image)); button10->set_tooltip_markup("Disacrd orders"); button10->signal_clicked().connect(sigc::mem_fun(*this, &Main_window::on_discard_order_click)); toolbar->append(*button10); // M A I N A R E A Gtk::Label* main_area = Gtk::manage(new Gtk::Label); main_area->set_hexpand(true); main_area->set_vexpand(true); vbox->add(*main_area); // S T A T U S B A R D I S P L A Y // Provide a status bar for program messages msg = Gtk::manage(new Gtk::Label()); msg->set_hexpand(true); vbox->add(*msg); // Make the box and everything in it visible vbox->show_all(); } Main_window::~Main_window() { } // ///////////////// // C A L L B A C K S // ///////////////// void Main_window::on_create_donut_click() { //_store.add_java(); //_store.add_product((Product*)(Java{"Java",5.00,2.00,0})); //_store.product_to_string(0); // Frosting frosting = (Frosting)(rand()%5); // Filling filling = (Filling)(rand()%5); // //Donut* d = new Donut{"Donut", 0.75, 0.25, frosting, true, filling}; // Donut* d = new Donut{"Donut", 0.75, 0.25, frosting, true, filling}; // // _store.add_product(d); //std::cout<<d->to_string(); //creating donut widget Gtk::Dialog *dialog=new Gtk::Dialog(); dialog->set_title("Create a Donut"); dialog->set_transient_for(*this); ///DONUT NAME Gtk::HBox name; Gtk::Label name_donut{"Name: "}; name.pack_start(name_donut); Gtk::Entry entry_donut; entry_donut.set_max_length(50); name.pack_start(entry_donut); dialog->get_vbox()->pack_start(name); //price Gtk::HBox price; Gtk::Label price_donut{"Price: "}; price.pack_start(price_donut); Gtk::Entry entry_price; entry_price.set_max_length(50); price.pack_start(entry_price); dialog->get_vbox()->pack_start(price); //cost Gtk::HBox cost; Gtk::Label cost_donut{"Cost: "}; cost.pack_start(cost_donut); Gtk::Entry entry_cost; entry_cost.set_max_length(50); cost.pack_start(entry_cost); dialog->get_vbox()->pack_start(cost); //Frosting Gtk::HBox frosting; Gtk::Label frosting_donut{"Frosting: "}; frosting.pack_start(frosting_donut); Gtk::ComboBoxText frosting_menu; frosting_menu.append("Unfrosted"); frosting_menu.append("Chocolate_top"); frosting_menu.append("Vanilla_top"); frosting_menu.append("Pink_top"); frosting.pack_start(frosting_menu); dialog->get_vbox()->pack_start(frosting); //filling Gtk::HBox filling; Gtk::Label filling_donut{"Filling: "}; filling.pack_start(filling_donut); Gtk::ComboBoxText filling_menu; filling_menu.append("Unfilled"); filling_menu.append("Creme"); filling_menu.append("Bavarian"); filling_menu.append("Strawberry"); filling.pack_start(filling_menu); dialog->get_vbox()->pack_start(filling); Gtk::CheckButton sprinkles("Sprinkles", true); dialog->get_vbox()->pack_start(sprinkles); dialog->add_button("Cancel", 0); dialog->add_button("Create", 1); dialog->show_all(); int result = dialog->run(); std::string name_d=entry_donut.get_text(); std::string price_d=entry_price.get_text(); std::string cost_d=entry_cost.get_text(); int frost_d=frosting_menu.get_active_row_number(); int fill_d=filling_menu.get_active_row_number(); bool flag_sprinkles=sprinkles.get_active(); double price_final=0; double cost_final=0; dialog->close(); while (Gtk::Main::events_pending()) Gtk::Main::iteration(); if(result==1) { if(name_d.empty()) { Dialogs::message("Name fiels is empty. Donut cannot be created."); } if(price_d.empty() || cost_d.empty()) { Dialogs::message("Price/Cost field is empty. Donut cannot be created."); } else { try { //std::cout<<"gign\n"; price_final=std::stod(price_d); //std::cout<<price_final<<"\n"; cost_final=std::stod(cost_d); //std::cout<<cost_final; } catch (...) { } } if(price_final==0.0 || cost_final==0.0) { // std::cout<<"in loop"; Dialogs::message("Invalid data in price/cost field. Donut cannot be created"); } if(!name_d.empty() && !price_d.empty() && !cost_d.empty() && !(price_final==0.0) && !(cost_final==0.0) ) { Donut *donut=new Donut(name_d,price_final,cost_final,(Frosting)frost_d,flag_sprinkles,(Filling)fill_d); _store.add_product(donut); msg->set_text("New donut product \"" + name_d + "\" created"+"\t\t\t\t\t\t\t\t\t"+_store.get_cash_register()); } } delete dialog; } void Main_window::on_create_coffee_click() { //_store.add_java(); //_store.add_product((Product*)(Java{"Java",5.00,2.00,0})); //_store.product_to_string(0); // int darkness = rand() % 5; // double price = 5.00; // double cost = 2.00; // Java* c = new Java{"Coffee", price, cost, (Darkness)darkness}; // int shot_clock = rand() % 4; // vary the number of shots // while (shot_clock>=0) { // Shot shot = (Shot)(rand()%4); // c->add_shot(shot); // shot_clock--; // } // _store.add_product(c); //std::cout<< c->to_string(); //create java bool flag=true; double price_final=0.0; double cost_final=0.0; Gtk::Dialog *dialog=new Gtk::Dialog(); dialog->set_transient_for(*this); dialog->set_title("Create Java"); //Name Gtk::HBox name; Gtk::Label label_name{"Name: "}; name.pack_start(label_name); Gtk::Entry entry_name; entry_name.set_max_length(50); name.pack_start(entry_name); dialog->get_vbox()->pack_start(name); //price Gtk::HBox price; Gtk::Label label_price{"Price: "}; price.pack_start(label_price); Gtk::Entry entry_price; entry_price.set_max_length(50); price.pack_start(entry_price); dialog->get_vbox()->pack_start(price); //cost Gtk::HBox cost; Gtk::Label label_cost{"Cost: "}; cost.pack_start(label_cost); Gtk::Entry entry_cost; entry_cost.set_max_length(50); cost.pack_start(entry_cost); dialog->get_vbox()->pack_start(cost); //Darkness Gtk::HBox darkness; Gtk::Label label_darkness{"Darkness: "}; darkness.pack_start(label_darkness); Gtk::ComboBoxText darkness_menu; darkness_menu.append("Blond"); darkness_menu.append("Light"); darkness_menu.append("Medium"); darkness_menu.append("Dark"); darkness_menu.append("Extra_Dark"); darkness.pack_start(darkness_menu); dialog->get_vbox()->pack_start(darkness); dialog->add_button("Cancel", 0); dialog->add_button("Next", 1); dialog->show_all(); int result = dialog->run(); std::string name_j=entry_name.get_text(); std::string price_j=entry_price.get_text(); std::string cost_j=entry_cost.get_text(); int darkness_j=darkness_menu.get_active_row_number(); if(result==1) { if(name_j.empty()) { Dialogs::message("Name fiels is empty. Donut cannot be created."); } if(price_j.empty() || cost_j.empty()) { Dialogs::message("Price/Cost field is empty. Donut cannot be created."); } else { try { //std::cout<<"gign\n"; price_final=std::stod(price_j); //std::cout<<price_final<<"\n"; cost_final=std::stod(cost_j); //std::cout<<cost_final; } catch (...) { } } if(price_final==0.0 || cost_final==0.0) { // std::cout<<"in loop"; Dialogs::message("Invalid data in price/cost field. Donut cannot be created"); } if(!name_j.empty() && !price_j.empty() && !cost_j.empty() && !(price_final==0.0) && !(cost_final==0.0) ) { Java *java=new Java{name_j,price_final,cost_final,(Darkness)darkness_j}; while(flag) { Gtk::Dialog shots; //shots.set_transient_for(this); shots.set_title("Add Shots"); Gtk::ComboBoxText add_shots; add_shots.append("None"); add_shots.append("Chocolate"); add_shots.append("Vanilla"); add_shots.append("Peppermint"); add_shots.append("Hazlenut"); shots.get_vbox()->pack_start(add_shots); shots.add_button("Cancel",0); shots.add_button("Create",1); shots.add_button("Add",2); shots.show_all(); int result = shots.run(); int shot_number=add_shots.get_active_row_number(); if(result==2) { java->add_shot((Shot)shot_number); if(shot_number==0) { Dialogs::message("None of the shots are added"); } if(shot_number==1) { Dialogs::message("Chocolate shot is added"); } else if(shot_number==2) { Dialogs::message("Vanilla shot is added"); } else if(shot_number==3) { Dialogs::message("Peppermint shot is added"); } else if(shot_number==4) { Dialogs::message("Hazlenut shot is added"); } flag=true; } if(result==1) { _store.add_product(java); msg->set_text("New java product \"" + name_j + "\" created"+"\t\t\t\t\t\t\t\t\t"+_store.get_cash_register()); flag=false; } } } } delete dialog; } //order creation void Main_window::on_create_order_click() { Order _order; bool flag=true; bool order_placed=false; std::string o="Order #"+std::to_string(order_counter); while(flag) { Gtk::Dialog *dialog=new Gtk::Dialog(); dialog->set_title("create a order"); dialog->set_transient_for(*this); Gtk::Label order_label{o}; dialog->get_vbox()->pack_start(order_label); Gtk::HBox order; Gtk::Label label{"Product: "}; order.pack_start(label); Gtk::ComboBoxText product_menu; int size=_store.number_of_products(); for(int i=0;i<size;i++) { product_menu.append(_store.product_to_string(i)); } order.pack_start(product_menu); dialog->get_vbox()->pack_start(order); dialog->add_button("Cancel",0); dialog->add_button("Add",1); dialog->add_button("Next",2); dialog->show_all(); int result= dialog->run(); int row=product_menu.get_active_row_number(); //std::cout<<row; dialog->close(); while (Gtk::Main::events_pending()) Gtk::Main::iteration(); if(result==0) { //flag=false; break; } else if(result==1) { _order.add_product(_store.get_vector(row)); // flag=true; } else if(result==2) { Gtk::Dialog *d=new Gtk::Dialog(); d->set_transient_for(*this); d->set_title("Select Customer"); Gtk::ComboBoxText customer_menu; int size=_store.number_of_customers(); for(int i=0;i<size;i++) { customer_menu.append(_store.get_customer_string(i)); } d->get_vbox()->pack_start(customer_menu); std::string place_order="Place Order "+std::to_string(order_counter); d->add_button("Cancel",0); d->add_button(place_order,1); d->show_all(); int r=d->run(); if(r==0) { flag=false; break; } else if(r==1) { int row_number= customer_menu.get_active_row_number(); _store.place_order(_order,row_number); _store.add_order_to_vectors(_order); order_placed=true; } d->close(); while (Gtk::Main::events_pending()) Gtk::Main::iteration(); delete d; //flag=false; break; } else{ break; } delete dialog; } if(order_placed) { //std::cout<<_store.order_to_string(order_counter); _order.add_order_number(order_counter); msg->set_text("Order " + std::to_string(order_counter) + " placed"+"\t\t\t\t"+_store.get_cash_register()); order_counter++; } else{ msg->set_text("Order " + std::to_string(order_counter) + " canceled"+"\t\t\t\t\t\t\t\t\t"+_store.get_cash_register()); order_counter++; } } //create customer void Main_window::on_new_customer_click() { Gtk::Dialog *dialog=new Gtk::Dialog(); dialog->set_title("Create a customer"); dialog->set_transient_for(*this); Gtk::Label *label_1=new Gtk::Label("Name"); dialog->get_content_area()->pack_start(*label_1); label_1->show(); Gtk::Entry *entry_1= new Gtk::Entry(); entry_1->set_max_length(50); //entry_1->set_text("abc"); entry_1->show(); dialog->get_vbox()->pack_start(*entry_1); Gtk::Label *label_2=new Gtk::Label("Phone Number"); dialog->get_vbox()->pack_start(*label_2); label_2->show(); Gtk::Entry *entry_2= new Gtk::Entry(); entry_2->set_max_length(50); //entry_2->set_text("817-233-3456"); entry_2->show(); dialog->get_vbox()->pack_start(*entry_2); dialog->add_button("Cancel", 0); dialog->add_button("Create", 1); dialog->set_default_response(0); int result=dialog->run(); std::string text_1=entry_1->get_text(); //std::cout<<text_1; std::string text_2=entry_2->get_text(); //std::cout<<text_2; dialog->close(); while (Gtk::Main::events_pending()) Gtk::Main::iteration(); delete label_1; delete entry_1; delete label_2; delete entry_2; if(result==1) { //std::cout<<"checking"; std::regex phone{"((\\(\\d{3,3}\\))|(\\d{3,3}-))?\\d{3,3}-\\d{4,4}"}; if(std::regex_match(text_2,phone)) { //std::cout<<"correct"; Customer *customer =new Customer{text_1,text_2}; _store.add_customer(customer); msg->set_text("Created customer " + text_1+"\t\t\t\t\t\t\t\t\t"+_store.get_cash_register()); } else{ Dialogs::message("Wrong phone number format!"); //exit(0); } } else { //std::cerr<<"error entering phone number"; } delete dialog; } void Main_window::on_list_customers_click() { Dialogs::message(_store.customer_to_string(_store.number_of_customers()),"List of customers"); } void Main_window::on_view_all_click() { //_store.add_java(); //_store.add_product((Product*)(Java{"Java",5.00,2.00,0})); //_store.product_to_string(0); Dialogs::message(_store.get_info()); } void Main_window::on_view_order_click() { bool flag=true; int number; while(flag) { Gtk::Dialog *dialog=new Gtk::Dialog(); dialog->set_transient_for(*this); dialog->set_title("Select an order"); Gtk::HBox order_menu; Gtk::Label label{"Order"}; order_menu.pack_start(label); Gtk::ComboBoxText order; for(int i=0;i<order_counter;i++) { std::string a=std::to_string(i); order.append(a); } order_menu.pack_start(order); dialog->get_vbox()->pack_start(order_menu); dialog->add_button("Cancel",0); dialog->add_button("Show",1); dialog->show_all(); int result=dialog->run(); number=order.get_active_row_number(); if(result==1) { std::string msg="Order #"+std::to_string(number)+'\n'+_store.order_to_string(number); Dialogs::message(msg,"Order Information"); flag=true; } else { flag=false; } delete dialog; } } void Main_window::on_fill_order_click() { Gtk::Dialog *dialog=new Gtk::Dialog("Select an order to fill", *this); Gtk::HBox b_orders; Gtk::Label l_current; dialog->get_vbox()->pack_start(l_current, Gtk::PACK_SHRINK); Gtk::Label l_orders{"Order:"}; l_orders.set_width_chars(15); b_orders.pack_start(l_orders, Gtk::PACK_SHRINK); Gtk::ComboBoxText c_orders; for(int i=0;i<order_counter;i++) { c_orders.append(std::to_string(i)); } b_orders.pack_start(c_orders, Gtk::PACK_SHRINK); dialog->get_vbox()->pack_start(b_orders, Gtk::PACK_SHRINK); dialog->add_button("Close", 0); dialog->add_button("Show", 1); dialog->add_button("Fill", 2); dialog->show_all(); while(true) { //std::cout<<"running"; int result=dialog->run(); //std::cout<<"running_1"; if(result==1) { std::string a="Order#"+std::to_string(c_orders.get_active_row_number())+"\n"+_store.order_to_string(c_orders.get_active_row_number()); Dialogs::message(a); break; } else if(result==2) { //std::cout<<"messgae clear"; try { _store.fill_order(c_orders.get_active_row_number()); std::string b="Order#"+std::to_string(c_orders.get_active_row_number())+"\n"+_store.order_to_string(c_orders.get_active_row_number()); l_current.set_text(b); msg->set_text("Order " + std::to_string(c_orders.get_active_row_number()) + " filled"+"\t\t\t\t\t\t\t\t\t"+_store.get_cash_register()); } // catch(std::bad_alloc &ba) // { // // } catch(...) { Dialogs::message("not offering to fill an order that is already paid or that has been discarded"); } } else { delete dialog; return; } } delete dialog; } void Main_window::on_pay_order_click() { Gtk::Dialog *dialog=new Gtk::Dialog("Select an order to pay", *this); Gtk::HBox b_orders; Gtk::Label l_current{"order"}; dialog->get_vbox()->pack_start(l_current, Gtk::PACK_SHRINK); Gtk::Label l_orders{"Order:"}; l_orders.set_width_chars(15); b_orders.pack_start(l_orders, Gtk::PACK_SHRINK); Gtk::ComboBoxText c_orders; for(int i=0;i<order_counter;i++) { c_orders.append(std::to_string(i)); } b_orders.pack_start(c_orders, Gtk::PACK_SHRINK); dialog->get_vbox()->pack_start(b_orders, Gtk::PACK_SHRINK); dialog->add_button("Close", 0); dialog->add_button("Show", 1); dialog->add_button("Pay", 2); dialog->show_all(); while(true) { int result=dialog->run(); if(result==1) { std::string a="Order#"+std::to_string(c_orders.get_active_row_number())+"\n"+_store.order_to_string(c_orders.get_active_row_number()); Dialogs::message(a); break; } else if(result==2) { try { _store.pay_order(c_orders.get_active_row_number()); std::string b="Order#"+std::to_string(c_orders.get_active_row_number())+"\n"+_store.order_to_string(c_orders.get_active_row_number()); l_current.set_text(b); msg->set_text("Order " + std::to_string(c_orders.get_active_row_number()) + " paid"+"\t\t\t\t\t\t\t\t\t"+(_store.add_cash(c_orders.get_active_row_number()))); } catch(...) { Dialogs::message("not offering to pay an order that is already paid or that has been discarded"); } } else { delete dialog; return; } } delete dialog; } void Main_window::on_discard_order_click() { Gtk::Dialog *dialog=new Gtk::Dialog("Select an order to discard", *this); Gtk::HBox b_orders; Gtk::Label l_current{"order"}; dialog->get_vbox()->pack_start(l_current, Gtk::PACK_SHRINK); Gtk::Label l_orders{"Order:"}; l_orders.set_width_chars(15); b_orders.pack_start(l_orders, Gtk::PACK_SHRINK); Gtk::ComboBoxText c_orders; for(int i=0;i<order_counter;i++) { c_orders.append(std::to_string(i)); } b_orders.pack_start(c_orders, Gtk::PACK_SHRINK); dialog->get_vbox()->pack_start(b_orders, Gtk::PACK_SHRINK); dialog->add_button("Close", 0); //dialog->add_button("Show", 1); dialog->add_button("Discarded", 2); dialog->show_all(); // while(true) // { int result=dialog->run(); // if(result==1) // { // std::string a="Order#"+std::to_string(c_orders.get_active_row_number())+"\n"+_store.order_to_string(c_orders.get_active_row_number()); // Dialogs::message(a); // break; // } // else if(result==2) { //std::cout<<"messgae clear"; try { _store.discard_order(c_orders.get_active_row_number()); // std::string b="Order#"+std::to_string(c_orders.get_active_row_number())+"\n"+_store.order_to_string(c_orders.get_active_row_number()); // l_current.set_text(b); msg->set_text("Order " + std::to_string(c_orders.get_active_row_number()) + " discarded"+"\t\t\t\t\t\t\t\t\t"+(_store.add_cash(c_orders.get_active_row_number()))); Dialogs::message("Order is discarded successfully"); } catch(...) { Dialogs::message("Order is already discarded or completed"); } } else { delete dialog; return; } // } delete dialog; } void Main_window::on_about_click() { Gtk::AboutDialog dialog{}; //dialog.set_transient_for(*this); dialog.set_program_name("Java and Donut Express"); auto logo = Gdk::Pixbuf::create_from_file("jade.png"); dialog.set_logo(logo); dialog.set_version("Version 0.2.0"); dialog.set_copyright("Copyright 2018"); dialog.set_license_type(Gtk::License::LICENSE_GPL_3_0); std::vector< Glib::ustring > authors = {"Ruta Vaghasia"}; dialog.set_authors(authors); std::vector< Glib::ustring > artists = {"JADE logo is licensed the creative Commons Attribuition Share-Alike 3.0 License by Saxdeux Flat \n Coffee Icon is licensed under the Creative Common Attribution 3.0 License by Superawesomevectors \n Donut Icon is public by Hazmat2 via Hyju \n Person Icon is licensed under The Creative Commons 0 (public domain) License by Ciker-Free-Vector-Images"}; dialog.set_artists(artists); dialog.run(); } void Main_window::on_quit_click() { hide(); } //void Main_window::on_about_click() { // // v.help(); // // Glib::ustring s = "<span size='24000' weight='bold'>Nim</span>\n<span size='large'>Copyright 2017 by George F. Rice</span>\n<span size='small'>Licensed under Creative Commons Attribution 4.0 International\nRobot icon created by Freepik, used under free attribution license</span>"; // // Gtk::MessageDialog dlg(*this, s, true, Gtk::MESSAGE_INFO, Gtk::BUTTONS_OK, true); // //dlg.run(); //} // ///////////////// // U T I L I T I E S // ///////////////// //void Main_window::set_sticks() { // // s collects the status message // Glib::ustring s = ""; // // // If the robot is enabled and it's their turn, move the robot // if (nim->sticks_left() > 0) { // if (computer_player->get_active() && nim->current_player() == 2) { // s += "Robot plays " + std::to_string(nim->optimal_move()) + ", "; // nim->take_sticks(nim->optimal_move()); // } // } // // // Report who's turn it is, or (if all sticks gone) who won // if (nim->sticks_left() > 0) { // s += "Player " + std::to_string(nim->current_player()) + "'s turn"; // } else { // s += "<span size='16000' weight='bold'>Player " // + std::to_string(3-nim->current_player()) // + " wins!</span>"; // } // // // Display the collected status on the status bar // msg->set_markup(s); // // // Update the visual display of sticks // s = "<span size='24000' weight='bold'>"; // for(int i=0; i<nim->sticks_left(); ++i) s.append("| "); // s.append("</span> (" + std::to_string(nim->sticks_left()) + " sticks)"); // sticks->set_markup(s); // // // Set sensitivity of the human stick selectors so user can't make an illegal move // button1->set_sensitive(nim->sticks_left() > 0); // button2->set_sensitive(nim->sticks_left() > 1); // button3->set_sensitive(nim->sticks_left() > 2); //}
6a2aa5d4838e6a37fd6ec45577b87c10b8a6ff70
f1aaed1e27416025659317d1f679f7b3b14d654e
/Office/Source/Stock/Suppliers.h
5002d2633db37558dfdd826182e65fdd65c8c9aa
[]
no_license
radtek/Pos
cee37166f89a7fcac61de9febb3760d12b823ce5
f117845e83b41d65f18a4635a98659144d66f435
refs/heads/master
2020-11-25T19:49:37.755286
2016-09-16T14:55:17
2016-09-16T14:55:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,642
h
Suppliers.h
//--------------------------------------------------------------------------- #ifndef SuppliersH #define SuppliersH //--------------------------------------------------------------------------- #include <Buttons.hpp> #include <Classes.hpp> #include <ComCtrls.hpp> #include <Controls.hpp> #include <DB.hpp> #include <Dialogs.hpp> #include <ExtCtrls.hpp> #include <IBCustomDataSet.hpp> #include <IBDatabase.hpp> #include <IBQuery.hpp> #include <IBSQL.hpp> #include <Menus.hpp> #include <StdCtrls.hpp> #include <memory> #include "AddContact.h" //--------------------------------------------------------------------------- enum TContactsMode { cmEdit, cmSelect }; //--------------------------------------------------------------------------- class TfrmSuppliers : public TForm { __published: // IDE-managed Components TIBTransaction *Transaction; TIBSQL *sqlAddLK; TIBQuery *qrContact; TPopupMenu *pmTreeView; TMenuItem *miNew; TMenuItem *N1; TMenuItem *miEdit; TMenuItem *miRename; TMenuItem *miDelete; TFindDialog *FindDialog; TIBSQL *qrUpdateContact; TIBSQL *qrFindContact; TPanel *Panel1; TPanel *Panel4; TTreeView *tvContacts; TPanel *Panel8; TPanel *Panel9; TLabel *lbeTitle; TPageControl *pcContactsDetails; TTabSheet *tsContacts; TPanel *Panel7; TButton *btnEditStock; TButton *btnDeleteStock; TButton *btnAddStock; TButton *btnRenameStock; TListBox *lbContacts; TTabSheet *tsContact; TLabel *Label16; TLabel *Label13; TLabel *Label14; TLabel *Label15; TLabel *Label21; TLabel *Label1; TLabel *Label2; TLabel *Label3; TLabel *lbePhone; TLabel *lbeMobile; TLabel *lbeFax; TLabel *lbeEmail; TLabel *lbeContactName; TMemo *memLocationAddress; TMemo *memBillingAddress; TMemo *memNote; TPanel *Panel10; TBitBtn *btnClose; TBitBtn *btnOk; TBitBtn *btnCancel; TBitBtn *btnFind; TSplitter *Splitter1; TButton *btnAdd; TBitBtn *btnEdit; TBitBtn *btnDelete; TBitBtn *btnImport; TOpenDialog *odImport; TIBSQL *qrAddContact; TIBQuery *qrContactGroup; TIBQuery *qrAddContactGroup; TIBSQL *IBSQL1; void __fastcall FormResize(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall FormShow(TObject *Sender); void __fastcall edFindChange(TObject *Sender); void __fastcall rbSearchClick(TObject *Sender); void __fastcall edFindKeyDown(TObject *Sender, WORD &Key, TShiftState Shift); void __fastcall edFindKeyPress(TObject *Sender, char &Key); void __fastcall tvContactsChange(TObject *Sender, TTreeNode *Node); void __fastcall tvContactsMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall tvContactsEdited(TObject *Sender, TTreeNode *Node, AnsiString &S); void __fastcall tvContactsDblClick(TObject *Sender); void __fastcall btnOkClick(TObject *Sender); void __fastcall miNewClick(TObject *Sender); void __fastcall miEditClick(TObject *Sender); void __fastcall miRenameClick(TObject *Sender); void __fastcall miDeleteClick(TObject *Sender); void __fastcall btnFindClick(TObject *Sender); void __fastcall FindDialogFind(TObject *Sender); void __fastcall btnAddStockClick(TObject *Sender); void __fastcall btnEditStockClick(TObject *Sender); void __fastcall btnRenameStockClick(TObject *Sender); void __fastcall btnDeleteStockClick(TObject *Sender); void __fastcall lbContactsDblClick(TObject *Sender); void __fastcall lbContactsDrawItem(TWinControl *Control, int Index, TRect &Rect, TOwnerDrawState State); void __fastcall tvContactsKeyDown(TObject *Sender, WORD &Key, TShiftState Shift); void __fastcall tvContactsKeyPress(TObject *Sender, char &Key); void __fastcall pmTreeViewPopup(TObject *Sender); void __fastcall btnImportClick(TObject *Sender); void __fastcall Splitter1CanResize(TObject *Sender, int &NewSize, bool &Accept); protected: void __fastcall WMDisplayChange(TWMDisplayChange& Message); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(WM_DISPLAYCHANGE, TWMDisplayChange, WMDisplayChange) END_MESSAGE_MAP(TComponent) private: // User declarations void ResizeGrids(); void LoadTree(); int ContactTreeLevel; TTreeNode *FindContact(AnsiString Text); bool Registered; unsigned int Modules; const std::auto_ptr<TfrmAddContact>frmAddContact; public: // User declarations __fastcall TfrmSuppliers(TComponent* Owner); TContactsMode ContactsMode; int ContactKey; AnsiString CompanyName; }; //--------------------------------------------------------------------------- extern PACKAGE TfrmSuppliers *frmSuppliers; //--------------------------------------------------------------------------- #endif
3d40ef5ef2d3b4d5982552a83575527ee163c37e
b63d9dd98a5a832a9055bb393adcdc30e10d3534
/read_resistance.cpp
955f9668eb598a3988bbbd46aa5f9d3312e0cfac
[]
no_license
evanritz/RitzHW9-2
0c990376fb88f0c8e1f2735bdf0b34c9a0dc12c6
2f7b60d715753474e369cf22bdf250c9031f685b
refs/heads/main
2023-08-30T00:07:41.796353
2021-11-17T03:44:49
2021-11-17T03:44:49
428,889,376
0
0
null
null
null
null
UTF-8
C++
false
false
857
cpp
read_resistance.cpp
// read_resistance.cpp // // This program takes no arguments // This program uses the analogIn class // This program reads the ADC value on p9.39 // and calculates the resistance on the voltage // divider circuit // // Circuit Resistance: 820 Ohms // // Written by Evan #include <iostream> #include "analogIn.h" using namespace std; #define MAX_ADC 4095 #define Vin 1.8f #define R1 10000 int main(int argc, char* argv[]) { AnalogIn AIN(0); int adc_val = AIN.readADCsample(); float Vout = (Vin * adc_val)/MAX_ADC; float R2 = (Vout * R1)/(Vin - Vout); cout << "Using AIN" << AIN.getNumber() << " to read analog value" << endl; cout << "Reading resistance..." << endl; cout << "Vout ADC Value: " << adc_val << endl; cout << "Vout: " << Vout << "V" << endl; cout << "R2: " << R2 << "Ohms" << endl; }
c5a5323f235525f118d1630219fabf82640cf4c4
909acdbff029d84fa150207f513597d8c1c555e4
/dangling.cpp
2999d2dbfcbdfbc6c41449642876998ce10b1758
[]
no_license
vijaykumarm108/BasicApplications
4f562af3ece7f55773a4893a4de7c03f87e258b5
76763dc93143abba48d47b701c409f901d1987ca
refs/heads/master
2020-12-30T11:14:54.473273
2015-08-16T18:51:40
2015-08-16T18:51:40
40,616,687
0
0
null
null
null
null
UTF-8
C++
false
false
170
cpp
dangling.cpp
#include<iostream> using namespace std; class Class{}; int main(){ Class *object = new Class(); Class *object2 = object; delete object; object = nullptr; return 0; }
acc90d5a43633612267d776c8073bb82dd16bdd0
d29d5c3b12bc71073c7f70e13b5c6918afdaf03e
/debugsrv/runmodedebug/tsrc/rm_debug/debug_targets/t_rmdebug_security.cpp
1dd9087b546614dc8977525d20423c97f562d31e
[]
no_license
RomanSaveljev/osrndtools
bdbd82c2a2ebeca76767a2cfc431f479fa047cd0
305d28826c7105df01951f1ad1a7b93deb9683f6
refs/heads/master
2021-01-17T06:45:40.585045
2010-10-26T13:20:32
2010-10-26T13:20:32
59,350,307
0
0
null
null
null
null
UTF-8
C++
false
false
1,961
cpp
t_rmdebug_security.cpp
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available // at the URL "http://www.eclipse.org/legal/epl-v10.html". // // Initial Contributors: // Nokia Corporation - initial contribution. // // Contributors: // // Description: // Target application to be debugged by t_rmdebug.exe when testing // security restrictions. This application is built with various // capabilities by the t_rmdebug_securityX.mmp files. This allows // the t_rmdebug2 program to ensure that security restrictions are // properly enforced by the DSS/DDD subsystem. // // #include <e32base.h> #include <e32base_private.h> #include <e32cons.h> #include <e32test.h> #include <e32ldr.h> #include <e32cmn.h> #include <e32cmn_private.h> #include "t_rmdebug_security.h" CRunModeApp* CRunModeApp::NewL() // // CRunModeApp::NewL // { CRunModeApp* self = new(ELeave) CRunModeApp(); self->ConstructL(); return self; } CRunModeApp::CRunModeApp() // // CRunModeApp constructor // { } CRunModeApp::~CRunModeApp() // // CRunModeApp destructor // { } void CRunModeApp::ConstructL() // // CRunModeApp::ConstructL // { } void CRunModeApp::TestWaitDebug() // // CRunModeApp::TestWaitDebug // { RProcess::Rendezvous(KErrNone); // Wait a 3secs then quit (long enough to test, but not hang around forever) User::After(3000000); } GLDEF_C TInt E32Main() // // Entry point for run mode debug app test program // { TInt ret = KErrNone; // client CTrapCleanup* trap = CTrapCleanup::New(); if (!trap) return KErrNoMemory; CRunModeApp* myApp = CRunModeApp::NewL(); if (myApp != NULL) { __UHEAP_MARK; TRAP(ret,myApp->TestWaitDebug()); __UHEAP_MARKEND; delete myApp; } delete trap; return ret; }
024db04dc9a6844771444b53eb116b0a183e534c
32d913aecc4486907040f5388f50c94c3035000d
/Segundo/CYA/p04/fib.h
53a01423f854e0aa448c465c601980bad991b03f
[]
no_license
MeloGD/ULL
cab50f3f6cf622eb0ce10d92b33204fefbfa4099
7b34a7d1a38d7686fbd4052d24b65b7f1406de45
refs/heads/master
2023-05-06T15:48:06.048174
2021-05-24T17:23:50
2021-05-24T17:23:50
220,818,639
0
0
null
null
null
null
UTF-8
C++
false
false
663
h
fib.h
#include <iostream> #include <vector> #include <fstream> #include <string> using namespace std; class Fibonacci { private: vector<string> fibonaccisequence_; vector<string> candidates_; int size_; public: Fibonacci(const int); ~Fibonacci(); // Getters string get_fibonaccisequence(int); string get_candidates(int); int get_size(void); int get_index(string); // Setters void set_fibonaccisequence(int, string); void set_candidates(int, string); void set_size(int); // Metodos string WordFibonacci(int); void BuildFibonacciSequence(void); bool Check(string); void ReadFile(string); // es esta void WriteFile(string); };
a5b9ba061075851fcf894cec3f86765fbd5c2b93
4510257e43e97c2fb9fe6fde0615d0dde5af2b2d
/Codeforces/977F.cc
b9b604c6a3f6fbebfdbf69d04140e69c0ec9ab67
[]
no_license
kumasento/competitive-programming
4f151727623c0c5c44f2ff1f3b868178eed99962
506de14b45cf467ebb8cfbdd2f7db236eb32b668
refs/heads/main
2023-05-23T01:18:18.527693
2021-06-10T20:24:57
2021-06-10T20:24:57
31,244,109
0
0
null
null
null
null
UTF-8
C++
false
false
1,107
cc
977F.cc
/** * Author: kumasento * Date: 2021-05-20T09:28:00.000-05:00 */ #include <bits/stdc++.h> using namespace std; /// Types: using LL = long long; using PII = pair<int, int>; using PIL = pair<int, LL>; using PLI = pair<LL, int>; using PLL = pair<LL, LL>; /// Constants: constexpr int INT_INF = 1000000000; constexpr LL LL_INF = 10000000000000000LL; /// Globals: /// Solution: int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); #ifdef LOCAL_DEBUG ifstream in("977F.in"); cin.rdbuf(in.rdbuf()); #endif int n; cin >> n; vector<int> a(n); for (int &i : a) cin >> i; map<int, int> dp; int ans = 0, lst = 0; for (int i = 0; i < n; ++i) { if (dp.count(a[i]-1)) dp[a[i]] = dp[a[i]-1] + 1; else dp[a[i]] = 1; if (ans < dp[a[i]]) { ans = dp[a[i]]; lst = a[i]; } } cout << ans << endl; vector<int> res; for (int i = n - 1; i >= 0; --i) { if (a[i] == lst) { res.push_back(i + 1); -- lst; } } reverse(res.begin(), res.end()); for (int i = 0; i < ans; ++i) cout << res[i] << " "; cout << endl; }
29886fa0896cf59da4c79bd74a82a05826c508cb
24cb74052f95d275dfb8599ea342cadd5e312fa1
/Advanced DS/Range Query DS/Fenwick Tree or Binary Indexed Tree (BIT)/Problem 1(Range Updates Using Fenwick Tree Used).cpp
a4d7c36098dbc14ab6c1414ac6a50154f1f20b37
[ "MIT" ]
permissive
Datta2901/Algorithmic-Implementations
44ccd6b1996fac660ec1c268a5fa44fda59abb0e
9e1afe97d54d4dc50be9170bc1a155562e0aafa6
refs/heads/master
2023-08-31T17:25:52.391313
2021-10-15T17:46:56
2021-10-15T17:46:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,178
cpp
Problem 1(Range Updates Using Fenwick Tree Used).cpp
// Problem: C. Little Girl and Maximum Sum // Contest: Codeforces - Codeforces Round #169 (Div. 2) // URL: https://codeforces.com/problemset/problem/276/C // Memory Limit: 256 MB // Time Limit: 2000 ms // Parsed on: 16-01-2021 11:46:22 IST (UTC+05:30) // Author: kapil_choudhary #include<bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define pb push_back #define mp make_pair #define F first #define S second #define PI 3.1415926535897932384626 #define deb(x) cout << #x << "=" << x << endl #define deb2(x, y) cout << #x << "=" << x << ", " << #y << "=" << y << endl typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; typedef vector<ll> vll; typedef vector<ull> vull; typedef vector<pii> vpii; typedef vector<pll> vpll; typedef vector<vi> vvi; typedef vector<vll> vvll; typedef vector<vull> vvull; mt19937_64 rang(chrono::high_resolution_clock::now().time_since_epoch().count()); int rng(int lim) { uniform_int_distribution<int> uid(0,lim-1); return uid(rang); } const int INF = 0x3f3f3f3f; const int mod = 1e9+7; vll bit; vll v; ll n, q; void bit_update(ll i, ll val) { while(i <= n) { bit[i] += val; i += (i & -i); } } ll bit_query(ll i) { ll res = 0; while(i > 0) { res += bit[i]; i -= (i & -i); } return res; } void solve() { cin >> n >> q; v.resize(n); for(ll i = 0; i < n; i++) cin >> v[i]; sort(v.rbegin(), v.rend()); bit.resize(n + 5, 0); for(ll i = 0; i < q; i++) { ll l, r; cin >> l >> r; bit_update(l, 1); bit_update(r + 1, -1); } vll t(n); for(ll i = 1; i <= n; i++) { t[i-1] = bit_query(i); } sort(t.rbegin(), t.rend()); ll res = 0; for(ll i = 0; i < n; i++) res += (v[i] * t[i]); cout << res << "\n"; } int main() { ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr); srand(chrono::high_resolution_clock::now().time_since_epoch().count()); // #ifndef ONLINE_JUDGE // freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); // #endif int t = 1; // cin >> t; while(t--) { solve(); } return 0; }
f9132f3b0a9f73ac13b7a9e03ec2b2f61b0665db
a833156f6e18bba3440f8d9d8361be5d26f45945
/highwayhash/highwayhash_target.cc
74022f64bf640b932b3489907451c46e995a5650
[ "Apache-2.0" ]
permissive
google/highwayhash
1b3a665a7a75a7ca7f40c0ca9130068e6c512fc3
8aac23b059df6b48ea94db93c6bdbf638e00ddf1
refs/heads/master
2023-08-28T10:13:43.145381
2023-08-23T08:35:52
2023-08-23T08:36:17
51,937,191
1,476
208
Apache-2.0
2023-06-06T12:27:05
2016-02-17T16:29:40
C++
UTF-8
C++
false
false
3,975
cc
highwayhash_target.cc
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // WARNING: this is a "restricted" source file; avoid including any headers // unless they are also restricted. See arch_specific.h for details. #include "highwayhash/highwayhash_target.h" #include "highwayhash/highwayhash.h" #ifndef HH_DISABLE_TARGET_SPECIFIC namespace highwayhash { extern "C" { uint64_t HH_ADD_TARGET_SUFFIX(HighwayHash64_)(const HHKey key, const char* bytes, const uint64_t size) { HHStateT<HH_TARGET> state(key); HHResult64 result; HighwayHashT(&state, bytes, size, &result); return result; } } // extern "C" template <TargetBits Target> void HighwayHash<Target>::operator()(const HHKey& key, const char* HH_RESTRICT bytes, const size_t size, HHResult64* HH_RESTRICT hash) const { HHStateT<Target> state(key); HighwayHashT(&state, bytes, size, hash); } template <TargetBits Target> void HighwayHash<Target>::operator()(const HHKey& key, const char* HH_RESTRICT bytes, const size_t size, HHResult128* HH_RESTRICT hash) const { HHStateT<Target> state(key); HighwayHashT(&state, bytes, size, hash); } template <TargetBits Target> void HighwayHash<Target>::operator()(const HHKey& key, const char* HH_RESTRICT bytes, const size_t size, HHResult256* HH_RESTRICT hash) const { HHStateT<Target> state(key); HighwayHashT(&state, bytes, size, hash); } template <TargetBits Target> void HighwayHashCat<Target>::operator()(const HHKey& key, const StringView* HH_RESTRICT fragments, const size_t num_fragments, HHResult64* HH_RESTRICT hash) const { HighwayHashCatT<Target> cat(key); for (size_t i = 0; i < num_fragments; ++i) { cat.Append(fragments[i].data, fragments[i].num_bytes); } cat.Finalize(hash); } template <TargetBits Target> void HighwayHashCat<Target>::operator()(const HHKey& key, const StringView* HH_RESTRICT fragments, const size_t num_fragments, HHResult128* HH_RESTRICT hash) const { HighwayHashCatT<Target> cat(key); for (size_t i = 0; i < num_fragments; ++i) { cat.Append(fragments[i].data, fragments[i].num_bytes); } cat.Finalize(hash); } template <TargetBits Target> void HighwayHashCat<Target>::operator()(const HHKey& key, const StringView* HH_RESTRICT fragments, const size_t num_fragments, HHResult256* HH_RESTRICT hash) const { HighwayHashCatT<Target> cat(key); for (size_t i = 0; i < num_fragments; ++i) { cat.Append(fragments[i].data, fragments[i].num_bytes); } cat.Finalize(hash); } // Instantiate for the current target. template struct HighwayHash<HH_TARGET>; template struct HighwayHashCat<HH_TARGET>; } // namespace highwayhash #endif // HH_DISABLE_TARGET_SPECIFIC
5f12f76d01f382fa6e85d4c1290a52c09a1a80ce
5d26dd63026c7db87740a073dbac420e2b3588d4
/Game Original/stairs.h
4e89008fcda395e934963cb6ca1054744fd4ac41
[]
no_license
DhruvaAlam/LegendOfZeldaCommandLineEdition
8ae3c7730656cca885eddbd1ada0b794a65f9f3b
56642bc183a5362cff35b3540818013619181f90
refs/heads/master
2021-03-19T14:12:17.399847
2016-12-03T06:55:16
2016-12-03T06:55:16
75,457,388
1
0
null
null
null
null
UTF-8
C++
false
false
165
h
stairs.h
#ifndef __STAIRS_H__ #define __STAIRS_H__ #include "boardobject.h" class Tile; class Stairs: public BoardObject { public: Stairs(Tile* t); ~Stairs(); }; #endif
76508288452d6a5701844a4890994ba7ecf9dcda
49b63657f846ae21103518992b7fc79c388dae92
/물통채우기.cpp
244ed91731174913b16f24b6bb75a18e2c9398fc
[]
no_license
Longseabear/AlgorithmStudy
4fc200425e52cff0b626227797e8cc196bd87bb2
b1bc82b71a00f7388849f02a86c3fc5a134d7024
refs/heads/master
2020-03-27T00:23:11.732907
2018-08-21T21:02:57
2018-08-21T21:02:57
145,618,850
1
0
null
null
null
null
UTF-8
C++
false
false
426
cpp
물통채우기.cpp
#include <stdio.h> #include <queue> using namespace std; typedef struct waterState { int A; int B; int step; waterState(int a, int b, int _step):A(a), B(b), step(_step) { } }WaterState; int main() { int a, b, resA, resB; printf("%d", 7 % 8); exit(1); scanf("%d %d %d %d", &a, &b, &resA, &resB); queue<WaterState> q; q.push(WaterState(0, 0, 0)); while (!q.empty()) { WaterState ws = q.front(); q.pop(); } }
6d9d3de6686b3cc905c36c1eb5002233d5c20a42
ad74f7a42e8dec14ec7576252fcbc3fc46679f27
/BTSeedInflator/BTIpList.h
48c43b810403a197c63ec1876968571c67ff9034
[]
no_license
radtek/TrapperKeeper
56fed7afa259aee20d6d81e71e19786f2f0d9418
63f87606ae02e7c29608fedfdf8b7e65339b8e9a
refs/heads/master
2020-05-29T16:49:29.708375
2013-05-15T08:33:23
2013-05-15T08:33:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
593
h
BTIpList.h
#pragma once #include "ProjectDataStructure.h" #include "BTIP.h" class BTIPList : public ProjectDataStructure { public: BTIPList(void); BTIPList(int id); ~BTIPList(void); /* int GetID(); void SetID(int id); */ vector<BTIP> GetIps(); void AddIpList(vector<BTIP> ips); void AddIp(BTIP ip); void CalculateNumIPs(); virtual void Clear(); // call this in the constructors of the derived classes virtual int GetBufferLength(); virtual int WriteToBuffer(char *buf); virtual int ReadFromBuffer(char *buf); // returns buffer length int m_num_ips; vector<BTIP> v_ips; };
ce463e5d066b1dfc2fecc398a044768448b03ffe
2d42a50f7f3b4a864ee19a42ea88a79be4320069
/source/system/logger/default_logger.cpp
e700530b6bff31869a865685f6b5f93cc5f0302b
[]
no_license
Mikalai/punk_project_a
8a4f55e49e2ad478fdeefa68293012af4b64f5d4
8829eb077f84d4fd7b476fd951c93377a3073e48
refs/heads/master
2016-09-06T05:58:53.039941
2015-01-24T11:56:49
2015-01-24T11:56:49
14,536,431
1
0
null
2014-06-26T06:40:50
2013-11-19T20:03:46
C
UTF-8
C++
false
false
4,994
cpp
default_logger.cpp
#include <string/module.h> #include <system/time/module.h> #include <set> #include <system/concurrency/thread_mutex.h> #include "log_consumer.h" #include "console_consumer.h" #include "file_consumer.h" #include "logger_interface.h" PUNK_ENGINE_BEGIN namespace System { class ConsoleConsumer; class IClock; class PUNK_ENGINE_LOCAL DefaultLogger : public ILogger { public: DefaultLogger(); virtual ~DefaultLogger(); void Message(const Core::String& value) override; void Warning(const Core::String& value) override; void Error(const Core::String& value) override; void Info(const Core::String& value) override; void Write(const Core::String& value) override; void Debug(const Core::String& value) override; void AddConsumer(ILogConsumer* consumer) override; void RemoveConsumer(ILogConsumer* consumer) override; void IncreaseOffset() override; void DescreaseOffset() override; private: std::set<ILogConsumer*> m_consumers; ThreadMutex m_consumer_mutex; IClock* m_clock{ nullptr }; ILogConsumer* m_console_consumer{ nullptr }; ILogConsumer* m_file_consumer{ nullptr }; std::uint32_t m_offset{ 0 }; }; #ifdef _DEBUG namespace __private { LogScope::LogScope(const Core::String& scope) : m_scope(scope) { GetDefaultLogger()->Debug(Core::String("Enter {1}").arg(m_scope)); GetDefaultLogger()->IncreaseOffset(); } LogScope::~LogScope() { GetDefaultLogger()->DescreaseOffset(); GetDefaultLogger()->Debug(Core::String("Leave {1}").arg(m_scope)); } } #endif ThreadMutex g_default_logger_lock; DefaultLogger* g_default_logger; extern PUNK_ENGINE_API ILogger* GetDefaultLogger() { ThreadMutexLock lock(g_default_logger_lock); if (!g_default_logger) g_default_logger = new DefaultLogger; return g_default_logger; } extern PUNK_ENGINE_API void DestroyDefaultLogger() { ThreadMutexLock lock(g_default_logger_lock); delete g_default_logger; g_default_logger = nullptr; } void DefaultLogger::IncreaseOffset() { m_offset++; } void DefaultLogger::DescreaseOffset() { m_offset--; } DefaultLogger::DefaultLogger() { m_clock = CreateClock(); m_console_consumer = GetConsoleConsumer(); m_file_consumer = GetFileConsumer(); AddConsumer(m_console_consumer); AddConsumer(m_file_consumer); } DefaultLogger::~DefaultLogger() { DestroyClock(m_clock); RemoveConsumer(m_console_consumer); RemoveConsumer(m_file_consumer); delete m_console_consumer; delete m_file_consumer; } void DefaultLogger::AddConsumer(ILogConsumer *consumer) { ThreadMutexLock lock(m_consumer_mutex); m_consumers.insert(consumer); } void DefaultLogger::RemoveConsumer(ILogConsumer *consumer) { ThreadMutexLock lock(m_consumer_mutex); m_consumers.erase(consumer); } void DefaultLogger::Message(const Core::String& value) { ThreadMutexLock lock(m_consumer_mutex); Core::String s = m_clock->SysTimeNowAsLocal() + L": Message: " + Core::String(L' ', 2*m_offset) + value; for (auto c : m_consumers) { c->Write(m_clock->SysTimeNowAsLocal(), L"Message", value); } } void DefaultLogger::Warning(const Core::String& value) { ThreadMutexLock lock(m_consumer_mutex); Core::String s = m_clock->SysTimeNowAsLocal() + L": Warning: " + Core::String(L' ', 2*m_offset) + value; for (auto c : m_consumers) { c->Write(m_clock->SysTimeNowAsLocal(), L"Warning", value); } } void DefaultLogger::Error(const Core::String& value) { ThreadMutexLock lock(m_consumer_mutex); Core::String s = m_clock->SysTimeNowAsLocal() + L": Error: " + Core::String(L' ', 2*m_offset) + value; for (auto c : m_consumers) { c->Write(m_clock->SysTimeNowAsLocal(), L"Error", value); } } void DefaultLogger::Info(const Core::String& value) { ThreadMutexLock lock(m_consumer_mutex); Core::String s = m_clock->SysTimeNowAsLocal() + L": Info: " + Core::String(L' ', 2*m_offset) + value; for (auto c : m_consumers) { c->Write(m_clock->SysTimeNowAsLocal(), L"Info", value); } } void DefaultLogger::Write(const Core::String& value) { ThreadMutexLock lock(m_consumer_mutex); Core::String s = m_clock->SysTimeNowAsLocal() + L": Write: " + Core::String(L' ', 2*m_offset) + value; for (auto c : m_consumers) { c->Write(m_clock->SysTimeNowAsLocal(), L"", value); } } void DefaultLogger::Debug(const Core::String& value) { ThreadMutexLock lock(m_consumer_mutex); Core::String s = m_clock->SysTimeNowAsLocal() + L": Debug: " + Core::String(L' ', 2*m_offset) + value; for (auto c : m_consumers) { c->Write(m_clock->SysTimeNowAsLocal(), L"Debug", value); } } } PUNK_ENGINE_END
fa39578fef1f42255c817f6349ce2940c43846a4
df18750f32b0fd91b12a7ab343f4cc3c24693fa7
/src/main.cpp
ba0950810fb060c702e8dbc00b8cd4844c4916df
[ "MIT" ]
permissive
airen3339/CppTexturePacker
2109543dc48f394f756cff106764abc0030b5f75
1ec06e5a89131aac46a548a8c1d781472b96ed00
refs/heads/master
2023-09-01T02:06:01.436785
2020-06-09T11:20:56
2020-06-09T11:20:56
364,803,251
6
0
null
null
null
null
UTF-8
C++
false
false
2,379
cpp
main.cpp
#include <string> #include "cmdline.h" #include "cpp_texture_packer.h" int main(int argc, char *argv[]) { cmdline::parser parser; parser.add<std::string>("input_dir", 'i', "input dir", true, ""); parser.add<std::string>("ouput_name", 'n', "output atlas name", false, "out"); parser.add<std::string>("ouput_dir", 'o', "output dir", false, "./"); parser.add<std::string>("base_image_path", 'p', "base image path", false, ""); parser.add<std::string>("image_format", 'f', "output image format", false, "png"); parser.add<unsigned int>("max_width", 'w', "max atlas width", false, 4096, cmdline::range(1, 65535)); parser.add<unsigned int>("max_height", 'h', "max atlas height", false, 4096, cmdline::range(1, 65535)); parser.add<bool>("enable_rotate", 'r', "enable rotate", false, false); parser.add<bool>("force_square", 's', "force square", false, false); parser.add<unsigned char>("border_padding", '\0', "border padding", false, 0, cmdline::range(0, 255)); parser.add<unsigned char>("shape_padding", '\0', "shape padding", false, 0, cmdline::range(0, 255)); parser.add<unsigned char>("inner_padding", '\0', "inner padding", false, 0, cmdline::range(0, 255)); parser.add<bool>("reduce_border_artifacts", 'b', "reduce border artifacts", false, false); parser.add<unsigned char>("trim_mode", 't', "trim pixel alpha less than input value", false, 0, cmdline::range(0, 255)); parser.add<unsigned char>("extrude", 'e', "extrude", false, 0, cmdline::range(0, 255)); parser.parse_check(argc, argv); auto packer = CppTexturePacker::TexturePacker( parser.get<unsigned int>("max_width"), parser.get<unsigned int>("max_height"), parser.get<bool>("enable_rotate"), parser.get<bool>("force_square"), parser.get<unsigned char>("border_padding"), parser.get<unsigned char>("shape_padding"), parser.get<unsigned char>("inner_padding"), parser.get<bool>("reduce_border_artifacts"), parser.get<unsigned char>("trim_mode"), parser.get<unsigned char>("extrude")); packer.pack( parser.get<std::string>("input_dir"), parser.get<std::string>("ouput_name"), parser.get<std::string>("ouput_dir"), parser.get<std::string>("base_image_path"), parser.get<std::string>("image_format")); return 0; }
038e37d41ed77227a4df8256ba68153f466fb187
cb8d1be6b6b1cbb4a1169223504e93061ed11c43
/File/FileLog.hpp
74f4acd9a8b5eb1f657acde50486a747ca5335d1
[]
no_license
RyanBabij/Wildcat
c6ec5fca71968376208995d1cd833c007f44d9d1
4c684506996cf52ad752504e9b8a490f6cd571d0
refs/heads/master
2023-02-21T05:33:38.284612
2023-02-14T23:05:23
2023-02-14T23:05:23
100,090,636
8
0
null
2020-06-07T03:55:26
2017-08-12T05:11:37
C
UTF-8
C++
false
false
2,660
hpp
FileLog.hpp
#pragma once #ifndef FILE_FILELOG_HPP #define FILE_FILELOG_HPP /* File/FileLog.hpp Created <0221743513. Updated 0221743513. I made this so that I can write data to a text file without needing to fuck around with the file manager. The rules of logging: * If there is an error, abort silently. * If a non-existent file is referred to, silently create it. */ #include <string> #include <File/FileManagerStatic.hpp> #include <Container/Vector/Vector.hpp> class FileLog { public: //FileManager file; //Vector <std::string> vMessage; std::string messages; std::string filePath; //std::string lastMessage; //int nRepetitions; FileLog() { filePath=""; //lastMessage=""; //nRepetitions=0; } static void log(const std::string _message, const std::string _filePath) { if (FileManagerStatic::fileExists(_filePath)==true) { } else { FileManagerStatic::makeNewFile(_filePath); } FileManagerStatic::writeString (_message,_filePath); } // Clear the file. static void clear(const std::string _filePath) { FileManagerStatic::makeNewFile(_filePath); } void log (const std::string message) { // file.load(path); // file.append(message); // file.save(path); //std::cout<<"Filelog doesn't actually do anything yet\n"; // if(message==lastMessage) // { // ++nRepetitions; // } // else // { // /* Check if file exists. */ // if(FileManagerStatic::fileExists(path) == false) // { FileManagerStatic::makeNewFile(path); } // /* Write the message. */ // if(nRepetitions>0) // { // FileManagerStatic::writeString(DataTools::toString(nRepetitions) + "X: " +lastMessage,path); // } // else // { FileManagerStatic::writeString(lastMessage,path); // } // lastMessage=message; // nRepetitions=0; // } //vMessage.push(message); messages+=message; } void flush() { if(filePath!="") { /* Make file if it doesn't exist. */ if(FileManagerStatic::fileExists(filePath) == false) { FileManagerStatic::makeNewFile(filePath); } /* Write messages. */ //const int nMessages = vMessage.size(); //std::string allMessages = ""; //for(int i=0;i<nMessages;++i) //{ // allMessages+=vMessage(i); //FileManagerStatic::writeString(vMessage(i),filePath); //} //vMessage.clear(); FileManagerStatic::writeString(messages,filePath); messages=""; // if(nRepetitions>0) // { // FileManagerStatic::writeString(DataTools::toString(nRepetitions) + "X: " +lastMessage,filePath); // } // else // { FileManagerStatic::writeString(lastMessage,filePath); // } } } }; #endif
8cae9a9ede98f6d4cd070800bed744364e4ff7d1
0364bdde2c7386f38dc84e6791697c9413f51443
/Test/Characters/IntelligentMonsterTest.cpp
45ac39e7e649bf18569c3a9249e08e8f074459ef
[ "MIT" ]
permissive
DrStrangelove42/DreamOfaRidiculousMan
0cd088375851bc68b1f1b958a69ddcee3b3ec23c
a19af08c0a044ed4a30194ffdfac912475618b14
refs/heads/main
2023-06-17T19:21:53.341035
2021-07-14T09:39:05
2021-07-14T09:39:05
304,332,780
0
0
null
null
null
null
UTF-8
C++
false
false
775
cpp
IntelligentMonsterTest.cpp
#include "IntelligentMonsterTest.h" CPPUNIT_TEST_SUITE_REGISTRATION(IntelligentMonsterTest); void IntelligentMonsterTest::movementTest() { Player p(*r1, "", 0, 15, 10, 40); Room room1(5, 5, 0, 0, p, *r1); for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { Block* b = new FloorBlock(i, j, *r1); room1.replaceBlock(b); } } IntelligentMonster monster(*r1, p, &room1, "empty", 1, 0, 0, 0, 0, 0, 0, true, true); monster.teleport(0, 0); p.teleport(4, 4); for (int i = 0; i < 5; i++) { CPPUNIT_ASSERT(monster.getX() == i && monster.getY() == i); monster.tick(0, NULL); } } void IntelligentMonsterTest::setUp() { r1 = new MockRenderContext(); } void IntelligentMonsterTest::tearDown() { delete r1; }
16e9ae762b5ffe38312524d22062ba03584db418
16f50a812eca90748e87bfe471e0c05f178337fd
/2do_Semestre/POO/TareaHerencia/empleados.cpp
db1a53f38c99c01061098a9d44dcfa0082a4770e
[]
no_license
SeaWar741/ITC
65f73365762366f56cfbd6d0bc788cd384672d12
5f75716be58ca6e00bcd8dae7546fd19fe37657f
refs/heads/master
2023-02-05T23:25:13.972031
2022-09-29T10:38:32
2022-09-29T10:38:32
205,020,772
4
2
null
2023-01-19T15:28:45
2019-08-28T20:48:35
Jupyter Notebook
UTF-8
C++
false
false
885
cpp
empleados.cpp
// // main.cpp // empleadosVendedores // // Created by Yolanda Martinez on 09/05/20. // Copyright © 2020 com.itesm. All rights reserved. // #include <iostream> using namespace std; #include "Vendedor.h" int main() { Empleado emp1(129, 12000); Empleado emp2(231, 13500); Vendedor vend1(146, 8500, 0.03, 155000); Vendedor vend2(275, 5500, 0.05, 132500); cout << "Empleado 1 " << endl; emp1.muestra(); cout << "Total a pagar " << emp1.calculaPago() << endl; cout << "Empleado 2 " << endl; emp2.muestra(); cout << "Total a pagar " << emp2.calculaPago() << endl; cout << "Vendedor 1 " << endl; vend1.muestra(); cout << "Total a pagar " << vend1.calculaPago() << endl; cout << "Vendedor 2 " << endl; vend2.muestra(); cout << "Total a pagar " << vend2.calculaPago() << endl; return 0; }
c4ecf2c853d77d54e95f8ba46bcb25a9587a084f
697ece97d86013137f38b6049a6755a7fec6e693
/code/toolkit/distributedtools/shareddirfilesystem.cc
ef1eac3b1228f2818b54ea5d89fe9019d8f00732
[]
no_license
Chinamming/nebuladevice3
6ace3c9fd97632ed43743e8eb7fce151f976a906
1180cec07aff77da1e9f97cedbcfbf5b56c3630d
refs/heads/master
2021-01-10T18:17:09.958301
2012-11-23T19:55:13
2012-11-23T19:55:13
47,537,441
3
2
null
null
null
null
UTF-8
C++
false
false
10,162
cc
shareddirfilesystem.cc
//------------------------------------------------------------------------------ // shareddirfilesystem.cc // (C) 2009 RadonLabs GmbH //------------------------------------------------------------------------------ #include "stdneb.h" #include "shareddirfilesystem.h" #include "io/ioserver.h" #include "io/stream.h" #include "io/console.h" using namespace IO; using namespace Util; namespace DistributedTools { __ImplementClass(DistributedTools::SharedDirFileSystem,'SDFS',DistributedTools::SharedDirControl) //------------------------------------------------------------------------------ /** Constructor */ SharedDirFileSystem::SharedDirFileSystem() { SharedDirControl::SharedDirControl(); } //------------------------------------------------------------------------------ /** Destructor */ SharedDirFileSystem::~SharedDirFileSystem() { } //------------------------------------------------------------------------------ /** copy a single file to shared dir (src being absolute path, dst relative to control dir) */ void SharedDirFileSystem::CopyFileToSharedDir(const Util::String & src, const Util::String & dst) { String dstPath; dstPath.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), dst.AsCharPtr() ); if(!IoServer::Instance()->CopyFile(src, dstPath)) { Console::Instance()->Error("Could not copy %s to %s.", src.AsCharPtr(), dstPath.AsCharPtr()); } } //------------------------------------------------------------------------------ /** copy all files from src to shared dir (not recursive, only toplevel) (src being absolute path, dst relative to control dir) */ void SharedDirFileSystem::CopyFilesToSharedDir(const Util::String & src, const Util::String & dst) { Array<String> files = IoServer::Instance()->ListFiles(src, "*"); IndexT index; for(index = 0; index < files.Size(); index++) { String srcpath; srcpath.Format("%s/%s", src.AsCharPtr(), files[index].AsCharPtr()); this->CopyFileToSharedDir(srcpath, dst); } } //------------------------------------------------------------------------------ /** copy everything (including sub dirs) from src into shared dirs guid folder (src being absolute path) */ void SharedDirFileSystem::CopyDirectoryContentToSharedDir(const Util::String & src) { this->CopyDirectoryContent(src, this->sharedDir.AsString()); } //------------------------------------------------------------------------------ /** copy a single file from shared dir to dst (dst being absolute, src relative to control dir) */ void SharedDirFileSystem::CopyFileFromSharedDir(const Util::String & src, const Util::String & dst) { String srcPath; srcPath.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), src.AsCharPtr() ); if(!IoServer::Instance()->CopyFile(srcPath, dst)) { Console::Instance()->Error("Could not copy %s to %s.", srcPath.AsCharPtr(), dst.AsCharPtr()); } } //------------------------------------------------------------------------------ /** copy all files from shared dir sub dir to dst (not recursive, only toplevel) (dst being absolute, src relative to control dir) */ void SharedDirFileSystem::CopyFilesFromSharedDir(const Util::String & src, const Util::String & dst) { Array<String> files = this->ListFiles(src); IndexT index; for(index = 0; index < files.Size(); index++) { String srcpath; srcpath.Format("%s/%s", src.AsCharPtr(), files[index].AsCharPtr()); this->CopyFileFromSharedDir(srcpath, dst); } } //------------------------------------------------------------------------------ /** copy everything (including sub dirs) from shared dirs guid folder into dst (dst being absolute path) */ void SharedDirFileSystem::CopyDirectoryContentFromSharedDir(const Util::String & dst) { this->CopyDirectoryContent(this->sharedDir.AsString(), dst); } //------------------------------------------------------------------------------ /** removes specified file (relative to control dir) */ void SharedDirFileSystem::RemoveFileInSharedDir(const Util::String & filepath) { String path; path.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), filepath.AsCharPtr() ); if(!IoServer::Instance()->DeleteFile(path)) { Console::Instance()->Error("Could not delete file %s.", path.AsCharPtr()); } } //------------------------------------------------------------------------------ /** removes specified directory if empty (relative to control dir) */ void SharedDirFileSystem::RemoveDirectoryInSharedDir(const Util::String & dirpath) { n_assert(this->sharedDir.IsValid()); String path; path.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), dirpath.AsCharPtr() ); if(!IoServer::Instance()->DeleteDirectory(path)) { Console::Instance()->Error("Could not delete directory %s.", path.AsCharPtr()); } } //------------------------------------------------------------------------------ /** remove all files and directories of specified directory (relative to control dir) recursively */ void SharedDirFileSystem::RemoveDirectoryContent(const Util::String & path) { Array<String> files = IoServer::Instance()->ListFiles(path, "*"); IndexT fileIndex; for(fileIndex = 0; fileIndex < files.Size(); fileIndex++) { String file; file.Format("%s/%s", path.AsCharPtr(), files[fileIndex].AsCharPtr()); IoServer::Instance()->DeleteFile(file); } Array<String> dirs = IoServer::Instance()->ListDirectories(path, "*"); IndexT dirIndex; for(dirIndex = 0; dirIndex < dirs.Size(); dirIndex++) { String dir; dir.Format("%s/%s", path.AsCharPtr(), dirs[dirIndex].AsCharPtr()); this->RemoveDirectoryContent(dir); IoServer::Instance()->DeleteDirectory(dir); } } //------------------------------------------------------------------------------ /** checks if a subdirectory exists, which name equals the given guid */ bool SharedDirFileSystem::ContainsGuidSubDir(const Util::Guid & guid) { String path; path.Format("%s/%s", this->path.AsString().AsCharPtr(), guid.AsString().AsCharPtr() ); return IoServer::Instance()->DirectoryExists(path); } //------------------------------------------------------------------------------ /** checks if directory is empty (relative to control dir) */ bool SharedDirFileSystem::DirIsEmpty(const Util::String & dir) { String path; path.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), dir.AsCharPtr() ); Array<String> files = IoServer::Instance()->ListFiles(path, "*"); Array<String> dirs = IoServer::Instance()->ListDirectories(path, "*"); return (files.IsEmpty() && dirs.IsEmpty()); } //------------------------------------------------------------------------------ /** returns all subdirectories of specified directory (relative to control dir) */ Util::Array<Util::String> SharedDirFileSystem::ListDirectories(const Util::String & dir) { String path; path.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), dir.AsCharPtr() ); return IoServer::Instance()->ListDirectories(path, "*"); } //------------------------------------------------------------------------------ /** returns all files inside the specified directory (relative to control dir) */ Util::Array<Util::String> SharedDirFileSystem::ListFiles(const Util::String & dir) { String path; path.Format("%s/%s", this->sharedDir.AsString().AsCharPtr(), dir.AsCharPtr() ); return IoServer::Instance()->ListFiles(path, "*"); } //------------------------------------------------------------------------------ /** creates control directory from guid */ void SharedDirFileSystem::CreateControlDir() { if(!IoServer::Instance()->CreateDirectory(this->sharedDir)) { Console::Instance()->Error("Could not create control dir in %s.", this->path.LocalPath().AsCharPtr()); } } //------------------------------------------------------------------------------ /** removes control dir */ void SharedDirFileSystem::RemoveControlDir() { // We assume that shared dir is composed of root shared directory // and guid sub dir. DeleteDirectory will only remove the subdir (guid). if(!IoServer::Instance()->DeleteDirectory(this->sharedDir)) { Console::Instance()->Error("Could not delete control dir in %s.", this->sharedDir.AsString().ExtractToLastSlash().AsCharPtr()); } } //------------------------------------------------------------------------------ /** copy all content from src to dst recursively */ void SharedDirFileSystem::CopyDirectoryContent(const Util::String & src, const Util::String & dst) { Array<String> files = IoServer::Instance()->ListFiles(src, "*"); IndexT fileIndex; for(fileIndex = 0; fileIndex < files.Size(); fileIndex++) { String srcPath; String dstPath; srcPath.Format("%s/%s", src.AsCharPtr(), files[fileIndex].AsCharPtr()); dstPath.Format("%s/%s", dst.AsCharPtr(), files[fileIndex].AsCharPtr()); IoServer::Instance()->CopyFile(srcPath, dstPath); } Array<String> dirs = IoServer::Instance()->ListDirectories(src, "*"); IndexT dirIndex; for(dirIndex = 0; dirIndex < dirs.Size(); dirIndex++) { String srcDir; String dstDir; srcDir.Format("%s/%s", src.AsCharPtr(), dirs[dirIndex].AsCharPtr()); dstDir.Format("%s/%s", dst.AsCharPtr(), dirs[dirIndex].AsCharPtr()); IoServer::Instance()->CreateDirectory(dstDir); this->CopyDirectoryContent(srcDir, dstDir); } } } // namespace DistributedTools
285f6aff06de7840f1178723871e4946c5b7a4b8
e64fd469a824b799237b5a90499b06cb9f32e335
/intel/ShallowWater/common/Flux/CFlux2DGrid.cpp
e03de04800ceb79e9d4711ce9839c8062bac6092
[]
no_license
les-sosna/OpenCL-playgorund
c208e058de55710dc4ba1cc0b226e50bc64a7352
b8ba6131090a003df7e8be7f9331fb2640ba69a7
refs/heads/master
2021-01-18T00:36:51.491987
2014-06-09T13:06:06
2014-06-09T13:06:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,747
cpp
CFlux2DGrid.cpp
/* ************************************************************************* *\ INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of that agreement. Copyright (C) 2007-2011 Intel Corporation. All Rights Reserved. \* ************************************************************************* */ /** * @file CFlux2DGrid.cpp * * @brief Contains the routines implementation for water surface grid initialization and file IO. */ #include <float.h> #include <math.h> #include "macros.h" #include "Util/CFileMemory.h" #include "CFlux2DSceneDef.h" #include "CFlux2DGrid.h" #include "actions/CActionManager.h" /** * @fn CFlux2DGrid(int domainW, int domainH) * * @brief Class constructor, initializes the size of the grid * * @param domainW - Width of the grid * * @param domainH - Height of the grid */ CFlux2DGrid::CFlux2DGrid(int domainW, int domainH) : m_PrevSurfaceIdx(0), m_bottom(domainW, domainH), m_WindWavesH(domainW, domainH), m_pModifier(NULL) { m_InnerMaskData.SetSize(domainW,domainH,0); m_InnerMaskFlag = 0; m_WindWavesH.Set(0); m_pWindWavesHPrev = new(UseOwnMem) DynamicMatrix<float>(domainW,domainH); m_pWindWavesHPrev->Set(0); m_pWindWavesHCur = new(UseOwnMem) DynamicMatrix<float>(domainW,domainH); m_pWindWavesHCur->Set(0); // Create surfaces m_pSurfaces[0] = new (UseOwnMem) CFlux2DSurface(domainW, domainH); m_pSurfaces[1] = new (UseOwnMem) CFlux2DSurface(domainW, domainH); m_pSurfaces[2] = new (UseOwnMem) CFlux2DSurface(domainW, domainH); } /** * @fn ResetToZeroState() * * @brief This function sets the velocity map to zero and the absolute water level to zero */ void CFlux2DGrid::ResetToZeroState() { // Declare and initialize working variables, get the height, width and the border size int width = m_bottom.m_heightMap.Width(); int height = m_bottom.m_heightMap.Height(); int bs = m_bottom.m_heightMap.Border(); // Get pointers to the current and past surfaces CFlux2DSurface &surf = GetCurrentSurface(); CFlux2DSurface &surfPrev = GetPastSurface(); int x,y; // For every line for(y=-bs;y<height+bs;++y) { // For every pixel in the line for(x=-bs;x<width+bs;++x) { float B = m_bottom.m_heightMap.At(x,y); // Adjust the water level to be greater than or equal to zero surfPrev.m_heightMap.At(x,y) = __max(0.0f, B); surf.m_heightMap.At(x,y) = __max(0.0f, B); } } // Set the velocity map to zero surf.m_uMap.Set(0); surf.m_vMap.Set(0); surfPrev.m_uMap.Set(0); surfPrev.m_vMap.Set(0); } /** * @fn ResetToDryState() * * @brief This function sets velocity map and the height map to zero */ void CFlux2DGrid::ResetToDryState() { CFlux2DSurface &surf = GetCurrentSurface(); surf.m_heightMap.Set(0); surf.m_uMap.Set(0); surf.m_vMap.Set(0); } /** * @fn LoadBottomFromSceneDef(struct CFlux2DSceneDef &def, float x1, float y1, float x2, float y2) * * @brief Loads the bottom within the specified region from a scene definition * * @param def - The scene definition * * @param x1 - The starting X coordinate * * @param y1 - The starting Y coordinate * * @param x2 - The end X coordinate * * @param y2 - The end Y coorinate */ void CFlux2DGrid::LoadBottomFromSceneDef(CFlux2DSceneDef &def, float x1, float y1, float x2, float y2) { // Declare and initialize working variables const int bs = m_bottom.m_heightMap.Border(); const int width = m_bottom.m_heightMap.Width(); const int height = m_bottom.m_heightMap.Height(); // Compute the horizontal and vertical grid steps as well as their recriprocol m_Params.gridStepW = (x2 - x1) / float(width); m_Params.gridStepH = (y2 - y1) / float(height); m_Params.rcpGridStepW = 1.0f / m_Params.gridStepW; m_Params.rcpGridStepH = 1.0f / m_Params.gridStepH; /* **************************************** DEPRECATED CODE *********************** */ //float xCellSize = float(def.lenWidth) / float(def.resWidth); //float yCellSize = float(def.lenHeight) / float(def.resHeight); //float xStart = (x1 + (m_Params.gridStepW - xCellSize) * 0.5f) / xCellSize; //float yStart = (y1 + (m_Params.gridStepH - yCellSize) * 0.5f) / yCellSize; //float xStep = m_Params.gridStepW / xCellSize; //float yStep = m_Params.gridStepH / yCellSize; /* *************************************** END DEPRECATED CODE ********************** */ // For every line in the height map for (int i = -bs; i < height+bs; i++) { // Compute the y coordinate and value float y = (i+0.5f)*m_Params.gridStepH + y1; float yVal = y*float(def.resHeight)/float(def.lenHeight) - 0.5f; // Get a pointer to the line in both the height and pre-computed data maps float *pH = m_bottom.m_heightMap.GetLinePtr(i); float *pD = m_bottom.m_precompDataMap.GetLinePtr(i); // For every pixel in the line for (int j = -bs; j < width+bs; j++) { // Compute the coordinate and value float x = (j+0.5f)*m_Params.gridStepW + x1; float xVal = x*float(def.resWidth)/float(def.lenWidth) - 0.5f; // Compute the sample height and store the value in the height map float h = def.GetSample(xVal, yVal); pH[j] = h; // Ensure that the modifier is greater than or equal to zero float hMod = __max(0.0f, h); // And store the value in the pre-computed data map pD[j] = hMod * sqrt(m_Globals.gravity * hMod); } } m_ParamsBase = m_Params; } /** * @fn RaiseBottomOnMask(float RaiseValue) * * @brief This function raises the bottom level according to a mask * indicating the dry or wet state * * @note This function is used for generating the channel bottom profile * * @param RaiseValue - The raise value */ void CFlux2DGrid::RaiseBottomOnMask(float RaiseValue) { // Declare and initialize working variables int x,y; const int width = m_bottom.m_heightMap.Width(); const int height = m_bottom.m_heightMap.Height(); // For every line in the height map for (y = 0; y < height; y++) { // Get past, present and future surfaces float* pH0 = &(GetPastSurface().m_heightMap.At(0,y)); float* pH1 = &(GetDestSurface().m_heightMap.At(0,y)); float* pH2 = &(GetCurrentSurface().m_heightMap.At(0,y)); // Get pointers into the maps and data float* pB = &(m_bottom.m_heightMap.At(0,y)); float* pD = &(m_bottom.m_precompDataMap.At(0,y)); char* pM = m_InnerMaskData.GetLinePtr(y); // For every pixel in the line for (x = 0; x < width; x++) { // If the mask for the previous pixel has a value if(pM[x-1]) { // Raise the level for past, present and future surfaces pH0[x] -= RaiseValue; pH1[x] -= RaiseValue; pH2[x] -= RaiseValue; // Raise the bottom height pB[x] -= RaiseValue; // Ensure the modifier from the pre-computed data is greater than or equal to zero float hMod = __max(0.0f, pD[x]); // Adjust the pre-computed value pD[x] = hMod * sqrt(m_Globals.gravity * hMod); } } } } /** * @fn SetBottomConstant(float depth, float lenWidth, float lenHeight) * * @brief Sets the depth of the height map, updates the pre-computed data map, updates parameters * * @param depth - The new depth * * @param lenWidth - The width of a cell used to compute the grid W step * * @param lenHeight - The height of a cell used to compute the grid H step */ void CFlux2DGrid::SetBottomConstant(float depth, float lenWidth, float lenHeight) { // Declare and initialize working variables for the border width // and the height and width of the height map const int bs = m_bottom.m_heightMap.Border(); const int width = m_bottom.m_heightMap.Width(); const int height = m_bottom.m_heightMap.Height(); // Initialize paramaters accounting for the border m_Params.gridStepW = lenWidth / float(width - 1+2*bs); m_Params.gridStepH = lenHeight / float(height - 1+2*bs); m_Params.rcpGridStepW = 1.0f / m_Params.gridStepW; m_Params.rcpGridStepH = 1.0f / m_Params.gridStepH; // Set the depth m_bottom.m_heightMap.Set(depth); m_bottom.m_precompDataMap.Set(depth * sqrt(m_Globals.gravity * depth)); // Store the parameters m_ParamsBase = m_Params; } /** * @fn AddAction(CFlux2DAction* in_pAction) * * @brief Gets a pointer to the action object and appends it to the sync actions object. * * @note Memory for this object should be allocated in external code and shouldn't be released * * @param action - The action to add */ CFlux2DAction* CFlux2DGrid::AddAction(CFlux2DAction* in_pAction) { m_SyncActions.Append(in_pAction); return in_pAction; } /** * @fn RunActions(struct CFlux2DCalculatorPars const &pars, CFlux2DGlobalParameters const &globals) * * @brief Traverses the list of sync actions and runs them * * @param pars - Calculator parameters * * @param globals - Global parameters */ void CFlux2DGrid::RunActions(struct CFlux2DCalculatorPars const &pars, CFlux2DGlobalParameters const &globals) { int i; // For every sync action for (i = 0; i < m_SyncActions.Size(); i++) { // Run it m_SyncActions[i]->Run(this,pars, globals); } } /** * @fn Save(CFile &file, int flags) * * @brief Saves the grid and all parameters to a file * * @param file - The IO stream to write to * * @param flags - Bit-wize operation flags */ void CFlux2DGrid::Save(CFile &file, int flags) const { file.Save(flags); file.Save(m_Globals); file.Save(m_ParamsBase); file.Save(m_PrevSurfaceIdx); GetCurrentSurface().Save(file); GetPastSurface().Save(file); m_bottom.Save(file); file.Save(m_InnerMaskFlag); m_InnerMaskData.Save(file); if ((flags & SAVE_ACTIONS) != 0) { CActionManager am; int i; // Save the number of actions uint32_t size = 0; size += m_SyncActions.Size(); file.Save(size); // Save them all for (i = 0; i < m_SyncActions.Size(); i++) { am.Save(file,m_SyncActions[i]); } } } /** * @fn Restore(CFile &file) * * @brief Restores a grid from a file including parameters and flags * * @param file - The IO stream from which to read the grid */ void CFlux2DGrid::Restore(CFile &file) { int flags; // Restore flags, global parameters, and the parameter base file.Restore(flags); file.Restore(m_Globals); file.Restore(m_ParamsBase); // Use the base parameters for local parameters m_Params = m_ParamsBase; // The index into the previous surface file.Restore(m_PrevSurfaceIdx); // Get the current and past surfaces GetCurrentSurface().Restore(file); GetPastSurface().Restore(file); // Restore the bottom m_bottom.Restore(file); // Get the inner mask flag file.Restore(m_InnerMaskFlag); // Restore its contents m_InnerMaskData.Restore(file); fflush(NULL); // Check to see if we have a save actions flag, if we do, we did if ((flags & SAVE_ACTIONS) != 0) { CActionManager am; uint32_t numberOfActions; file.Restore(numberOfActions); fflush(NULL); // For each action saved for (uint32_t i = 0; i < numberOfActions; i++) { // Read the action from the file CFlux2DAction* action = am.Create(file); assert(action != NULL); // If valid, add it to the list of sync actions if (action != NULL) { fflush(NULL); AddAction(action); } } } } /** * @fn ~CFlux2DGrid() * * @brief Class destructor */ CFlux2DGrid::~CFlux2DGrid() { // Free memory // First, delete the actions uint32_t size = m_SyncActions.Size(); for(uint32_t i=0;i<size;i++ ) { DestroyObject(m_SyncActions[i]); } // Then the surfaces DestroyObject(m_pSurfaces[0]); DestroyObject(m_pSurfaces[1]); DestroyObject(m_pSurfaces[2]); DestroyObject(m_pWindWavesHCur); DestroyObject(m_pWindWavesHPrev); }
8581efc912bea9aafa270f11df1b5a00714edc47
cd6fea57bfec0648f7f500c29c99070e127f83ac
/src/engine/engine.hh
c202ab350aac8c7da64a4d89c207de9954e1e506
[]
no_license
manuel-huez/rush-game
2a3242f288468e51f86033f32f08b688facff63c
c43e83b5f1a209389e73af0e2e9bd3e721c022bf
refs/heads/master
2021-03-16T07:43:07.980473
2018-04-03T11:50:25
2018-04-03T11:50:25
47,423,232
0
0
null
null
null
null
UTF-8
C++
false
false
629
hh
engine.hh
#pragma once #include "scene.hh" #include <string> #include <memory> #include <SFML/Graphics.hpp> namespace E { class Scene; class Engine { public: Engine(const unsigned width, const unsigned height, sf::RenderWindow& window); sf::RenderWindow& window_get() const; void scene_set(std::shared_ptr<Scene> scene); Scene& scene_get(); void draw() const; void run(); private: const unsigned width_; const unsigned height_; sf::RenderWindow& window_; std::shared_ptr<Scene> scene_; sf::Clock clock_; }; }
ca9399a098866cc17fb0d6635a1455f40e337e32
57e7c092fe6b3a6f2616c4ce38d4624b4930f431
/FSMAutomata/CompiledDFA.cpp
dd154aaf6d59456e748964126521f722c48664d0
[]
no_license
shawnq8861/Algorithms-FSM-Automata
b6782e27e2175502fcd980613bbfcc4088182206
b6e250914b3cea4ac9ff68c2d6dad131b70d3d5f
refs/heads/master
2021-01-20T17:58:21.315712
2016-06-07T17:31:39
2016-06-07T17:31:39
60,553,410
0
0
null
null
null
null
UTF-8
C++
false
false
2,920
cpp
CompiledDFA.cpp
/***************************************************************************** * * file CompiledDFA.cpp * the implementation file for the CompiledDFA class * * Shawn Quinn * quinnms1 * 02/21/2015 * ****************************************************************************/ #include <iostream> #include <sstream> #include "CompiledDFA.h" /***************************************************************************** * constructor * * - argument - pointer to a FiniteStateMachine struct * ****************************************************************************/ CompiledDFA::CompiledDFA(FiniteStateMachine* someFSM) { fSM = *someFSM; list<Transition>::iterator listIt; string key; for (listIt = fSM.transitions.begin(); listIt != fSM.transitions.end(); ++listIt) { key = hash((*listIt).source, (*listIt).transitionChar); stateMap[key] = (*listIt).destination; } } /***************************************************************************** * destructor * * ****************************************************************************/ CompiledDFA::~CompiledDFA() { } /***************************************************************************** * method evaluate * - argument - string to test against NFA of current instance * - return - true if string recognized, false if string not recognized * - pseudocode - * create temp variable to hold current state * set current state to start state * for each char in string * for each transition in the transition list * if a char matches the transitionChar * current state = destination * search for current state in goal states * return result of search ****************************************************************************/ bool CompiledDFA::evaluate(string testStr) { string::iterator chPtr; cout << "input string = \""; for (chPtr = testStr.begin(); chPtr < testStr.end(); chPtr++) { cout << *chPtr; } cout << "\"" << endl; char currCh; int currState; list<Transition>::iterator transIt; currState = fSM.startNode; string key; // iterate over the charcters in the string for (chPtr = testStr.begin(); chPtr != testStr.end(); ++chPtr) { currCh = *chPtr; key = hash(currState, currCh); if (stateMap.find(key) != stateMap.end() ) { currState = stateMap[key]; } } // see if current state is a goal node if (fSM.goalNodes.find(currState) != fSM.goalNodes.end()) { cout << endl << "string accepted, found goal node " << currState << endl << endl; return true; } cout << endl << "string rejected" << endl; return false; } string CompiledDFA::hash(int node, char ch) { ostringstream keySS; keySS << node; string key = keySS.str(); key += "->"; key += ch; cout << "key = " << key << endl; return key; }
83a991258e849091581c5e98e760e032defd0a57
6feb05a21208f0fca0a3a7b57ebc771fb931e6a4
/GameSDL/include/MenuButton.h
78be1e4a44fe0d47083d1a4f8d8e4c8df680ce90
[]
no_license
viniciusPintoF/negocios
556b078b244dfaf4f222ca3d7ae86e9550a6feff
b5fd1a935cc9e5d09f3d78d15a5bfeee421e0c13
refs/heads/master
2020-03-16T03:17:15.360507
2018-05-08T15:20:37
2018-05-08T15:20:37
132,484,182
0
0
null
null
null
null
UTF-8
C++
false
false
558
h
MenuButton.h
#pragma once #include "SDLGameObject.h" class MenuButton : public SDLGameObject { public: MenuButton(); ~MenuButton(); virtual void load(const LoaderParams *parameters); virtual void update(); virtual void clean(); void setCallback(void(*callback)()); int callbackID(); private: enum MB_ButtonState { MOUSE_OUT = 0, MOUSE_OVER = 1, CLICKED = 2 }; bool _clicked; int _callbackID; void (*_callback) (); }; class MenuButtonCreator : public BaseCreator { public: GameObject * createGameObject() const { return new MenuButton(); } };
c77f91354d440eff01bdc2e03dbae73a37390485
0e64d27787f4135a3e7c0da4b8da503fa5bb8cce
/Source/Pineapple/Engine/Sound/Effect.h
c28a065a7a867646a8df12aba4641995d1892306
[ "Zlib" ]
permissive
adamyaxley/Pineapple
c09665e7bc4e6a25da9d5948d87edad786182b80
467d64312151a0336bdf60606bf6fd30c330fa20
refs/heads/master
2021-08-28T15:43:52.993799
2021-08-21T02:54:25
2021-08-21T02:54:25
87,867,072
14
1
NOASSERTION
2023-08-30T08:49:52
2017-04-10T23:32:14
C++
UTF-8
C++
false
false
620
h
Effect.h
/*------------------------------------------------------------------------------ Pineapple Game Engine - Copyright (c) 2011-2017 Adam Yaxley This software is licensed under the Zlib license (see license.txt for details) ------------------------------------------------------------------------------*/ #pragma once #include <Pineapple/Engine/Platform/Resource.h> namespace pa { class Effect : public Resource { public: Effect(const FilePath& path); virtual void play() = 0; virtual void loop() = 0; // virtual void update() =0; /*virtual void stop(); virtual void setVolume(float volume);*/ }; }
d3f32c3aaff4ea3bbb03261cd862c8331cf2fe25
ca7e94eb918c080fe256f0120613f1251709229f
/HK3/OOP/project/test/bgi/saveload.cpp
f989ae53d34d56dd6a8a4a9b87d111cb577d9548
[]
no_license
minhduc2803/School
8965d49a0994cf1cf4a44d7268a513a92fceeb62
e636cdc9869312472b2ad508d0abc9f4c12892c4
refs/heads/master
2022-12-26T04:41:28.511045
2021-01-23T05:36:11
2021-01-23T05:36:11
245,672,910
0
0
null
2022-12-11T20:53:27
2020-03-07T17:07:39
C++
UTF-8
C++
false
false
1,349
cpp
saveload.cpp
#include "saveload.h" void SaveAndLoad::check(int x, int y, int val) { a[x][y] = val; } int SaveAndLoad::value(int x, int y) { return a[x][y]; } bool SaveAndLoad::load(int n, bool type) { string file; file = (type) ? "1p.save" : "2p.save"; ifstream ifs(file); if (!ifs) return 0; string line; while (n > 0 && getline(ifs, line)) { --n; getline(ifs, line); } getline(ifs, line); getline(ifs, line); istringstream iss(line); iss >> sz; for (int i = 0; i < sz; ++i) for (int j = 0; j < sz; ++j) { int k = 0; if (!(iss >> k)) { cout << "ERROR!"; } a[i][j] = k; } return 1; } bool SaveAndLoad::save(const char* text, bool type) { string file; file = (type) ? "1p.save" : "2p.save"; ifstream ifs(file); string line; int i = 0; while (getline(ifs, line)) { ++i; getline(ifs, line); } ifs.close(); ofstream ofs(file, ios::app); if (!ofs) return 0; ofs << i << ". " << text << '\n' << sz; for (int i = 0; i < sz; ++i) for (int j = 0; j < sz; ++j) ofs << ' ' << a[i][j]; ofs << '\n'; return 1; } bool SaveAndLoad::read(bool type) { string file; file = (type) ? "1p.save" : "2p.save"; ifstream ifs(file); if (!ifs) return 0; string line; int i = 0; while (getline(ifs, line)) { SC sc(line); cout << sc.c << '\n'; ++i; getline(ifs, line); } return 1; }
345d7b0092c26c59d2d1f25cb4d5ef64d44e8f93
788c9758f5e20eeec2c6b835f6171ab876cc821b
/NightObejctDetected_center/DetectedPano.h
5b534c5b9e5de0c780a8ee8e5a48a849d1325bf9
[]
no_license
hongyiliang105598014/NightVehicleDetection
55aaa67d0eb71c0c2871bb04ce11c40fed27a509
e3929ed7fb4a82375723aedb934208007c11c478
refs/heads/master
2021-09-10T05:27:50.053218
2018-03-21T01:56:42
2018-03-21T01:56:42
91,091,415
4
0
null
null
null
null
UTF-8
C++
false
false
823
h
DetectedPano.h
#pragma once #include "DetectedPosition.h" class DetectedPano : public DetectedPosition { public: DetectedPano(string path); ~DetectedPano(); void SetImageProcessor(ImageProcessor *imageProcessor); void checkOverlappingRegion(Mat right, Mat back, Mat left); void run(); static bool sortByRightPosition(const ObjectTracker &a, const ObjectTracker &b); static bool sortByLeftPosition(const ObjectTracker &a, const ObjectTracker &b); static bool sortByBackPosition(const ObjectTracker &a, const ObjectTracker &b); private: Mat gray; Mat backResult; Mat rightResult; Rect backPosition; Rect rightPosition; Rect leftPosition; ImageProcessor *backImageProcessor; ImageProcessor *rightImageProcessor; ImageProcessor *leftImageProcessor; vector<Rect> backROIs; vector<Rect> rightROIs; vector<Rect> leftROIs; };
26878323806e8be4175e27c4972724af0c897064
8ce65ac9d22c8a873f980e7907487cf6250211a2
/server/src/User/User.hpp
c75f923427fb2edd80dc4368077858f131b5922d
[]
no_license
arzeo68/Babel-cpp
9e57c747a94c123237dae2f2509ccd902542dcd2
2a6b5e2a6b743cb17a708fe92c4a238c3328803f
refs/heads/master
2023-02-15T05:35:36.421447
2020-11-09T14:31:27
2020-11-09T14:31:27
328,818,774
2
0
null
null
null
null
UTF-8
C++
false
false
1,376
hpp
User.hpp
/* ** EPITECH PROJECT, 2020 ** babel ** File description: ** TODO: CHANGE DESCRIPTION. */ #ifndef BABEL_USER_HPP #define BABEL_USER_HPP #include <mutex> #include <string> #include "common/CallStatus.hpp" namespace Server::User { /** * User stock different data for the user */ class User { public: /** * Set the user's name * @param name User's name */ void SetUserName(const std::string &name); /** * Set the user's IP * @param ip User's IP */ void SetUserIp(const std::string &ip); /** * Get user's name * @return User's name */ std::string GetName(); /** * Get user's IP * @return User's IP */ std::string GetIP(); /** * Get the current caller name. It could be the current addressee or one in pending * @return */ std::string GetCallerName(); void SetCallState(Common::CallState state, const std::string &caller = ""); Common::CallState GetCallState(); bool IsConnected(); private: std::mutex _mutex; std::string _ip; std::string _name; Common::CallState _inCall = Common::CallState::NONE; std::string _caller; }; } #endif //BABEL_USER_HPP
993823980e6b47f816fff4ef0c83053c95120502
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/tci/src/v20190318/model/TextItem.cpp
81af9e38a61be46d8857480cf95c051b3f23fe74
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
7,797
cpp
TextItem.cpp
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <tencentcloud/tci/v20190318/model/TextItem.h> using TencentCloud::CoreInternalOutcome; using namespace TencentCloud::Tci::V20190318::Model; using namespace std; TextItem::TextItem() : m_wordsHasBeenSet(false), m_confidenceHasBeenSet(false), m_mbtmHasBeenSet(false), m_metmHasBeenSet(false), m_tagHasBeenSet(false), m_textHasBeenSet(false), m_textSizeHasBeenSet(false) { } CoreInternalOutcome TextItem::Deserialize(const rapidjson::Value &value) { string requestId = ""; if (value.HasMember("Words") && !value["Words"].IsNull()) { if (!value["Words"].IsArray()) return CoreInternalOutcome(Core::Error("response `TextItem.Words` is not array type")); const rapidjson::Value &tmpValue = value["Words"]; for (rapidjson::Value::ConstValueIterator itr = tmpValue.Begin(); itr != tmpValue.End(); ++itr) { Word item; CoreInternalOutcome outcome = item.Deserialize(*itr); if (!outcome.IsSuccess()) { outcome.GetError().SetRequestId(requestId); return outcome; } m_words.push_back(item); } m_wordsHasBeenSet = true; } if (value.HasMember("Confidence") && !value["Confidence"].IsNull()) { if (!value["Confidence"].IsLosslessDouble()) { return CoreInternalOutcome(Core::Error("response `TextItem.Confidence` IsLosslessDouble=false incorrectly").SetRequestId(requestId)); } m_confidence = value["Confidence"].GetDouble(); m_confidenceHasBeenSet = true; } if (value.HasMember("Mbtm") && !value["Mbtm"].IsNull()) { if (!value["Mbtm"].IsInt64()) { return CoreInternalOutcome(Core::Error("response `TextItem.Mbtm` IsInt64=false incorrectly").SetRequestId(requestId)); } m_mbtm = value["Mbtm"].GetInt64(); m_mbtmHasBeenSet = true; } if (value.HasMember("Metm") && !value["Metm"].IsNull()) { if (!value["Metm"].IsInt64()) { return CoreInternalOutcome(Core::Error("response `TextItem.Metm` IsInt64=false incorrectly").SetRequestId(requestId)); } m_metm = value["Metm"].GetInt64(); m_metmHasBeenSet = true; } if (value.HasMember("Tag") && !value["Tag"].IsNull()) { if (!value["Tag"].IsInt64()) { return CoreInternalOutcome(Core::Error("response `TextItem.Tag` IsInt64=false incorrectly").SetRequestId(requestId)); } m_tag = value["Tag"].GetInt64(); m_tagHasBeenSet = true; } if (value.HasMember("Text") && !value["Text"].IsNull()) { if (!value["Text"].IsString()) { return CoreInternalOutcome(Core::Error("response `TextItem.Text` IsString=false incorrectly").SetRequestId(requestId)); } m_text = string(value["Text"].GetString()); m_textHasBeenSet = true; } if (value.HasMember("TextSize") && !value["TextSize"].IsNull()) { if (!value["TextSize"].IsInt64()) { return CoreInternalOutcome(Core::Error("response `TextItem.TextSize` IsInt64=false incorrectly").SetRequestId(requestId)); } m_textSize = value["TextSize"].GetInt64(); m_textSizeHasBeenSet = true; } return CoreInternalOutcome(true); } void TextItem::ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const { if (m_wordsHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "Words"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, rapidjson::Value(rapidjson::kArrayType).Move(), allocator); int i=0; for (auto itr = m_words.begin(); itr != m_words.end(); ++itr, ++i) { value[key.c_str()].PushBack(rapidjson::Value(rapidjson::kObjectType).Move(), allocator); (*itr).ToJsonObject(value[key.c_str()][i], allocator); } } if (m_confidenceHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "Confidence"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_confidence, allocator); } if (m_mbtmHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "Mbtm"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_mbtm, allocator); } if (m_metmHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "Metm"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_metm, allocator); } if (m_tagHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "Tag"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_tag, allocator); } if (m_textHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "Text"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, rapidjson::Value(m_text.c_str(), allocator).Move(), allocator); } if (m_textSizeHasBeenSet) { rapidjson::Value iKey(rapidjson::kStringType); string key = "TextSize"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_textSize, allocator); } } vector<Word> TextItem::GetWords() const { return m_words; } void TextItem::SetWords(const vector<Word>& _words) { m_words = _words; m_wordsHasBeenSet = true; } bool TextItem::WordsHasBeenSet() const { return m_wordsHasBeenSet; } double TextItem::GetConfidence() const { return m_confidence; } void TextItem::SetConfidence(const double& _confidence) { m_confidence = _confidence; m_confidenceHasBeenSet = true; } bool TextItem::ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } int64_t TextItem::GetMbtm() const { return m_mbtm; } void TextItem::SetMbtm(const int64_t& _mbtm) { m_mbtm = _mbtm; m_mbtmHasBeenSet = true; } bool TextItem::MbtmHasBeenSet() const { return m_mbtmHasBeenSet; } int64_t TextItem::GetMetm() const { return m_metm; } void TextItem::SetMetm(const int64_t& _metm) { m_metm = _metm; m_metmHasBeenSet = true; } bool TextItem::MetmHasBeenSet() const { return m_metmHasBeenSet; } int64_t TextItem::GetTag() const { return m_tag; } void TextItem::SetTag(const int64_t& _tag) { m_tag = _tag; m_tagHasBeenSet = true; } bool TextItem::TagHasBeenSet() const { return m_tagHasBeenSet; } string TextItem::GetText() const { return m_text; } void TextItem::SetText(const string& _text) { m_text = _text; m_textHasBeenSet = true; } bool TextItem::TextHasBeenSet() const { return m_textHasBeenSet; } int64_t TextItem::GetTextSize() const { return m_textSize; } void TextItem::SetTextSize(const int64_t& _textSize) { m_textSize = _textSize; m_textSizeHasBeenSet = true; } bool TextItem::TextSizeHasBeenSet() const { return m_textSizeHasBeenSet; }
38090a9bd133f1929917759b483008562f5feb9c
4264c00dc32c548c7735f8e27871b4d52478a8ae
/Roboscrub_ws/src/navigator/src/test_path_node.cpp
657f638686a48399d1ca3942b7a471f0288d2b1b
[]
no_license
Jeremy8080/Roboscrub
58820c96a8cb1db7ba1f1945d7dd7e5a7df03fed
c3163da721024b69f340e37d86e6f4fc10eddda2
refs/heads/master
2022-02-20T12:15:49.142373
2019-10-08T09:19:25
2019-10-08T09:19:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,261
cpp
test_path_node.cpp
#include "ros/ros.h" #include <actionlib/client/simple_action_client.h> #include <move_base_msgs/MoveBaseAction.h> #include <mbf_msgs/ExePathAction.h> #include <mbf_msgs/GetPathAction.h> #include <mbf_msgs/MoveBaseAction.h> #include <nav_msgs/Path.h> #include <vector> #include <geometry_msgs/PoseStamped.h> #include <geometry_msgs/Quaternion.h> #include <geometry_msgs/PoseWithCovarianceStamped.h> #include <tf/transform_broadcaster.h> #include <tf/tf.h> #include <std_msgs/String.h> typedef actionlib::SimpleActionClient<mbf_msgs::ExePathAction> PathClient; // A client of Exe Path Action Server geometry_msgs::PoseWithCovarianceStamped amcl_pose; bool get_initial_pose = false; void amcl_pose_Callback(const geometry_msgs::PoseWithCovarianceStamped &msg) { amcl_pose = msg; get_initial_pose = true; std::cerr << "AMCL pose: " << amcl_pose.pose.pose.position.x << " " << amcl_pose.pose.pose.position.y << " " << amcl_pose.pose.pose.orientation.z << std::endl; } int main(int argc, char** argv) { ros::init(argc, argv, "map_path"); ros::NodeHandle nh; ros::Subscriber amcl_listener = nh.subscribe("amcl_pose", 1, &amcl_pose_Callback); while (!get_initial_pose) { ros::spinOnce(); } PathClient pc("move_base_flex/exe_path", true); // true doesnt need ros::spin while(!pc.waitForServer(ros::Duration(5.0))){ ROS_INFO("Waiting for Move Base server to come up"); } mbf_msgs::ExePathGoal target_path_; nav_msgs::Path path_; //TODO: Get AMCL pose double x = amcl_pose.pose.pose.position.x; double y = amcl_pose.pose.pose.position.y; double th = amcl_pose.pose.pose.orientation.z; double vx = 0.1; double vy = -0.1; double vth = 0.1; while (th < 6.28) { double dt = 0.1; double delta_x = (vx * cos(th) - vy * sin(th)) * dt; double delta_y = (vx * sin(th) + vy * cos(th)) * dt; double delta_th = vth * dt; x += delta_x; y += delta_y; th += delta_th; geometry_msgs::PoseStamped this_pose_stamped; this_pose_stamped.pose.position.x = x; this_pose_stamped.pose.position.y = y; geometry_msgs::Quaternion goal_quat = tf::createQuaternionMsgFromYaw(th); this_pose_stamped.pose.orientation.x = goal_quat.x; this_pose_stamped.pose.orientation.y = goal_quat.y; this_pose_stamped.pose.orientation.z = goal_quat.z; this_pose_stamped.pose.orientation.w = goal_quat.w; this_pose_stamped.header.stamp = ros::Time::now(); this_pose_stamped.header.frame_id = "map"; path_.poses.push_back(this_pose_stamped); } // Populate the Path Message path_.header.frame_id = "map"; path_.header.stamp = ros::Time::now(); // Populate the controller and path fields (Refer to ExePath.Action) target_path_.controller = "DWAPlannerROS"; target_path_.path = path_; // Interact with Action Server pc.sendGoal(target_path_); pc.waitForResult(); if(pc.getState() == actionlib::SimpleClientGoalState::SUCCEEDED) ROS_INFO("Base moved %s", pc.getState().toString().c_str()); else if(pc.getState() == actionlib::SimpleClientGoalState::ABORTED) ROS_INFO("Goal aborted"); else ROS_INFO("Base failed to move for some reason"); ros::shutdown(); return 0; }
2457cde68ba4cb5f3286a43288e2a2074d19e95b
0053a32c65c4c2aea932e65b8fe4877cf56de245
/320/A [Magic Numbers].cpp
df3d7d29125ebfc29fbcc113e0c8b617dcbc10c1
[]
no_license
Omar-Khaled2198/Codeforces_Solutions
0ef097371a09b0805c913f67e94f5c02a0dfbf46
1bd8ba8c3da22ea6b0e462477273b85bac48a1e7
refs/heads/master
2020-04-04T05:22:01.475435
2018-11-01T16:24:42
2018-11-01T16:24:42
155,743,270
0
0
null
null
null
null
UTF-8
C++
false
false
456
cpp
A [Magic Numbers].cpp
#include <iostream> #include <algorithm> #include <vector> #include <stdio.h> #include <string> using namespace std; int main() { string s;int o=0,f=0,h=0; cin>>s; for(int i=0;i<s.size();i++)if(s[i]=='1')o++; if(s.size()>1){ for(int i=0;i<s.size()-1;i++)if(s[i]=='1'&&s[i+1]=='4')f++; for(int i=0;i<s.size()-2;i++)if(s[i]=='1'&&s[i+1]=='4'&&s[i+2]=='4')h++;} if(o+f+h>=s.size()) cout<<"YES"<<endl; else cout<<"NO"<<endl; }
305392d9eb95ecd848d19fccee16f4368c7c890e
b72eeb4ece026e3f46e8bae69a6eda8c9eb100b4
/UVa-Online-Judge/10131 - Is Bigger Smarter?.cpp
ad78e8f3fa1563c7b0807ba7547dc2b3567baff4
[]
no_license
shahed-shd/Online-Judge-Solutions
712fadd108e026647adec09e576b3f364c1d54bd
ad10d61097d780aa8465c6836dc9f899a23239bc
refs/heads/master
2023-08-31T06:37:19.801355
2023-08-27T09:53:53
2023-08-27T09:53:53
37,283,322
34
27
null
null
null
null
UTF-8
C++
false
false
937
cpp
10131 - Is Bigger Smarter?.cpp
#include <cstdio> #include <algorithm> #include <tuple> #include <vector> using namespace std; typedef tuple<int,int,int> iii; const int MAXN = 1000+1; vector<iii> V; int n, dp[MAXN], nxt[MAXN]; int LIS(int u) { if(dp[u] != -1) return dp[u]; int mx = 0, tmp = get<1>(V[u]); for(int v = u+1; v < n; ++v) if(tmp > get<1>(V[v]) && mx < LIS(v)) mx = LIS(v), nxt[u] = v; return dp[u] = 1 + mx; } int main() { //freopen("in", "r", stdin); int a, b; n = 0; while(scanf("%d %d", &a, &b) != EOF) V.push_back(iii(a, b, ++n)); sort(V.begin(), V.end()); fill_n(dp, MAXN, -1); fill_n(nxt, MAXN, -1); int mx = 0, start; for(int i = 0; i < n; ++i) if(mx < LIS(i)) mx = LIS(i), start = i; printf("%d\n", mx); while(start != -1) { printf("%d\n", get<2>(V[start])); start = nxt[start]; } return 0; }
017c5106e10fee36226e7167345ec5eae718d66c
4352b5c9e6719d762e6a80e7a7799630d819bca3
/tutorials/eulerVortex.twitch.test-test-test/eulerVortex.cyclic.twitch.moving/4.44/U
2616bd984c7f3d0271e97edb80d62f424fd2d466
[]
no_license
dashqua/epicProject
d6214b57c545110d08ad053e68bc095f1d4dc725
54afca50a61c20c541ef43e3d96408ef72f0bcbc
refs/heads/master
2022-02-28T17:20:20.291864
2019-10-28T13:33:16
2019-10-28T13:33:16
184,294,390
1
0
null
null
null
null
UTF-8
C++
false
false
216,532
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "4.44"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 10000 ( (0.894398 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894398 0.447202 0) (0.894397 0.447203 0) (0.894396 0.447204 0) (0.894393 0.447208 0) (0.89439 0.447213 0) (0.894388 0.44722 0) (0.894386 0.447227 0) (0.894387 0.447235 0) (0.89439 0.447242 0) (0.894398 0.447248 0) (0.894407 0.447251 0) (0.894416 0.447254 0) (0.894422 0.447259 0) (0.894422 0.447273 0) (0.89441 0.447302 0) (0.894384 0.447353 0) (0.894343 0.447437 0) (0.894286 0.447559 0) (0.894217 0.447722 0) (0.89414 0.44793 0) (0.894059 0.448177 0) (0.893981 0.44846 0) (0.893913 0.448771 0) (0.893862 0.449095 0) (0.893827 0.449422 0) (0.893817 0.449739 0) (0.893836 0.450028 0) (0.893878 0.450277 0) (0.893949 0.450482 0) (0.894048 0.450622 0) (0.894164 0.450693 0) (0.894296 0.450696 0) (0.894433 0.450625 0) (0.894569 0.450489 0) (0.894696 0.45029 0) (0.894803 0.450039 0) (0.894884 0.449754 0) (0.89494 0.449451 0) (0.894966 0.449133 0) (0.894962 0.44882 0) (0.894936 0.448526 0) (0.894891 0.448256 0) (0.894831 0.448013 0) (0.894762 0.447803 0) (0.894691 0.447631 0) (0.894623 0.447492 0) (0.894562 0.447385 0) (0.894509 0.447306 0) (0.894466 0.447251 0) (0.894435 0.447215 0) (0.894412 0.447194 0) (0.894398 0.447183 0) (0.894391 0.44718 0) (0.894387 0.44718 0) (0.894387 0.447182 0) (0.894388 0.447186 0) (0.89439 0.447189 0) (0.894392 0.447192 0) (0.894394 0.447194 0) (0.894396 0.447196 0) (0.894397 0.447198 0) (0.894397 0.447198 0) (0.894398 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.894401 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894398 0.447202 0) (0.894397 0.447203 0) (0.894394 0.447206 0) (0.89439 0.447211 0) (0.894386 0.447218 0) (0.894382 0.447227 0) (0.89438 0.447238 0) (0.894379 0.447249 0) (0.894384 0.44726 0) (0.894392 0.447268 0) (0.894403 0.447276 0) (0.89441 0.447285 0) (0.894411 0.447304 0) (0.894397 0.447341 0) (0.894365 0.447409 0) (0.894311 0.447518 0) (0.894235 0.447681 0) (0.894141 0.447903 0) (0.894033 0.448188 0) (0.893921 0.448531 0) (0.893814 0.448926 0) (0.893719 0.449359 0) (0.893647 0.449813 0) (0.893602 0.450272 0) (0.893592 0.450714 0) (0.893616 0.451119 0) (0.893677 0.451473 0) (0.893775 0.451755 0) (0.893905 0.451952 0) (0.894064 0.452056 0) (0.89424 0.452061 0) (0.894426 0.451971 0) (0.894611 0.451786 0) (0.89478 0.451513 0) (0.894926 0.451177 0) (0.895042 0.450793 0) (0.89512 0.450377 0) (0.895161 0.449948 0) (0.895168 0.449527 0) (0.895143 0.449124 0) (0.895089 0.448749 0) (0.895015 0.448414 0) (0.894929 0.448126 0) (0.894838 0.447883 0) (0.894748 0.447683 0) (0.894664 0.447525 0) (0.894589 0.447406 0) (0.894527 0.447319 0) (0.894478 0.447258 0) (0.894441 0.447218 0) (0.894415 0.447195 0) (0.894399 0.447183 0) (0.89439 0.447178 0) (0.894385 0.447178 0) (0.894385 0.44718 0) (0.894386 0.447184 0) (0.894388 0.447187 0) (0.89439 0.44719 0) (0.894393 0.447193 0) (0.894395 0.447195 0) (0.894396 0.447197 0) (0.894397 0.447197 0) (0.894398 0.447198 0) (0.894398 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894398 0.447201 0) (0.894397 0.447202 0) (0.894395 0.447204 0) (0.894391 0.447208 0) (0.894386 0.447214 0) (0.89438 0.447224 0) (0.894374 0.447236 0) (0.89437 0.447252 0) (0.89437 0.447267 0) (0.894375 0.447281 0) (0.894384 0.447294 0) (0.894393 0.447309 0) (0.894395 0.447332 0) (0.894381 0.447376 0) (0.894343 0.447457 0) (0.894275 0.447592 0) (0.894174 0.4478 0) (0.894044 0.448091 0) (0.893895 0.448471 0) (0.893736 0.448938 0) (0.893583 0.449479 0) (0.893448 0.450077 0) (0.893343 0.45071 0) (0.893279 0.45135 0) (0.893261 0.451972 0) (0.893294 0.452546 0) (0.893379 0.453045 0) (0.893512 0.453448 0) (0.89369 0.453737 0) (0.893905 0.453895 0) (0.894146 0.453917 0) (0.894399 0.453805 0) (0.89465 0.45356 0) (0.894885 0.453205 0) (0.895089 0.452751 0) (0.895248 0.452228 0) (0.895361 0.451666 0) (0.895427 0.451082 0) (0.895444 0.450503 0) (0.895416 0.449951 0) (0.895353 0.449441 0) (0.895263 0.448983 0) (0.895156 0.448584 0) (0.89504 0.448243 0) (0.894921 0.447961 0) (0.894809 0.447735 0) (0.894707 0.44756 0) (0.894619 0.447428 0) (0.894547 0.447331 0) (0.89449 0.447265 0) (0.894448 0.447222 0) (0.894419 0.447196 0) (0.8944 0.447182 0) (0.894389 0.447177 0) (0.894384 0.447176 0) (0.894383 0.447178 0) (0.894384 0.447182 0) (0.894386 0.447185 0) (0.894388 0.447189 0) (0.894391 0.447192 0) (0.894393 0.447194 0) (0.894395 0.447196 0) (0.894395 0.447196 0) (0.894397 0.447198 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.894401 0.447201 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.8944 0.447201 0) (0.894402 0.447199 0) (0.894398 0.4472 0) (0.8944 0.447203 0) (0.894403 0.447197 0) (0.894397 0.4472 0) (0.8944 0.447202 0) (0.894402 0.447199 0) (0.894399 0.447199 0) (0.894399 0.4472 0) (0.894401 0.447201 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894401 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447202 0) (0.894397 0.447202 0) (0.894393 0.447205 0) (0.894389 0.44721 0) (0.894381 0.447218 0) (0.894372 0.447231 0) (0.894363 0.447248 0) (0.894357 0.447268 0) (0.894356 0.44729 0) (0.894362 0.447309 0) (0.894371 0.447329 0) (0.894375 0.447355 0) (0.894363 0.447403 0) (0.89432 0.447492 0) (0.894238 0.447649 0) (0.894108 0.447898 0) (0.893935 0.448262 0) (0.893727 0.448752 0) (0.893502 0.449366 0) (0.89328 0.450093 0) (0.893082 0.450907 0) (0.892925 0.451776 0) (0.892824 0.452665 0) (0.89279 0.453533 0) (0.892828 0.454342 0) (0.892938 0.455055 0) (0.893117 0.45564 0) (0.893358 0.45607 0) (0.893651 0.456324 0) (0.893982 0.45639 0) (0.894328 0.456272 0) (0.894675 0.455974 0) (0.895003 0.45551 0) (0.895288 0.454913 0) (0.895517 0.454218 0) (0.895681 0.453453 0) (0.89578 0.452658 0) (0.895817 0.451868 0) (0.895789 0.451108 0) (0.895713 0.450409 0) (0.895603 0.449781 0) (0.895466 0.449224 0) (0.895314 0.44875 0) (0.89516 0.448357 0) (0.895012 0.448037 0) (0.894874 0.447784 0) (0.894753 0.44759 0) (0.89465 0.447445 0) (0.894567 0.447342 0) (0.894503 0.447271 0) (0.894455 0.447225 0) (0.894422 0.447197 0) (0.8944 0.447182 0) (0.894388 0.447175 0) (0.894382 0.447174 0) (0.89438 0.447176 0) (0.894381 0.44718 0) (0.894383 0.447183 0) (0.894386 0.447187 0) (0.894389 0.44719 0) (0.894392 0.447193 0) (0.894394 0.447195 0) (0.894394 0.447195 0) (0.894396 0.447197 0) (0.894397 0.447198 0) (0.894398 0.447198 0) (0.894398 0.447199 0) (0.894399 0.4472 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.894399 0.447198 0) (0.8944 0.447202 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.894401 0.447199 0) (0.894399 0.447201 0) (0.894398 0.447201 0) (0.894403 0.447198 0) (0.894398 0.447202 0) (0.894398 0.447201 0) (0.894404 0.447198 0) (0.894399 0.4472 0) (0.894397 0.447202 0) (0.894402 0.447199 0) (0.894402 0.447199 0) (0.894397 0.4472 0) (0.894399 0.447201 0) (0.894402 0.4472 0) (0.894401 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447201 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.894399 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447202 0) (0.894397 0.447203 0) (0.894391 0.447205 0) (0.894385 0.447212 0) (0.894375 0.447223 0) (0.894363 0.44724 0) (0.894349 0.447262 0) (0.89434 0.447288 0) (0.894339 0.447316 0) (0.894345 0.447342 0) (0.89435 0.447371 0) (0.894341 0.447419 0) (0.8943 0.447508 0) (0.894208 0.447675 0) (0.89405 0.447955 0) (0.893826 0.448385 0) (0.893544 0.448987 0) (0.893227 0.449769 0) (0.892906 0.450716 0) (0.89261 0.451798 0) (0.892369 0.452969 0) (0.892205 0.454179 0) (0.892133 0.455376 0) (0.892162 0.456506 0) (0.892296 0.457518 0) (0.892527 0.458366 0) (0.892846 0.459014 0) (0.893241 0.45943 0) (0.89369 0.459595 0) (0.894168 0.459508 0) (0.89465 0.459177 0) (0.895111 0.458609 0) (0.895517 0.457848 0) (0.895847 0.456939 0) (0.896094 0.455926 0) (0.896253 0.454854 0) (0.896316 0.453772 0) (0.896294 0.45273 0) (0.896205 0.451766 0) (0.896064 0.450895 0) (0.895889 0.450125 0) (0.895694 0.449468 0) (0.895491 0.44892 0) (0.895293 0.448469 0) (0.895109 0.44811 0) (0.894944 0.447831 0) (0.894801 0.447619 0) (0.894683 0.447463 0) (0.894588 0.447352 0) (0.894516 0.447276 0) (0.894462 0.447227 0) (0.894426 0.447197 0) (0.894402 0.447181 0) (0.894387 0.447174 0) (0.89438 0.447173 0) (0.894378 0.447174 0) (0.894378 0.447177 0) (0.894381 0.447181 0) (0.894384 0.447185 0) (0.894387 0.447188 0) (0.894389 0.447191 0) (0.894392 0.447193 0) (0.894392 0.447194 0) (0.894394 0.447196 0) (0.894396 0.447197 0) (0.894397 0.447198 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.894399 0.447199 0) (0.8944 0.447202 0) (0.894401 0.447198 0) (0.894398 0.447202 0) (0.894402 0.4472 0) (0.894399 0.447199 0) (0.894401 0.447199 0) (0.894398 0.447204 0) (0.894403 0.447197 0) (0.8944 0.447197 0) (0.894397 0.447206 0) (0.894403 0.447197 0) (0.894399 0.447196 0) (0.8944 0.447205 0) (0.8944 0.447199 0) (0.8944 0.447198 0) (0.894402 0.447201 0) (0.894399 0.447201 0) (0.894397 0.447199 0) (0.894402 0.4472 0) (0.894402 0.4472 0) (0.894398 0.447199 0) (0.894398 0.447201 0) (0.894402 0.447201 0) (0.894402 0.447199 0) (0.894399 0.447198 0) (0.894399 0.447201 0) (0.8944 0.447201 0) (0.894399 0.4472 0) (0.894398 0.447201 0) (0.894396 0.447203 0) (0.89439 0.447207 0) (0.894381 0.447214 0) (0.894368 0.447228 0) (0.89435 0.44725 0) (0.894332 0.447279 0) (0.89432 0.447312 0) (0.894317 0.447347 0) (0.894322 0.447381 0) (0.894318 0.447425 0) (0.894284 0.447506 0) (0.894191 0.447665 0) (0.894013 0.447955 0) (0.893737 0.448429 0) (0.893369 0.449131 0) (0.892935 0.45008 0) (0.892474 0.45127 0) (0.892037 0.452662 0) (0.891665 0.454199 0) (0.891395 0.455812 0) (0.891251 0.457426 0) (0.891246 0.458969 0) (0.891387 0.460378 0) (0.891668 0.461591 0) (0.892076 0.462554 0) (0.892593 0.463226 0) (0.893195 0.463578 0) (0.893846 0.463597 0) (0.894509 0.463287 0) (0.895157 0.46266 0) (0.895743 0.461747 0) (0.896228 0.460612 0) (0.896603 0.459303 0) (0.896854 0.457888 0) (0.896976 0.456436 0) (0.896977 0.455008 0) (0.896874 0.453681 0) (0.896698 0.452478 0) (0.896474 0.451402 0) (0.896216 0.450485 0) (0.895945 0.449719 0) (0.895683 0.449088 0) (0.895436 0.448581 0) (0.895212 0.448183 0) (0.895017 0.447876 0) (0.894852 0.447646 0) (0.894717 0.447479 0) (0.89461 0.44736 0) (0.894529 0.44728 0) (0.89447 0.447228 0) (0.894429 0.447197 0) (0.894403 0.447179 0) (0.894387 0.447172 0) (0.894378 0.44717 0) (0.894375 0.447171 0) (0.894376 0.447175 0) (0.894378 0.447179 0) (0.894381 0.447183 0) (0.894384 0.447186 0) (0.894387 0.447189 0) (0.89439 0.447192 0) (0.89439 0.447192 0) (0.894392 0.447194 0) (0.894394 0.447196 0) (0.894396 0.447197 0) (0.894397 0.447198 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894398 0.4472 0) (0.8944 0.447198 0) (0.894399 0.447201 0) (0.894398 0.447199 0) (0.894403 0.447201 0) (0.894397 0.447197 0) (0.8944 0.447204 0) (0.894402 0.447197 0) (0.894399 0.447198 0) (0.894396 0.447208 0) (0.894407 0.447191 0) (0.8944 0.447201 0) (0.894392 0.447206 0) (0.894406 0.447196 0) (0.894404 0.447196 0) (0.894391 0.447206 0) (0.894401 0.447201 0) (0.894407 0.447196 0) (0.894396 0.4472 0) (0.894398 0.447203 0) (0.894402 0.4472 0) (0.894401 0.447198 0) (0.8944 0.4472 0) (0.894398 0.447201 0) (0.894399 0.4472 0) (0.894401 0.4472 0) (0.894402 0.4472 0) (0.894399 0.447199 0) (0.894397 0.447201 0) (0.8944 0.447202 0) (0.8944 0.447201 0) (0.894397 0.447201 0) (0.894394 0.447203 0) (0.894388 0.447209 0) (0.894377 0.447218 0) (0.894358 0.447234 0) (0.894335 0.447262 0) (0.894311 0.447299 0) (0.894295 0.44734 0) (0.894291 0.447381 0) (0.894291 0.447425 0) (0.894269 0.447493 0) (0.894189 0.447628 0) (0.894008 0.447897 0) (0.893694 0.448377 0) (0.89324 0.449138 0) (0.892668 0.450231 0) (0.892029 0.451658 0) (0.891393 0.453384 0) (0.890828 0.455337 0) (0.890392 0.45742 0) (0.890122 0.459533 0) (0.890041 0.461582 0) (0.890157 0.463481 0) (0.890468 0.465157 0) (0.890961 0.466543 0) (0.891612 0.467581 0) (0.89239 0.468231 0) (0.893252 0.468471 0) (0.894152 0.468297 0) (0.895047 0.467709 0) (0.895885 0.466729 0) (0.896606 0.46541 0) (0.897183 0.463813 0) (0.897595 0.462007 0) (0.89782 0.460108 0) (0.897874 0.458215 0) (0.89778 0.456409 0) (0.89757 0.454722 0) (0.897286 0.453213 0) (0.896944 0.451933 0) (0.896576 0.450855 0) (0.896225 0.449967 0) (0.895894 0.449255 0) (0.895589 0.448689 0) (0.895322 0.448252 0) (0.895094 0.447921 0) (0.894905 0.447674 0) (0.894753 0.447495 0) (0.894634 0.447369 0) (0.894544 0.447284 0) (0.894479 0.447229 0) (0.894433 0.447196 0) (0.894404 0.447177 0) (0.894386 0.447169 0) (0.894376 0.447167 0) (0.894373 0.447168 0) (0.894372 0.447171 0) (0.894374 0.447175 0) (0.894377 0.44718 0) (0.894381 0.447184 0) (0.894384 0.447187 0) (0.894387 0.44719 0) (0.894387 0.44719 0) (0.89439 0.447192 0) (0.894392 0.447194 0) (0.894394 0.447195 0) (0.894396 0.447198 0) (0.894396 0.447197 0) (0.894398 0.447199 0) (0.894398 0.447199 0) (0.894398 0.447197 0) (0.894401 0.447203 0) (0.894398 0.447196 0) (0.8944 0.447203 0) (0.894402 0.447198 0) (0.894394 0.447204 0) (0.894407 0.447193 0) (0.894396 0.447206 0) (0.894397 0.447203 0) (0.894408 0.447189 0) (0.894395 0.447209 0) (0.894398 0.447202 0) (0.894402 0.447191 0) (0.894405 0.447205 0) (0.894395 0.447202 0) (0.894396 0.447197 0) (0.89441 0.4472 0) (0.894399 0.447201 0) (0.894391 0.447199 0) (0.894404 0.447203 0) (0.894406 0.447199 0) (0.894396 0.447197 0) (0.894397 0.447203 0) (0.894402 0.447202 0) (0.894402 0.447197 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.894398 0.447201 0) (0.8944 0.4472 0) (0.894401 0.447201 0) (0.894397 0.447201 0) (0.894392 0.447203 0) (0.894385 0.44721 0) (0.894371 0.447221 0) (0.894347 0.447242 0) (0.894316 0.447275 0) (0.894286 0.44732 0) (0.894267 0.447369 0) (0.894261 0.447417 0) (0.894251 0.447474 0) (0.894195 0.447577 0) (0.894036 0.447796 0) (0.893715 0.448232 0) (0.893196 0.448992 0) (0.892486 0.450164 0) (0.891639 0.451788 0) (0.890745 0.453835 0) (0.889912 0.456219 0) (0.889228 0.458816 0) (0.88876 0.461488 0) (0.888541 0.464107 0) (0.888583 0.466566 0) (0.888885 0.468773 0) (0.889436 0.470658 0) (0.89021 0.472152 0) (0.891171 0.473209 0) (0.892267 0.473797 0) (0.89344 0.473906 0) (0.894638 0.473526 0) (0.8958 0.472658 0) (0.896851 0.471329 0) (0.897738 0.469575 0) (0.898423 0.467439 0) (0.898852 0.465061 0) (0.899021 0.46262 0) (0.898969 0.460218 0) (0.898746 0.457942 0) (0.898407 0.455862 0) (0.89796 0.454032 0) (0.897467 0.45248 0) (0.896992 0.451236 0) (0.896537 0.450225 0) (0.896117 0.449414 0) (0.895753 0.448797 0) (0.895438 0.448324 0) (0.895176 0.447964 0) (0.894961 0.447702 0) (0.89479 0.447513 0) (0.894659 0.44738 0) (0.89456 0.44729 0) (0.894488 0.447231 0) (0.894438 0.447195 0) (0.894405 0.447175 0) (0.894385 0.447166 0) (0.894374 0.447163 0) (0.894369 0.447164 0) (0.894369 0.447167 0) (0.894371 0.447172 0) (0.894373 0.447176 0) (0.894377 0.44718 0) (0.894381 0.447184 0) (0.894384 0.447187 0) (0.894384 0.447187 0) (0.894387 0.44719 0) (0.89439 0.447193 0) (0.894392 0.447194 0) (0.894394 0.447197 0) (0.894395 0.447195 0) (0.894396 0.4472 0) (0.894398 0.447197 0) (0.894398 0.447199 0) (0.894396 0.447201 0) (0.894405 0.447198 0) (0.894392 0.447196 0) (0.894404 0.447209 0) (0.894399 0.447194 0) (0.894399 0.447191 0) (0.8944 0.447222 0) (0.894396 0.447184 0) (0.894409 0.447196 0) (0.894393 0.447215 0) (0.894392 0.447196 0) (0.894417 0.44719 0) (0.894392 0.447206 0) (0.894391 0.447206 0) (0.894411 0.447194 0) (0.8944 0.447196 0) (0.894397 0.447207 0) (0.894398 0.447199 0) (0.894401 0.447198 0) (0.894405 0.447201 0) (0.894398 0.447199 0) (0.894395 0.4472 0) (0.894402 0.447203 0) (0.894404 0.447198 0) (0.894399 0.447197 0) (0.894397 0.447201 0) (0.8944 0.447202 0) (0.894402 0.4472 0) (0.894399 0.447199 0) (0.894396 0.447202 0) (0.894392 0.447205 0) (0.894382 0.44721 0) (0.894365 0.447225 0) (0.894334 0.44725 0) (0.894294 0.447289 0) (0.894257 0.447341 0) (0.894235 0.447398 0) (0.894225 0.447454 0) (0.894197 0.447529 0) (0.894083 0.447684 0) (0.893799 0.448029 0) (0.893266 0.448708 0) (0.892452 0.449864 0) (0.891392 0.451592 0) (0.890196 0.453895 0) (0.889012 0.456686 0) (0.887987 0.4598 0) (0.887226 0.463051 0) (0.88679 0.466264 0) (0.886694 0.469296 0) (0.886933 0.472044 0) (0.887495 0.47443 0) (0.888354 0.476397 0) (0.889473 0.477898 0) (0.890793 0.478908 0) (0.892245 0.479417 0) (0.893766 0.479422 0) (0.895295 0.478912 0) (0.896751 0.477881 0) (0.898056 0.476306 0) (0.899154 0.474174 0) (0.899954 0.471535 0) (0.900384 0.468572 0) (0.900487 0.465452 0) (0.900314 0.462384 0) (0.899917 0.4596 0) (0.899359 0.457111 0) (0.898725 0.454925 0) (0.898083 0.453124 0) (0.897458 0.451626 0) (0.896874 0.450456 0) (0.896369 0.44959 0) (0.895924 0.448901 0) (0.895563 0.448384 0) (0.895262 0.448007 0) (0.895019 0.447729 0) (0.894831 0.44753 0) (0.894686 0.447391 0) (0.894577 0.447297 0) (0.894499 0.447234 0) (0.894444 0.447196 0) (0.894408 0.447174 0) (0.894385 0.447163 0) (0.894372 0.447159 0) (0.894366 0.44716 0) (0.894365 0.447163 0) (0.894366 0.447167 0) (0.894369 0.447172 0) (0.894373 0.447176 0) (0.894377 0.44718 0) (0.894381 0.447184 0) (0.89438 0.447184 0) (0.894383 0.447187 0) (0.894387 0.44719 0) (0.89439 0.447192 0) (0.894391 0.447194 0) (0.894395 0.447195 0) (0.894394 0.447198 0) (0.894397 0.447194 0) (0.894397 0.447201 0) (0.894398 0.447197 0) (0.894395 0.4472 0) (0.894408 0.447195 0) (0.894388 0.447213 0) (0.894405 0.447181 0) (0.894409 0.447208 0) (0.89438 0.447213 0) (0.894415 0.447179 0) (0.894401 0.447206 0) (0.894392 0.447213 0) (0.894398 0.447187 0) (0.89441 0.447197 0) (0.894402 0.447209 0) (0.894382 0.447197 0) (0.894412 0.447198 0) (0.89441 0.4472 0) (0.894384 0.447198 0) (0.8944 0.447205 0) (0.89441 0.4472 0) (0.894399 0.447193 0) (0.894395 0.447205 0) (0.894399 0.447202 0) (0.894403 0.447199 0) (0.894403 0.447198 0) (0.894398 0.4472 0) (0.894396 0.4472 0) (0.894401 0.447202 0) (0.894403 0.447202 0) (0.894397 0.447198 0) (0.894394 0.447201 0) (0.894392 0.447207 0) (0.89438 0.447211 0) (0.894356 0.447228 0) (0.894319 0.447258 0) (0.89427 0.447304 0) (0.894225 0.447363 0) (0.894199 0.447426 0) (0.894184 0.44749 0) (0.894124 0.44759 0) (0.893918 0.447822 0) (0.893445 0.448349 0) (0.892604 0.44937 0) (0.891383 0.451061 0) (0.889874 0.453497 0) (0.888274 0.456607 0) (0.886801 0.460195 0) (0.885638 0.464004 0) (0.884889 0.467785 0) (0.88458 0.471346 0) (0.8847 0.47456 0) (0.885217 0.477353 0) (0.886107 0.479682 0) (0.88733 0.481527 0) (0.888826 0.482887 0) (0.890519 0.483779 0) (0.89233 0.484226 0) (0.894199 0.484247 0) (0.896058 0.483817 0) (0.897838 0.482862 0) (0.899458 0.481278 0) (0.900807 0.479007 0) (0.901749 0.476063 0) (0.902246 0.472551 0) (0.902302 0.468683 0) (0.901918 0.464874 0) (0.901255 0.461387 0) (0.900468 0.45839 0) (0.899622 0.455952 0) (0.898786 0.453807 0) (0.897985 0.452041 0) (0.897247 0.450779 0) (0.896638 0.449744 0) (0.896124 0.448999 0) (0.895702 0.448467 0) (0.895347 0.448036 0) (0.89509 0.447763 0) (0.894871 0.447543 0) (0.894717 0.447405 0) (0.894596 0.447304 0) (0.894512 0.447239 0) (0.894451 0.447198 0) (0.894411 0.447174 0) (0.894385 0.447161 0) (0.89437 0.447156 0) (0.894363 0.447156 0) (0.89436 0.447158 0) (0.894361 0.447162 0) (0.894364 0.447167 0) (0.894368 0.447172 0) (0.894372 0.447176 0) (0.894376 0.44718 0) (0.894375 0.447181 0) (0.894379 0.447184 0) (0.894382 0.447187 0) (0.894387 0.447191 0) (0.894386 0.447189 0) (0.894393 0.447197 0) (0.894392 0.447192 0) (0.894395 0.447195 0) (0.894393 0.447203 0) (0.894408 0.447194 0) (0.89438 0.447191 0) (0.894413 0.447218 0) (0.894402 0.44719 0) (0.894375 0.447178 0) (0.894434 0.447243 0) (0.894377 0.447176 0) (0.894393 0.447181 0) (0.894433 0.447236 0) (0.894364 0.447188 0) (0.894413 0.447189 0) (0.894414 0.447206 0) (0.894381 0.447208 0) (0.894407 0.447199 0) (0.894402 0.447188 0) (0.8944 0.447209 0) (0.894401 0.447205 0) (0.894391 0.447191 0) (0.894407 0.447205 0) (0.894406 0.447199 0) (0.894391 0.447198 0) (0.894397 0.447204 0) (0.894408 0.447201 0) (0.894401 0.447193 0) (0.894395 0.447203 0) (0.894399 0.447202 0) (0.894402 0.447199 0) (0.894401 0.447202 0) (0.894397 0.4472 0) (0.894394 0.4472 0) (0.894392 0.447207 0) (0.894378 0.447214 0) (0.894347 0.44723 0) (0.894301 0.447264 0) (0.894243 0.447319 0) (0.89419 0.447384 0) (0.89416 0.447452 0) (0.894135 0.447526 0) (0.894024 0.44766 0) (0.893679 0.448002 0) (0.892928 0.448783 0) (0.891661 0.450266 0) (0.889906 0.452644 0) (0.887866 0.45592 0) (0.885852 0.459886 0) (0.884164 0.464195 0) (0.882987 0.468488 0) (0.882389 0.47249 0) (0.882335 0.476032 0) (0.882768 0.479043 0) (0.883637 0.481502 0) (0.8849 0.48343 0) (0.886503 0.484872 0) (0.888358 0.485905 0) (0.890375 0.486619 0) (0.892479 0.4871 0) (0.894629 0.487372 0) (0.896793 0.487362 0) (0.898927 0.486901 0) (0.90092 0.485749 0) (0.902589 0.483742 0) (0.903803 0.480779 0) (0.904458 0.476891 0) (0.904427 0.472418 0) (0.903842 0.467817 0) (0.902908 0.463478 0) (0.901749 0.459865 0) (0.90063 0.456903 0) (0.899597 0.454483 0) (0.898537 0.452649 0) (0.897692 0.451081 0) (0.896945 0.44995 0) (0.89634 0.449153 0) (0.895847 0.448512 0) (0.895459 0.448106 0) (0.895158 0.44779 0) (0.894922 0.447556 0) (0.894749 0.447423 0) (0.894619 0.447308 0) (0.894526 0.447246 0) (0.894461 0.447201 0) (0.894416 0.447175 0) (0.894387 0.447161 0) (0.89437 0.447154 0) (0.89436 0.447153 0) (0.894356 0.447154 0) (0.894356 0.447158 0) (0.894359 0.447162 0) (0.894362 0.447167 0) (0.894366 0.447172 0) (0.89437 0.447176 0) (0.894369 0.447176 0) (0.894373 0.44718 0) (0.894377 0.447183 0) (0.894382 0.447189 0) (0.894384 0.447185 0) (0.894386 0.447198 0) (0.894396 0.447186 0) (0.894379 0.447198 0) (0.894417 0.447203 0) (0.894365 0.447185 0) (0.894424 0.447197 0) (0.894391 0.447224 0) (0.894369 0.447161 0) (0.894461 0.447215 0) (0.894329 0.447217 0) (0.894441 0.447183 0) (0.8944 0.447182 0) (0.894375 0.44723 0) (0.894424 0.447208 0) (0.894382 0.447154 0) (0.894416 0.447233 0) (0.894394 0.447208 0) (0.894387 0.447176 0) (0.894422 0.447212 0) (0.894391 0.447194 0) (0.894392 0.447209 0) (0.894409 0.4472 0) (0.894398 0.447186 0) (0.894401 0.447212 0) (0.8944 0.447203 0) (0.894393 0.44719 0) (0.894407 0.447208 0) (0.894404 0.447197 0) (0.894391 0.447197 0) (0.894401 0.447205 0) (0.894404 0.4472 0) (0.894398 0.447197 0) (0.894396 0.447202 0) (0.894396 0.447201 0) (0.89439 0.447204 0) (0.894374 0.447215 0) (0.894337 0.447234 0) (0.894281 0.447269 0) (0.894214 0.447332 0) (0.894153 0.447403 0) (0.894119 0.447475 0) (0.894076 0.447559 0) (0.893887 0.447744 0) (0.893338 0.448241 0) (0.8922 0.449364 0) (0.890364 0.451448 0) (0.887956 0.454653 0) (0.88535 0.458831 0) (0.883003 0.463556 0) (0.881269 0.468309 0) (0.880282 0.472668 0) (0.880014 0.476392 0) (0.880349 0.479391 0) (0.88118 0.481686 0) (0.882446 0.483334 0) (0.884086 0.484438 0) (0.886022 0.485151 0) (0.888132 0.485669 0) (0.890326 0.486194 0) (0.892564 0.486869 0) (0.894869 0.487702 0) (0.897268 0.48855 0) (0.899752 0.489128 0) (0.902196 0.489023 0) (0.904362 0.487835 0) (0.906021 0.485284 0) (0.906891 0.481412 0) (0.906881 0.476579 0) (0.906175 0.471244 0) (0.90489 0.466052 0) (0.903346 0.461532 0) (0.901835 0.457952 0) (0.900362 0.455328 0) (0.899228 0.453163 0) (0.898239 0.451458 0) (0.897248 0.450258 0) (0.896586 0.449283 0) (0.896018 0.448618 0) (0.895594 0.448211 0) (0.895223 0.44778 0) (0.895001 0.44763 0) (0.894772 0.447412 0) (0.894657 0.447332 0) (0.894539 0.447247 0) (0.894474 0.447207 0) (0.894422 0.447176 0) (0.89439 0.447161 0) (0.89437 0.447152 0) (0.894358 0.44715 0) (0.894353 0.447151 0) (0.894352 0.447154 0) (0.894353 0.447158 0) (0.894356 0.447163 0) (0.89436 0.447167 0) (0.894364 0.447172 0) (0.894362 0.447171 0) (0.894367 0.447176 0) (0.894372 0.44718 0) (0.894372 0.447182 0) (0.894385 0.447187 0) (0.894379 0.447188 0) (0.894388 0.447187 0) (0.894386 0.447202 0) (0.894406 0.44719 0) (0.894364 0.447179 0) (0.894412 0.447232 0) (0.894434 0.447181 0) (0.894292 0.44716 0) (0.894508 0.44727 0) (0.894382 0.447171 0) (0.894285 0.447143 0) (0.894562 0.447292 0) (0.894316 0.447146 0) (0.89436 0.447202 0) (0.894491 0.447219 0) (0.894347 0.44717 0) (0.894399 0.447246 0) (0.894418 0.447162 0) (0.894386 0.447197 0) (0.894418 0.447235 0) (0.894383 0.447169 0) (0.894396 0.44721 0) (0.894423 0.447205 0) (0.894384 0.447185 0) (0.894396 0.447219 0) (0.894408 0.447192 0) (0.894399 0.447193 0) (0.894402 0.44721 0) (0.894397 0.447195 0) (0.894399 0.447199 0) (0.894404 0.447207 0) (0.894398 0.447195 0) (0.894396 0.4472 0) (0.894397 0.447204 0) (0.894389 0.447203 0) (0.894369 0.447213 0) (0.894327 0.447238 0) (0.894261 0.447277 0) (0.894181 0.447342 0) (0.894116 0.447418 0) (0.894077 0.447491 0) (0.894003 0.44759 0) (0.8937 0.447848 0) (0.892862 0.448553 0) (0.8912 0.450127 0) (0.888644 0.452954 0) (0.885504 0.457078 0) (0.882395 0.462084 0) (0.879924 0.467266 0) (0.878418 0.471966 0) (0.877881 0.475788 0) (0.878126 0.47861 0) (0.878956 0.480475 0) (0.880231 0.481501 0) (0.881888 0.481836 0) (0.883841 0.481688 0) (0.885966 0.481372 0) (0.888121 0.481237 0) (0.890247 0.481604 0) (0.892398 0.482646 0) (0.894685 0.484362 0) (0.897206 0.48655 0) (0.899991 0.488757 0) (0.90296 0.490326 0) (0.905849 0.490581 0) (0.908178 0.489138 0) (0.909505 0.48586 0) (0.909679 0.480933 0) (0.9088 0.475042 0) (0.907215 0.469066 0) (0.905296 0.463666 0) (0.903186 0.459348 0) (0.901419 0.456166 0) (0.900066 0.453798 0) (0.898633 0.451886 0) (0.897772 0.450492 0) (0.896847 0.449544 0) (0.896175 0.448781 0) (0.895774 0.448245 0) (0.895306 0.44789 0) (0.895069 0.447653 0) (0.894836 0.447452 0) (0.894675 0.447343 0) (0.894572 0.447263 0) (0.894484 0.447211 0) (0.894434 0.44718 0) (0.894394 0.447161 0) (0.894372 0.447152 0) (0.894357 0.447148 0) (0.89435 0.447148 0) (0.894347 0.44715 0) (0.894347 0.447153 0) (0.89435 0.447158 0) (0.894353 0.447162 0) (0.894358 0.447168 0) (0.894354 0.447167 0) (0.89436 0.447171 0) (0.894366 0.447177 0) (0.894365 0.447173 0) (0.894376 0.447194 0) (0.894387 0.44717 0) (0.894343 0.447198 0) (0.894461 0.447201 0) (0.894292 0.447163 0) (0.894454 0.447211 0) (0.894421 0.447225 0) (0.894258 0.447133 0) (0.894593 0.44724 0) (0.894212 0.447196 0) (0.894518 0.447218 0) (0.894367 0.447127 0) (0.894329 0.447242 0) (0.894554 0.447295 0) (0.894244 0.447009 0) (0.894445 0.447321 0) (0.894488 0.447231 0) (0.894278 0.447094 0) (0.894442 0.447277 0) (0.894441 0.447168 0) (0.894351 0.447211 0) (0.894416 0.447213 0) (0.894395 0.447159 0) (0.894413 0.447242 0) (0.894399 0.447185 0) (0.894379 0.447188 0) (0.894418 0.447224 0) (0.894404 0.447181 0) (0.894388 0.447201 0) (0.894405 0.44721 0) (0.8944 0.447192 0) (0.894399 0.447205 0) (0.8944 0.447199 0) (0.894398 0.447196 0) (0.894397 0.447203 0) (0.894389 0.447207 0) (0.894363 0.44721 0) (0.894317 0.44724 0) (0.894241 0.447285 0) (0.89415 0.447348 0) (0.894079 0.447424 0) (0.894033 0.447499 0) (0.893912 0.447621 0) (0.893443 0.447979 0) (0.892211 0.448959 0) (0.889869 0.451107 0) (0.886454 0.454796 0) (0.882591 0.459829 0) (0.879187 0.465394 0) (0.876938 0.47051 0) (0.87601 0.474489 0) (0.876175 0.477105 0) (0.87707 0.478418 0) (0.878435 0.478615 0) (0.880136 0.47789 0) (0.882105 0.476482 0) (0.884214 0.474749 0) (0.886272 0.473202 0) (0.888167 0.472359 0) (0.88992 0.472619 0) (0.891728 0.474165 0) (0.893806 0.476955 0) (0.896356 0.480747 0) (0.899426 0.485055 0) (0.902911 0.489016 0) (0.906559 0.491504 0) (0.909824 0.491835 0) (0.912125 0.489658 0) (0.912854 0.485159 0) (0.911833 0.47918 0) (0.909788 0.472574 0) (0.907419 0.466252 0) (0.905 0.460999 0) (0.902805 0.457245 0) (0.900782 0.454521 0) (0.899368 0.452419 0) (0.898225 0.450913 0) (0.897164 0.449696 0) (0.896494 0.449014 0) (0.895841 0.448281 0) (0.895509 0.448094 0) (0.895092 0.447603 0) (0.894949 0.447571 0) (0.89469 0.447327 0) (0.894618 0.447312 0) (0.894498 0.447205 0) (0.89445 0.447197 0) (0.8944 0.447161 0) (0.894376 0.447154 0) (0.894357 0.447146 0) (0.894348 0.447145 0) (0.894343 0.447146 0) (0.894342 0.447149 0) (0.894343 0.447153 0) (0.894346 0.447157 0) (0.894351 0.447162 0) (0.894347 0.447163 0) (0.894352 0.447166 0) (0.894355 0.447172 0) (0.894364 0.447173 0) (0.894368 0.447184 0) (0.894363 0.44717 0) (0.89439 0.447204 0) (0.894378 0.447177 0) (0.894366 0.447168 0) (0.894382 0.447247 0) (0.894497 0.44716 0) (0.894166 0.447148 0) (0.894586 0.447292 0) (0.894459 0.447181 0) (0.894033 0.44706 0) (0.894818 0.447413 0) (0.894224 0.44704 0) (0.89427 0.447252 0) (0.894638 0.447252 0) (0.89424 0.447038 0) (0.894439 0.447418 0) (0.894449 0.447069 0) (0.894293 0.447153 0) (0.894508 0.447348 0) (0.894367 0.447092 0) (0.894347 0.447227 0) (0.894464 0.44721 0) (0.894383 0.44718 0) (0.89439 0.447233 0) (0.894401 0.447166 0) (0.894402 0.447214 0) (0.894412 0.447212 0) (0.894386 0.447175 0) (0.8944 0.447217 0) (0.894406 0.447203 0) (0.894396 0.447191 0) (0.8944 0.447204 0) (0.894401 0.4472 0) (0.894395 0.447197 0) (0.894387 0.44721 0) (0.894359 0.447211 0) (0.894307 0.447239 0) (0.894221 0.447287 0) (0.89412 0.447349 0) (0.894044 0.44742 0) (0.893984 0.447498 0) (0.893794 0.447656 0) (0.893095 0.448144 0) (0.891341 0.449481 0) (0.888147 0.452327 0) (0.883795 0.456942 0) (0.879356 0.462712 0) (0.876034 0.468354 0) (0.874447 0.472721 0) (0.874444 0.475291 0) (0.875479 0.47613 0) (0.877059 0.475494 0) (0.878901 0.473656 0) (0.880932 0.470855 0) (0.883043 0.467432 0) (0.88504 0.463952 0) (0.886678 0.461119 0) (0.887935 0.459581 0) (0.888989 0.459721 0) (0.890227 0.461742 0) (0.892019 0.465595 0) (0.894608 0.471077 0) (0.897993 0.477642 0) (0.901974 0.484422 0) (0.906286 0.489961 0) (0.910538 0.492776 0) (0.914132 0.492373 0) (0.915987 0.489037 0) (0.915452 0.48328 0) (0.913038 0.476278 0) (0.909903 0.469268 0) (0.907013 0.463211 0) (0.904234 0.458535 0) (0.901897 0.455194 0) (0.900306 0.453406 0) (0.898523 0.45127 0) (0.897812 0.449923 0) (0.896767 0.449268 0) (0.895935 0.448485 0) (0.895786 0.448082 0) (0.895141 0.447826 0) (0.895016 0.447471 0) (0.894803 0.447509 0) (0.894603 0.447244 0) (0.894571 0.447279 0) (0.894445 0.447188 0) (0.894426 0.447177 0) (0.894379 0.447157 0) (0.894361 0.447148 0) (0.894348 0.447145 0) (0.89434 0.447144 0) (0.894338 0.447147 0) (0.894337 0.447149 0) (0.89434 0.447154 0) (0.894342 0.447157 0) (0.89434 0.447157 0) (0.894345 0.447166 0) (0.894344 0.447161 0) (0.894362 0.447183 0) (0.894364 0.447155 0) (0.894312 0.447201 0) (0.894501 0.447178 0) (0.894187 0.447158 0) (0.894499 0.447219 0) (0.894479 0.447212 0) (0.894036 0.447108 0) (0.894848 0.447273 0) (0.894012 0.447165 0) (0.894621 0.44725 0) (0.894319 0.447077 0) (0.894264 0.447231 0) (0.894777 0.447461 0) (0.893965 0.446724 0) (0.894543 0.447536 0) (0.894644 0.447217 0) (0.89405 0.446947 0) (0.894537 0.447466 0) (0.89449 0.447022 0) (0.894267 0.447266 0) (0.894477 0.447257 0) (0.894359 0.447072 0) (0.894414 0.447301 0) (0.89443 0.44717 0) (0.894351 0.447188 0) (0.894423 0.447225 0) (0.894403 0.447167 0) (0.894397 0.447229 0) (0.894402 0.447189 0) (0.894391 0.44719 0) (0.894406 0.447221 0) (0.894402 0.447188 0) (0.894397 0.447195 0) (0.894401 0.447209 0) (0.894395 0.447195 0) (0.894384 0.447208 0) (0.894358 0.447214 0) (0.894296 0.447237 0) (0.894203 0.447281 0) (0.894095 0.447346 0) (0.894012 0.44741 0) (0.893928 0.447492 0) (0.893638 0.447702 0) (0.892632 0.448356 0) (0.890203 0.450141 0) (0.885994 0.453793 0) (0.880736 0.459296 0) (0.876046 0.465432 0) (0.873316 0.470506 0) (0.872837 0.473428 0) (0.873988 0.474066 0) (0.875918 0.472802 0) (0.87808 0.47002 0) (0.880257 0.465977 0) (0.882421 0.460965 0) (0.884405 0.455475 0) (0.885915 0.450316 0) (0.886737 0.446355 0) (0.886981 0.444229 0) (0.887019 0.44421 0) (0.887379 0.446406 0) (0.888654 0.450803 0) (0.891257 0.457513 0) (0.895278 0.466258 0) (0.900324 0.476008 0) (0.90559 0.485056 0) (0.910545 0.491428 0) (0.914874 0.493859 0) (0.918137 0.492042 0) (0.919213 0.486844 0) (0.91715 0.480026 0) (0.913158 0.472785 0) (0.909222 0.465892 0) (0.906009 0.460045 0) (0.903277 0.456422 0) (0.901071 0.453896 0) (0.899614 0.45186 0) (0.898029 0.450763 0) (0.897157 0.44914 0) (0.896461 0.449025 0) (0.895695 0.448009 0) (0.895516 0.448038 0) (0.894989 0.447555 0) (0.894924 0.447548 0) (0.894681 0.44729 0) (0.894583 0.447336 0) (0.894497 0.447192 0) (0.894439 0.447208 0) (0.894394 0.447164 0) (0.894371 0.447158 0) (0.894351 0.447149 0) (0.894341 0.447146 0) (0.894335 0.447147 0) (0.894333 0.447148 0) (0.894334 0.447151 0) (0.894335 0.447156 0) (0.894334 0.447154 0) (0.894335 0.447162 0) (0.894341 0.447164 0) (0.894355 0.447173 0) (0.894321 0.447154 0) (0.894413 0.44721 0) (0.8943 0.447148 0) (0.894406 0.447171 0) (0.894329 0.447256 0) (0.894529 0.447116 0) (0.894077 0.447178 0) (0.894627 0.447264 0) (0.894581 0.447228 0) (0.893679 0.446944 0) (0.895186 0.447559 0) (0.894062 0.446916 0) (0.894191 0.447318 0) (0.894796 0.44728 0) (0.894086 0.446836 0) (0.89457 0.447766 0) (0.894413 0.44679 0) (0.894155 0.447163 0) (0.894716 0.447554 0) (0.894282 0.446876 0) (0.894271 0.447332 0) (0.894572 0.447198 0) (0.894332 0.447147 0) (0.894403 0.447282 0) (0.894396 0.447123 0) (0.894395 0.447242 0) (0.894425 0.447194 0) (0.894383 0.447181 0) (0.894401 0.447231 0) (0.894398 0.447177 0) (0.894401 0.447207 0) (0.894408 0.447209 0) (0.894395 0.447182 0) (0.894397 0.447209 0) (0.894397 0.447203 0) (0.894384 0.447202 0) (0.894358 0.447209 0) (0.894286 0.447236 0) (0.894186 0.447274 0) (0.89407 0.447336 0) (0.89398 0.447394 0) (0.893862 0.44749 0) (0.893437 0.447763 0) (0.89203 0.448628 0) (0.888747 0.450958 0) (0.883414 0.455482 0) (0.877429 0.461679 0) (0.872991 0.467637 0) (0.871395 0.471459 0) (0.872353 0.472417 0) (0.874696 0.470888 0) (0.877384 0.467483 0) (0.879906 0.462556 0) (0.882176 0.456315 0) (0.884156 0.449154 0) (0.88562 0.441829 0) (0.886185 0.43537 0) (0.885813 0.430689 0) (0.884788 0.428185 0) (0.883623 0.42798 0) (0.882786 0.430012 0) (0.882969 0.434264 0) (0.884967 0.440909 0) (0.889527 0.450683 0) (0.896514 0.463328 0) (0.904162 0.476286 0) (0.910564 0.486678 0) (0.915192 0.492738 0) (0.919043 0.493704 0) (0.921649 0.490238 0) (0.921311 0.48369 0) (0.917579 0.476006 0) (0.912262 0.468802 0) (0.908052 0.462577 0) (0.904865 0.457883 0) (0.902249 0.454156 0) (0.90053 0.452931 0) (0.898494 0.451181 0) (0.897776 0.449676 0) (0.896947 0.449107 0) (0.895739 0.448512 0) (0.895886 0.447812 0) (0.895096 0.448147 0) (0.894976 0.447171 0) (0.894877 0.447721 0) (0.894535 0.447171 0) (0.894628 0.447336 0) (0.894428 0.447199 0) (0.894439 0.447199 0) (0.894382 0.447172 0) (0.894362 0.447161 0) (0.894348 0.447156 0) (0.894336 0.44715 0) (0.894334 0.447154 0) (0.894329 0.447149 0) (0.894332 0.447158 0) (0.894334 0.447166 0) (0.894327 0.447152 0) (0.894345 0.447175 0) (0.89433 0.447153 0) (0.894318 0.447192 0) (0.894471 0.447151 0) (0.894127 0.447185 0) (0.894546 0.447186 0) (0.894501 0.447213 0) (0.893776 0.447091 0) (0.895196 0.447284 0) (0.893748 0.447183 0) (0.894668 0.44717 0) (0.894322 0.44715 0) (0.894252 0.44716 0) (0.894908 0.447627 0) (0.893645 0.446407 0) (0.894791 0.44785 0) (0.894695 0.447084 0) (0.893798 0.446861 0) (0.894712 0.447715 0) (0.894473 0.446677 0) (0.894192 0.447545 0) (0.894609 0.447222 0) (0.894204 0.446881 0) (0.89449 0.447507 0) (0.894478 0.447086 0) (0.894271 0.447192 0) (0.894448 0.447227 0) (0.894408 0.447164 0) (0.894406 0.447254 0) (0.894393 0.44715 0) (0.894384 0.447219 0) (0.894414 0.447217 0) (0.894402 0.447171 0) (0.894402 0.447218 0) (0.894393 0.447194 0) (0.894397 0.447197 0) (0.894399 0.447209 0) (0.894387 0.447201 0) (0.894354 0.447199 0) (0.894277 0.447237 0) (0.894174 0.447271 0) (0.894047 0.44732 0) (0.893946 0.447373 0) (0.89378 0.447492 0) (0.893181 0.447838 0) (0.891253 0.44897 0) (0.886934 0.451941 0) (0.880464 0.457321 0) (0.874121 0.463842 0) (0.870533 0.468993 0) (0.87052 0.471008 0) (0.87303 0.469792 0) (0.876409 0.466164 0) (0.879576 0.460773 0) (0.882137 0.453808 0) (0.884112 0.445497 0) (0.885428 0.436501 0) (0.885791 0.42795 0) (0.884896 0.421069 0) (0.883055 0.416545 0) (0.880852 0.414291 0) (0.878831 0.414058 0) (0.877204 0.415653 0) (0.876221 0.419247 0) (0.876567 0.424751 0) (0.879701 0.433232 0) (0.887271 0.446228 0) (0.898639 0.462598 0) (0.909674 0.477607 0) (0.916727 0.487939 0) (0.920316 0.493148 0) (0.922593 0.492544 0) (0.923899 0.486979 0) (0.921849 0.47914 0) (0.916627 0.471767 0) (0.910959 0.465533 0) (0.906875 0.459586 0) (0.903634 0.455516 0) (0.900974 0.453527 0) (0.900115 0.451238 0) (0.89791 0.451059 0) (0.897321 0.448628 0) (0.896496 0.449285 0) (0.89566 0.447941 0) (0.895672 0.44803 0) (0.89499 0.447636 0) (0.894924 0.447583 0) (0.894776 0.447339 0) (0.894572 0.447372 0) (0.894549 0.447243 0) (0.894452 0.447236 0) (0.894419 0.447199 0) (0.894383 0.447181 0) (0.894362 0.447172 0) (0.894347 0.447161 0) (0.894336 0.44716 0) (0.894335 0.447158 0) (0.894327 0.447155 0) (0.894329 0.447171 0) (0.894338 0.447162 0) (0.894331 0.447168 0) (0.894309 0.447153 0) (0.894417 0.447213 0) (0.894218 0.447121 0) (0.894468 0.447183 0) (0.894281 0.447264 0) (0.894452 0.447044 0) (0.894141 0.447275 0) (0.894605 0.447158 0) (0.894577 0.447317 0) (0.893478 0.446839 0) (0.895531 0.447629 0) (0.893797 0.446928 0) (0.894217 0.447254 0) (0.894836 0.447309 0) (0.894062 0.446741 0) (0.894673 0.448098 0) (0.894242 0.446313 0) (0.894144 0.447434 0) (0.894975 0.447645 0) (0.894035 0.446579 0) (0.894293 0.447644 0) (0.894696 0.446968 0) (0.894205 0.447211 0) (0.8945 0.44739 0) (0.894347 0.446977 0) (0.894369 0.447306 0) (0.894479 0.447185 0) (0.89437 0.447206 0) (0.894386 0.447201 0) (0.894392 0.447165 0) (0.894419 0.447254 0) (0.894406 0.44717 0) (0.894389 0.447185 0) (0.894395 0.447228 0) (0.894406 0.447195 0) (0.894397 0.447191 0) (0.894388 0.447206 0) (0.89435 0.447198 0) (0.894272 0.447231 0) (0.894163 0.447263 0) (0.894031 0.447299 0) (0.893914 0.447351 0) (0.893679 0.447498 0) (0.892856 0.447933 0) (0.890262 0.449388 0) (0.884752 0.453081 0) (0.877273 0.459172 0) (0.871103 0.465516 0) (0.868929 0.469277 0) (0.870755 0.469207 0) (0.874702 0.465922 0) (0.878824 0.46046 0) (0.882077 0.453278 0) (0.884234 0.444393 0) (0.885311 0.434246 0) (0.8852 0.424024 0) (0.883592 0.415323 0) (0.880607 0.409494 0) (0.877197 0.406647 0) (0.87449 0.406036 0) (0.873021 0.406672 0) (0.872548 0.408159 0) (0.872075 0.410528 0) (0.871048 0.413941 0) (0.870589 0.41912 0) (0.874174 0.42848 0) (0.88552 0.444708 0) (0.902385 0.463975 0) (0.916731 0.47947 0) (0.923126 0.488545 0) (0.924472 0.491754 0) (0.92493 0.489418 0) (0.924538 0.482828 0) (0.921475 0.474541 0) (0.914996 0.467402 0) (0.909337 0.462006 0) (0.905174 0.457907 0) (0.902662 0.453993 0) (0.90085 0.452176 0) (0.898771 0.451042 0) (0.897573 0.449915 0) (0.897292 0.4487 0) (0.895792 0.449114 0) (0.895905 0.447226 0) (0.895313 0.448722 0) (0.894913 0.446966 0) (0.895058 0.447876 0) (0.894541 0.447221 0) (0.894698 0.447386 0) (0.894479 0.447251 0) (0.894472 0.447241 0) (0.894418 0.447208 0) (0.894384 0.447191 0) (0.89437 0.447183 0) (0.894345 0.447167 0) (0.894345 0.447175 0) (0.894332 0.447156 0) (0.894328 0.44716 0) (0.894344 0.447185 0) (0.894317 0.447166 0) (0.89435 0.447165 0) (0.894366 0.447171 0) (0.894192 0.447203 0) (0.894544 0.447118 0) (0.894404 0.447271 0) (0.893709 0.447053 0) (0.895463 0.447283 0) (0.893435 0.447254 0) (0.894682 0.446946 0) (0.894441 0.447435 0) (0.894309 0.446983 0) (0.894669 0.447673 0) (0.893615 0.446297 0) (0.895151 0.448076 0) (0.89441 0.446875 0) (0.893739 0.446965 0) (0.894887 0.447745 0) (0.89439 0.446387 0) (0.894204 0.448082 0) (0.894681 0.446801 0) (0.893972 0.446867 0) (0.894743 0.447816 0) (0.894425 0.446807 0) (0.894149 0.447336 0) (0.894563 0.447168 0) (0.894355 0.447157 0) (0.894441 0.447301 0) (0.894384 0.447115 0) (0.894355 0.447242 0) (0.894434 0.447174 0) (0.894415 0.447215 0) (0.894393 0.447217 0) (0.894379 0.447153 0) (0.894403 0.44723 0) (0.89442 0.447214 0) (0.894389 0.447171 0) (0.894384 0.44721 0) (0.894349 0.447207 0) (0.894269 0.447221 0) (0.894157 0.447242 0) (0.894024 0.447267 0) (0.89388 0.447328 0) (0.893551 0.447509 0) (0.89244 0.448048 0) (0.889022 0.44989 0) (0.882223 0.454333 0) (0.874041 0.460847 0) (0.868643 0.466476 0) (0.868305 0.46845 0) (0.871983 0.466335 0) (0.877098 0.461299 0) (0.881573 0.454295 0) (0.884428 0.445436 0) (0.885541 0.434705 0) (0.884805 0.423099 0) (0.882079 0.412593 0) (0.877234 0.405392 0) (0.871289 0.402649 0) (0.866215 0.403591 0) (0.863653 0.406425 0) (0.864038 0.409328 0) (0.866828 0.411438 0) (0.870166 0.412534 0) (0.87157 0.413398 0) (0.86995 0.414448 0) (0.867646 0.418037 0) (0.871171 0.428497 0) (0.885857 0.446943 0) (0.907239 0.466494 0) (0.923046 0.479847 0) (0.928634 0.487332 0) (0.927772 0.48918 0) (0.926478 0.485508 0) (0.924174 0.477403 0) (0.919053 0.469492 0) (0.912805 0.464247 0) (0.908055 0.459922 0) (0.904855 0.455042 0) (0.900851 0.453812 0) (0.900751 0.450471 0) (0.897949 0.451717 0) (0.897704 0.448267 0) (0.896695 0.449493 0) (0.895654 0.448043 0) (0.895903 0.448051 0) (0.895142 0.447781 0) (0.894957 0.44758 0) (0.894933 0.447486 0) (0.89462 0.447381 0) (0.89464 0.447329 0) (0.894504 0.447274 0) (0.894474 0.447248 0) (0.894423 0.447215 0) (0.894394 0.447207 0) (0.894375 0.447186 0) (0.89435 0.447182 0) (0.894355 0.447181 0) (0.894361 0.447167 0) (0.894318 0.447196 0) (0.894364 0.447156 0) (0.894352 0.447224 0) (0.894242 0.447109 0) (0.894481 0.447204 0) (0.894244 0.447275 0) (0.894334 0.44696 0) (0.894366 0.447423 0) (0.894441 0.446995 0) (0.894404 0.447429 0) (0.893737 0.446764 0) (0.895527 0.447639 0) (0.89349 0.447078 0) (0.894456 0.446945 0) (0.894686 0.447477 0) (0.894296 0.446882 0) (0.894478 0.447993 0) (0.894064 0.445972 0) (0.894462 0.44801 0) (0.895022 0.447325 0) (0.893645 0.446526 0) (0.894555 0.447937 0) (0.894727 0.446496 0) (0.894043 0.447669 0) (0.89471 0.447271 0) (0.894119 0.446759 0) (0.89447 0.447526 0) (0.89455 0.447129 0) (0.894283 0.447212 0) (0.894397 0.447158 0) (0.89439 0.447209 0) (0.894447 0.447247 0) (0.894403 0.447139 0) (0.894368 0.447236 0) (0.894399 0.447195 0) (0.894407 0.447191 0) (0.894416 0.447215 0) (0.894383 0.447174 0) (0.89439 0.447209 0) (0.894351 0.447214 0) (0.894265 0.447215 0) (0.894157 0.447217 0) (0.894024 0.447231 0) (0.893833 0.447305 0) (0.893394 0.447531 0) (0.891922 0.448182 0) (0.887508 0.450482 0) (0.879426 0.455612 0) (0.871 0.462158 0) (0.866921 0.466596 0) (0.868631 0.466663 0) (0.873974 0.462791 0) (0.879928 0.456385 0) (0.884282 0.448013 0) (0.886144 0.437435 0) (0.885287 0.424902 0) (0.881419 0.412352 0) (0.874309 0.402822 0) (0.864369 0.39906 0) (0.853987 0.401398 0) (0.846331 0.407608 0) (0.843136 0.414522 0) (0.844424 0.420023 0) (0.849829 0.422888 0) (0.85849 0.423234 0) (0.867777 0.422496 0) (0.873477 0.421271 0) (0.873015 0.42029 0) (0.869503 0.422582 0) (0.872622 0.433499 0) (0.889204 0.451524 0) (0.912756 0.46886 0) (0.928825 0.479528 0) (0.93255 0.484521 0) (0.929765 0.484775 0) (0.925549 0.480541 0) (0.922844 0.473178 0) (0.916885 0.465314 0) (0.911507 0.460577 0) (0.906049 0.457457 0) (0.903328 0.454491 0) (0.901396 0.452187 0) (0.899657 0.450541 0) (0.897773 0.450696 0) (0.897501 0.447935 0) (0.896349 0.45015 0) (0.895841 0.446751 0) (0.895736 0.449004 0) (0.894949 0.447139 0) (0.895218 0.447847 0) (0.894704 0.447373 0) (0.894751 0.447427 0) (0.894597 0.44732 0) (0.894532 0.447292 0) (0.894485 0.447256 0) (0.894429 0.447228 0) (0.894417 0.447221 0) (0.89437 0.447188 0) (0.894371 0.447208 0) (0.894384 0.447217 0) (0.894354 0.447187 0) (0.894368 0.447165 0) (0.894313 0.447236 0) (0.894328 0.447162 0) (0.894455 0.447114 0) (0.894263 0.447345 0) (0.893976 0.446976 0) (0.89537 0.447342 0) (0.893153 0.447239 0) (0.894917 0.446802 0) (0.894519 0.447778 0) (0.894241 0.446689 0) (0.894175 0.447617 0) (0.894235 0.446558 0) (0.895202 0.447979 0) (0.893729 0.446745 0) (0.894193 0.447182 0) (0.894922 0.447407 0) (0.894228 0.446675 0) (0.894329 0.448351 0) (0.894542 0.44596 0) (0.893874 0.447522 0) (0.89521 0.447819 0) (0.893983 0.446454 0) (0.894217 0.447677 0) (0.894708 0.446881 0) (0.894229 0.44731 0) (0.894563 0.447372 0) (0.89427 0.446981 0) (0.894356 0.447255 0) (0.894508 0.447217 0) (0.894396 0.447244 0) (0.894363 0.447135 0) (0.894379 0.447193 0) (0.894429 0.447254 0) (0.894412 0.44718 0) (0.894394 0.44719 0) (0.894381 0.4472 0) (0.894396 0.447201 0) (0.894357 0.447187 0) (0.894272 0.447207 0) (0.894158 0.447209 0) (0.894018 0.447204 0) (0.89377 0.447295 0) (0.893209 0.447562 0) (0.891291 0.448345 0) (0.885715 0.451153 0) (0.876508 0.456803 0) (0.868356 0.462947 0) (0.866012 0.465895 0) (0.86975 0.4642 0) (0.8765 0.458977 0) (0.882909 0.451502 0) (0.886614 0.441735 0) (0.886699 0.429245 0) (0.882644 0.414924 0) (0.873869 0.402001 0) (0.860069 0.394722 0) (0.842836 0.395788 0) (0.826541 0.403861 0) (0.815595 0.414485 0) (0.811343 0.423665 0) (0.812966 0.429898 0) (0.819682 0.432866 0) (0.831071 0.433256 0) (0.846337 0.432197 0) (0.862576 0.431298 0) (0.874278 0.429951 0) (0.877727 0.428658 0) (0.876502 0.431814 0) (0.880353 0.442755 0) (0.896739 0.458402 0) (0.917753 0.470429 0) (0.931801 0.477515 0) (0.933907 0.480719 0) (0.930271 0.480714 0) (0.925721 0.475311 0) (0.920109 0.467819 0) (0.914194 0.46171 0) (0.908673 0.459566 0) (0.906617 0.454465 0) (0.901434 0.454668 0) (0.901663 0.449531 0) (0.898267 0.452223 0) (0.898208 0.448396 0) (0.897381 0.449495 0) (0.895852 0.448362 0) (0.896149 0.448027 0) (0.895516 0.448088 0) (0.895079 0.447553 0) (0.895144 0.447674 0) (0.89476 0.447433 0) (0.894764 0.447419 0) (0.894611 0.447336 0) (0.894559 0.447309 0) (0.894497 0.447262 0) (0.89445 0.44725 0) (0.894429 0.447225 0) (0.894382 0.447204 0) (0.89439 0.447261 0) (0.894445 0.447162 0) (0.894287 0.447269 0) (0.894407 0.44711 0) (0.894384 0.447252 0) (0.894261 0.447255 0) (0.894342 0.446937 0) (0.894507 0.447558 0) (0.894164 0.446822 0) (0.894389 0.447549 0) (0.894233 0.446713 0) (0.894967 0.447718 0) (0.89345 0.44702 0) (0.894902 0.446753 0) (0.894324 0.447809 0) (0.894599 0.447006 0) (0.893968 0.447272 0) (0.894254 0.446438 0) (0.89503 0.448459 0) (0.89438 0.446458 0) (0.893477 0.447086 0) (0.895228 0.447736 0) (0.894299 0.446328 0) (0.894127 0.448374 0) (0.894798 0.446452 0) (0.893791 0.446967 0) (0.894904 0.447865 0) (0.894383 0.446828 0) (0.894178 0.447311 0) (0.894471 0.447097 0) (0.894386 0.447235 0) (0.894511 0.447281 0) (0.894346 0.447134 0) (0.894322 0.447202 0) (0.894455 0.447194 0) (0.894422 0.447221 0) (0.894388 0.447202 0) (0.894389 0.447171 0) (0.8944 0.44722 0) (0.894401 0.447226 0) (0.894357 0.447156 0) (0.894276 0.447174 0) (0.89416 0.447203 0) (0.894004 0.447187 0) (0.893689 0.447294 0) (0.892996 0.447592 0) (0.890519 0.448545 0) (0.883676 0.451856 0) (0.873632 0.457776 0) (0.866255 0.463128 0) (0.865867 0.464519 0) (0.871474 0.461379 0) (0.879362 0.455214 0) (0.885793 0.446785 0) (0.888258 0.435394 0) (0.885572 0.420665 0) (0.87685 0.404515 0) (0.860979 0.391741 0) (0.838023 0.387641 0) (0.811778 0.39419 0) (0.78969 0.407753 0) (0.777618 0.422018 0) (0.776137 0.433124 0) (0.782893 0.439599 0) (0.79425 0.441414 0) (0.806644 0.439558 0) (0.818985 0.436071 0) (0.834024 0.434021 0) (0.853245 0.434338 0) (0.87173 0.435904 0) (0.883175 0.43772 0) (0.887359 0.442809 0) (0.891903 0.452507 0) (0.904934 0.464354 0) (0.9224 0.47235 0) (0.933303 0.475553 0) (0.934843 0.476279 0) (0.92831 0.474695 0) (0.923765 0.471095 0) (0.917172 0.46426 0) (0.913081 0.459393 0) (0.907682 0.456547 0) (0.904118 0.454085 0) (0.901864 0.452944 0) (0.900424 0.449752 0) (0.898729 0.451745 0) (0.897549 0.447146 0) (0.89719 0.450704 0) (0.896024 0.447049 0) (0.896124 0.448746 0) (0.895312 0.447595 0) (0.895325 0.447786 0) (0.895013 0.447541 0) (0.894863 0.447494 0) (0.894761 0.447404 0) (0.894643 0.447354 0) (0.89459 0.447319 0) (0.894502 0.447269 0) (0.894493 0.447276 0) (0.894425 0.447206 0) (0.894455 0.447231 0) (0.894406 0.447219 0) (0.894396 0.447279 0) (0.894397 0.447119 0) (0.89438 0.447225 0) (0.894259 0.447331 0) (0.894334 0.446923 0) (0.894875 0.447477 0) (0.893235 0.447069 0) (0.895394 0.446974 0) (0.894084 0.44779 0) (0.894156 0.446481 0) (0.894106 0.447658 0) (0.895051 0.446974 0) (0.894389 0.447469 0) (0.893363 0.446856 0) (0.895287 0.44742 0) (0.89434 0.446909 0) (0.894094 0.447629 0) (0.89463 0.447428 0) (0.894076 0.445744 0) (0.894417 0.448824 0) (0.895265 0.446791 0) (0.893207 0.446571 0) (0.894883 0.447943 0) (0.894578 0.446498 0) (0.894185 0.44789 0) (0.894619 0.446974 0) (0.894051 0.446874 0) (0.894579 0.447516 0) (0.894517 0.447167 0) (0.894298 0.4472 0) (0.89437 0.447099 0) (0.894376 0.447252 0) (0.894487 0.447276 0) (0.894394 0.447125 0) (0.894353 0.447201 0) (0.894405 0.447209 0) (0.894412 0.447177 0) (0.894402 0.447234 0) (0.894368 0.447184 0) (0.894276 0.447164 0) (0.894168 0.447184 0) (0.893993 0.447175 0) (0.893589 0.447285 0) (0.892741 0.447623 0) (0.88957 0.448772 0) (0.881462 0.45252 0) (0.870948 0.458412 0) (0.864768 0.462719 0) (0.866351 0.462679 0) (0.873655 0.458489 0) (0.882367 0.451685 0) (0.888396 0.442216 0) (0.888902 0.428795 0) (0.882366 0.411378 0) (0.867288 0.393245 0) (0.841876 0.380877 0) (0.807222 0.380359 0) (0.770446 0.392704 0) (0.742863 0.412368 0) (0.731329 0.433022 0) (0.735963 0.451109 0) (0.753295 0.462842 0) (0.77634 0.464823 0) (0.796808 0.456835 0) (0.809357 0.444487 0) (0.816095 0.434556 0) (0.82601 0.431076 0) (0.844512 0.433821 0) (0.867606 0.439124 0) (0.887368 0.44468 0) (0.898196 0.451176 0) (0.905251 0.460842 0) (0.914484 0.468952 0) (0.926174 0.472721 0) (0.932791 0.472651 0) (0.932084 0.47263 0) (0.927641 0.470424 0) (0.921447 0.466658 0) (0.916004 0.45991 0) (0.909266 0.458772 0) (0.907933 0.453268 0) (0.902437 0.455524 0) (0.902708 0.449415 0) (0.899084 0.451827 0) (0.898338 0.449029 0) (0.898209 0.449146 0) (0.896398 0.448855 0) (0.896343 0.447876 0) (0.895988 0.448348 0) (0.895353 0.447619 0) (0.895367 0.447766 0) (0.895004 0.447531 0) (0.894922 0.447492 0) (0.894771 0.447402 0) (0.894679 0.447368 0) (0.894605 0.447314 0) (0.894532 0.447287 0) (0.894496 0.447274 0) (0.894524 0.447203 0) (0.894376 0.447339 0) (0.894567 0.447123 0) (0.894281 0.447323 0) (0.894405 0.447204 0) (0.894423 0.447035 0) (0.894394 0.447575 0) (0.89412 0.446714 0) (0.894611 0.447696 0) (0.894291 0.446673 0) (0.894407 0.447785 0) (0.893888 0.446721 0) (0.895159 0.447159 0) (0.893752 0.447751 0) (0.894842 0.446881 0) (0.893669 0.446672 0) (0.894862 0.447874 0) (0.895036 0.447586 0) (0.893202 0.445853 0) (0.894504 0.448332 0) (0.895546 0.446766 0) (0.893299 0.447067 0) (0.894796 0.448171 0) (0.894426 0.445532 0) (0.89391 0.448276 0) (0.895331 0.447436 0) (0.893772 0.446512 0) (0.894332 0.44754 0) (0.894594 0.446968 0) (0.894435 0.447496 0) (0.894461 0.447144 0) (0.894185 0.44704 0) (0.894445 0.447253 0) (0.894503 0.447226 0) (0.894391 0.447276 0) (0.894357 0.447114 0) (0.894372 0.44717 0) (0.894442 0.44729 0) (0.894418 0.44715 0) (0.894369 0.447168 0) (0.89437 0.447209 0) (0.894285 0.447181 0) (0.894192 0.447157 0) (0.893986 0.447164 0) (0.893484 0.447271 0) (0.892427 0.447675 0) (0.888453 0.449025 0) (0.879157 0.453074 0) (0.868582 0.458657 0) (0.863853 0.461823 0) (0.867338 0.460593 0) (0.876147 0.455744 0) (0.885364 0.448449 0) (0.890552 0.437684 0) (0.888334 0.421686 0) (0.876911 0.400995 0) (0.853637 0.38046 0) (0.81616 0.368094 0) (0.766974 0.370559 0) (0.717295 0.387815 0) (0.68139 0.413568 0) (0.665662 0.442968 0) (0.67079 0.472319 0) (0.695244 0.494702 0) (0.733123 0.502583 0) (0.773585 0.493689 0) (0.80537 0.473535 0) (0.820955 0.451614 0) (0.822739 0.435408 0) (0.825264 0.428639 0) (0.839831 0.432676 0) (0.865717 0.44155 0) (0.892327 0.449834 0) (0.908332 0.456779 0) (0.915532 0.464415 0) (0.921962 0.470696 0) (0.928419 0.472417 0) (0.933429 0.471138 0) (0.92966 0.468196 0) (0.925418 0.466389 0) (0.918146 0.462766 0) (0.913596 0.458313 0) (0.909645 0.456241 0) (0.905689 0.452893 0) (0.903015 0.453657 0) (0.900819 0.449033 0) (0.900094 0.452386 0) (0.897889 0.447371 0) (0.897807 0.450101 0) (0.896624 0.447952 0) (0.896326 0.448318 0) (0.895865 0.447937 0) (0.895492 0.44779 0) (0.895319 0.447645 0) (0.89506 0.447556 0) (0.894942 0.447473 0) (0.894786 0.447402 0) (0.894722 0.447377 0) (0.894595 0.447295 0) (0.894572 0.447336 0) (0.894536 0.447304 0) (0.894562 0.447291 0) (0.894421 0.447172 0) (0.894453 0.44734 0) (0.894373 0.447215 0) (0.894455 0.447027 0) (0.894438 0.447574 0) (0.893817 0.446862 0) (0.895428 0.447296 0) (0.89334 0.447479 0) (0.894716 0.446633 0) (0.89433 0.447737 0) (0.894884 0.447043 0) (0.893577 0.446981 0) (0.894204 0.447399 0) (0.895782 0.447317 0) (0.89305 0.446648 0) (0.894643 0.448337 0) (0.894924 0.44583 0) (0.893499 0.447476 0) (0.89539 0.448771 0) (0.894188 0.445132 0) (0.893216 0.447978 0) (0.89595 0.447607 0) (0.893754 0.446547 0) (0.89433 0.44804 0) (0.894552 0.446239 0) (0.894063 0.44753 0) (0.894888 0.447587 0) (0.894276 0.446901 0) (0.894189 0.447144 0) (0.894447 0.447185 0) (0.894505 0.447392 0) (0.894447 0.447128 0) (0.894294 0.447101 0) (0.89438 0.447247 0) (0.894441 0.447201 0) (0.894422 0.447268 0) (0.894405 0.44717 0) (0.894377 0.447154 0) (0.894378 0.447209 0) (0.894288 0.447161 0) (0.894206 0.44712 0) (0.893962 0.447153 0) (0.893366 0.44724 0) (0.892051 0.447742 0) (0.887213 0.449283 0) (0.876869 0.453453 0) (0.866611 0.458525 0) (0.863423 0.460572 0) (0.868734 0.458452 0) (0.878792 0.453265 0) (0.888261 0.445494 0) (0.892096 0.433041 0) (0.886565 0.413818 0) (0.869275 0.389084 0) (0.836168 0.365204 0) (0.784274 0.351374 0) (0.717921 0.354406 0) (0.65262 0.373302 0) (0.603805 0.40211 0) (0.576739 0.437913 0) (0.573746 0.477046 0) (0.597841 0.511115 0) (0.646504 0.531524 0) (0.708989 0.533478 0) (0.769851 0.516816 0) (0.813492 0.488942 0) (0.83127 0.4596 0) (0.830578 0.43754 0) (0.83064 0.429807 0) (0.843676 0.435303 0) (0.86948 0.445179 0) (0.896566 0.452405 0) (0.914693 0.459296 0) (0.923253 0.465871 0) (0.92821 0.470671 0) (0.931055 0.470465 0) (0.930662 0.468453 0) (0.927445 0.465037 0) (0.922099 0.463792 0) (0.91785 0.458684 0) (0.910754 0.458402 0) (0.909081 0.452242 0) (0.90365 0.454657 0) (0.903575 0.450469 0) (0.900834 0.450819 0) (0.8987 0.449841 0) (0.898837 0.448722 0) (0.897241 0.449216 0) (0.896712 0.447933 0) (0.896382 0.448354 0) (0.89578 0.447791 0) (0.895595 0.447788 0) (0.895288 0.447614 0) (0.895108 0.447546 0) (0.89495 0.447455 0) (0.894814 0.447409 0) (0.894721 0.447362 0) (0.894638 0.44731 0) (0.894622 0.447401 0) (0.894642 0.447168 0) (0.894379 0.447406 0) (0.894579 0.447163 0) (0.89444 0.447192 0) (0.894295 0.447462 0) (0.894401 0.446792 0) (0.894599 0.447782 0) (0.894056 0.44659 0) (0.894511 0.447805 0) (0.89421 0.446644 0) (0.894933 0.447613 0) (0.89339 0.447148 0) (0.895263 0.447 0) (0.89371 0.446926 0) (0.894936 0.448474 0) (0.894479 0.445771 0) (0.892979 0.447258 0) (0.89617 0.448713 0) (0.894132 0.445402 0) (0.892904 0.448328 0) (0.896117 0.446939 0) (0.893412 0.446259 0) (0.894643 0.449102 0) (0.895017 0.445867 0) (0.893179 0.447035 0) (0.89515 0.4479 0) (0.894504 0.446889 0) (0.894217 0.447462 0) (0.894354 0.446819 0) (0.894241 0.447225 0) (0.894662 0.447438 0) (0.894456 0.447193 0) (0.894234 0.447106 0) (0.894361 0.447105 0) (0.894461 0.447308 0) (0.894453 0.447216 0) (0.894394 0.447176 0) (0.894348 0.447161 0) (0.894396 0.44722 0) (0.894432 0.44724 0) (0.894314 0.447106 0) (0.894192 0.447097 0) (0.89392 0.447179 0) (0.893214 0.4472 0) (0.891607 0.447808 0) (0.885862 0.449494 0) (0.874708 0.453608 0) (0.865024 0.458051 0) (0.863426 0.459102 0) (0.870406 0.456385 0) (0.881486 0.451111 0) (0.890935 0.442771 0) (0.89301 0.428153 0) (0.883789 0.405015 0) (0.859945 0.375211 0) (0.815917 0.346396 0) (0.748068 0.32833 0) (0.663308 0.327687 0) (0.581155 0.343299 0) (0.517591 0.371034 0) (0.477483 0.411169 0) (0.466309 0.460761 0) (0.489658 0.510282 0) (0.544573 0.548945 0) (0.620082 0.566366 0) (0.700466 0.558035 0) (0.770053 0.530587 0) (0.816793 0.495866 0) (0.834927 0.464147 0) (0.835996 0.442328 0) (0.838809 0.435413 0) (0.853178 0.43982 0) (0.878076 0.448286 0) (0.902817 0.455613 0) (0.919137 0.460948 0) (0.927545 0.46534 0) (0.930021 0.467865 0) (0.932002 0.468341 0) (0.929074 0.465745 0) (0.925716 0.462596 0) (0.920206 0.460686 0) (0.914219 0.45676 0) (0.910729 0.456226 0) (0.906986 0.452079 0) (0.904815 0.453629 0) (0.901365 0.449031 0) (0.90117 0.451541 0) (0.898876 0.448659 0) (0.898217 0.44909 0) (0.897456 0.448599 0) (0.896642 0.448178 0) (0.896345 0.448048 0) (0.895817 0.447844 0) (0.89559 0.447706 0) (0.895298 0.447598 0) (0.895132 0.447524 0) (0.894936 0.447431 0) (0.894852 0.447424 0) (0.894704 0.4473 0) (0.894765 0.447327 0) (0.894543 0.447293 0) (0.894638 0.447345 0) (0.894464 0.447185 0) (0.89447 0.447248 0) (0.894415 0.447438 0) (0.894322 0.446832 0) (0.894822 0.447582 0) (0.893437 0.447155 0) (0.89543 0.446911 0) (0.893771 0.447678 0) (0.894495 0.446854 0) (0.894109 0.447171 0) (0.894732 0.447627 0) (0.894874 0.446787 0) (0.892706 0.44709 0) (0.895964 0.448116 0) (0.894215 0.44547 0) (0.893196 0.449158 0) (0.896215 0.44648 0) (0.892704 0.445733 0) (0.89486 0.449593 0) (0.895688 0.445991 0) (0.892538 0.446951 0) (0.895359 0.447875 0) (0.894276 0.446335 0) (0.894291 0.448242 0) (0.894836 0.446774 0) (0.893781 0.446774 0) (0.894539 0.447587 0) (0.894659 0.447263 0) (0.894371 0.447205 0) (0.894286 0.446976 0) (0.894273 0.447204 0) (0.894545 0.4474 0) (0.89449 0.447212 0) (0.894285 0.44708 0) (0.894423 0.447202 0) (0.8944 0.447179 0) (0.894386 0.447199 0) (0.894431 0.447252 0) (0.894342 0.447073 0) (0.89418 0.447114 0) (0.893898 0.447224 0) (0.893051 0.447165 0) (0.891081 0.447888 0) (0.884434 0.449643 0) (0.87272 0.453524 0) (0.863791 0.457297 0) (0.863779 0.457539 0) (0.87223 0.454466 0) (0.884135 0.449308 0) (0.893296 0.440218 0) (0.893424 0.422978 0) (0.880377 0.395198 0) (0.849883 0.359057 0) (0.794696 0.323146 0) (0.711057 0.297135 0) (0.608734 0.288078 0) (0.511015 0.296313 0) (0.43413 0.321803 0) (0.383638 0.369748 0) (0.368872 0.437344 0) (0.394073 0.511469 0) (0.452911 0.573149 0) (0.534276 0.604019 0) (0.624224 0.59985 0) (0.709527 0.571602 0) (0.778274 0.533693 0) (0.819659 0.496012 0) (0.833093 0.465658 0) (0.837253 0.447301 0) (0.847674 0.442102 0) (0.866596 0.445879 0) (0.889205 0.451973 0) (0.90856 0.45757 0) (0.921406 0.461039 0) (0.929244 0.464232 0) (0.932154 0.465556 0) (0.931268 0.465639 0) (0.927655 0.462643 0) (0.922163 0.460857 0) (0.918768 0.456799 0) (0.91256 0.45728 0) (0.910577 0.452915 0) (0.905371 0.452809 0) (0.903746 0.451398 0) (0.902447 0.450044 0) (0.899632 0.450147 0) (0.899341 0.448659 0) (0.897996 0.449089 0) (0.89729 0.448172 0) (0.896744 0.448232 0) (0.896218 0.447904 0) (0.895863 0.447796 0) (0.895555 0.447653 0) (0.895302 0.447569 0) (0.895119 0.447488 0) (0.894945 0.447419 0) (0.894804 0.447394 0) (0.894793 0.447279 0) (0.894663 0.44745 0) (0.894668 0.447155 0) (0.894499 0.447352 0) (0.89442 0.447326 0) (0.894613 0.447008 0) (0.894343 0.447645 0) (0.894211 0.44664 0) (0.894737 0.447882 0) (0.894054 0.446639 0) (0.894732 0.447637 0) (0.893635 0.446883 0) (0.895484 0.447392 0) (0.893361 0.447133 0) (0.894882 0.447617 0) (0.894428 0.445922 0) (0.893564 0.44882 0) (0.896249 0.44679 0) (0.892349 0.445754 0) (0.894829 0.449338 0) (0.896033 0.445759 0) (0.892153 0.447564 0) (0.895858 0.448007 0) (0.893976 0.445392 0) (0.893823 0.448697 0) (0.895599 0.447171 0) (0.893626 0.446469 0) (0.894337 0.44757 0) (0.894536 0.446958 0) (0.894501 0.447638 0) (0.894556 0.447097 0) (0.894106 0.446908 0) (0.894351 0.447326 0) (0.894536 0.447222 0) (0.894484 0.447298 0) (0.894395 0.447149 0) (0.89422 0.447065 0) (0.894464 0.44733 0) (0.894484 0.447241 0) (0.894404 0.447091 0) (0.894381 0.447231 0) (0.894335 0.447078 0) (0.894167 0.447138 0) (0.893912 0.447204 0) (0.892862 0.44712 0) (0.890485 0.447971 0) (0.883005 0.44973 0) (0.870936 0.453212 0) (0.862878 0.456352 0) (0.864376 0.455974 0) (0.874126 0.452746 0) (0.886613 0.447841 0) (0.895373 0.437822 0) (0.893491 0.417569 0) (0.876954 0.384433 0) (0.840314 0.34064 0) (0.775031 0.295131 0) (0.67759 0.257467 0) (0.560342 0.23618 0) (0.449616 0.23539 0) (0.360414 0.261147 0) (0.299872 0.32332 0) (0.28042 0.416432 0) (0.304161 0.520015 0) (0.363432 0.605731 0) (0.449869 0.651167 0) (0.549761 0.652966 0) (0.64787 0.623589 0) (0.732184 0.578617 0) (0.793149 0.530209 0) (0.823201 0.49058 0) (0.831659 0.465373 0) (0.839011 0.453347 0) (0.855251 0.449312 0) (0.878328 0.449838 0) (0.899904 0.453809 0) (0.914584 0.45862 0) (0.924368 0.461968 0) (0.929615 0.462994 0) (0.931768 0.462913 0) (0.929432 0.462396 0) (0.925194 0.460079 0) (0.92163 0.459128 0) (0.915985 0.455339 0) (0.912128 0.455016 0) (0.907913 0.45202 0) (0.906525 0.452629 0) (0.902608 0.450074 0) (0.901754 0.450071 0) (0.900043 0.449509 0) (0.89874 0.448697 0) (0.89808 0.448635 0) (0.897148 0.448208 0) (0.896698 0.448032 0) (0.896169 0.447852 0) (0.895833 0.44772 0) (0.895509 0.447601 0) (0.895294 0.447539 0) (0.895067 0.447431 0) (0.894938 0.447447 0) (0.894824 0.447395 0) (0.894843 0.447336 0) (0.894578 0.447284 0) (0.894604 0.447321 0) (0.89454 0.447269 0) (0.894436 0.44711 0) (0.894479 0.447553 0) (0.894175 0.446912 0) (0.895044 0.447275 0) (0.893418 0.447504 0) (0.89509 0.446767 0) (0.894274 0.447594 0) (0.894144 0.447073 0) (0.894631 0.447001 0) (0.8937 0.447524 0) (0.895844 0.447266 0) (0.892954 0.44642 0) (0.894423 0.448653 0) (0.896017 0.445538 0) (0.892082 0.448017 0) (0.896217 0.448238 0) (0.893942 0.444959 0) (0.893246 0.448628 0) (0.896164 0.447354 0) (0.893396 0.44649 0) (0.89449 0.447865 0) (0.894591 0.446361 0) (0.894022 0.447765 0) (0.894896 0.447445 0) (0.894345 0.446783 0) (0.894073 0.447167 0) (0.894403 0.447184 0) (0.894636 0.447561 0) (0.894461 0.447104 0) (0.894255 0.446955 0) (0.894345 0.447247 0) (0.894401 0.447238 0) (0.894507 0.44728 0) (0.894408 0.447211 0) (0.894364 0.447088 0) (0.894422 0.447285 0) (0.894364 0.447084 0) (0.894138 0.447124 0) (0.893907 0.447151 0) (0.8926 0.447089 0) (0.88984 0.448022 0) (0.881619 0.449706 0) (0.869409 0.452694 0) (0.862217 0.455283 0) (0.865177 0.454473 0) (0.875971 0.451229 0) (0.888878 0.446672 0) (0.897182 0.435629 0) (0.893474 0.412052 0) (0.874206 0.373025 0) (0.832613 0.32036 0) (0.759685 0.262951 0) (0.65187 0.210635 0) (0.523427 0.174574 0) (0.401594 0.164399 0) (0.298647 0.192713 0) (0.224292 0.272416 0) (0.195541 0.392679 0) (0.213913 0.524156 0) (0.271683 0.633492 0) (0.363377 0.698978 0) (0.473798 0.716 0) (0.58434 0.691535 0) (0.682285 0.640557 0) (0.759536 0.578631 0) (0.808851 0.522496 0) (0.828278 0.48563 0) (0.833572 0.466541 0) (0.843178 0.457788 0) (0.863438 0.453548 0) (0.888384 0.452845 0) (0.908125 0.455852 0) (0.919097 0.459086 0) (0.925866 0.461093 0) (0.929669 0.461177 0) (0.930276 0.460927 0) (0.92834 0.459876 0) (0.923182 0.458853 0) (0.91963 0.45567 0) (0.91376 0.455004 0) (0.911482 0.453273 0) (0.907749 0.451645 0) (0.904448 0.45129 0) (0.903408 0.449851 0) (0.900822 0.449828 0) (0.89992 0.448815 0) (0.898652 0.448781 0) (0.897822 0.448285 0) (0.897122 0.448124 0) (0.896563 0.447906 0) (0.89611 0.447769 0) (0.89576 0.447647 0) (0.89545 0.447549 0) (0.895232 0.447494 0) (0.895049 0.447399 0) (0.894975 0.447437 0) (0.894805 0.447253 0) (0.894709 0.447435 0) (0.894592 0.447215 0) (0.894637 0.447231 0) (0.894306 0.447431 0) (0.894575 0.446923 0) (0.894522 0.447734 0) (0.894051 0.446614 0) (0.894838 0.447742 0) (0.893877 0.446891 0) (0.895078 0.44745 0) (0.893418 0.446989 0) (0.895262 0.447294 0) (0.894083 0.447156 0) (0.893877 0.447699 0) (0.895617 0.446196 0) (0.892648 0.44773 0) (0.895994 0.4481 0) (0.894068 0.445472 0) (0.892943 0.448354 0) (0.896595 0.447059 0) (0.892947 0.446624 0) (0.894619 0.448401 0) (0.895077 0.445943 0) (0.893356 0.447445 0) (0.895059 0.447826 0) (0.89451 0.446844 0) (0.894093 0.447207 0) (0.894433 0.446934 0) (0.894312 0.44746 0) (0.89458 0.447322 0) (0.894564 0.447076 0) (0.89412 0.447113 0) (0.894327 0.44719 0) (0.894538 0.447346 0) (0.894449 0.447213 0) (0.894445 0.4471 0) (0.894354 0.447176 0) (0.894288 0.447162 0) (0.894528 0.447334 0) (0.894398 0.447051 0) (0.894121 0.447102 0) (0.893847 0.44714 0) (0.892316 0.447112 0) (0.889129 0.448026 0) (0.880312 0.449558 0) (0.868107 0.452021 0) (0.861755 0.454143 0) (0.866124 0.453073 0) (0.877649 0.449897 0) (0.890937 0.44577 0) (0.898727 0.433724 0) (0.893693 0.406671 0) (0.87273 0.361473 0) (0.828159 0.299115 0) (0.751062 0.228151 0) (0.637591 0.159164 0) (0.502533 0.106562 0) (0.37134 0.0857463 0) (0.252992 0.115001 0) (0.16239 0.210029 0) (0.124235 0.354921 0) (0.140118 0.513209 0) (0.198604 0.648824 0) (0.291398 0.739311 0) (0.405166 0.77677 0) (0.523689 0.763686 0) (0.632282 0.714868 0) (0.720588 0.646136 0) (0.78385 0.572187 0) (0.819652 0.514845 0) (0.834165 0.482478 0) (0.840844 0.467991 0) (0.851596 0.461447 0) (0.87168 0.457126 0) (0.895663 0.455253 0) (0.91335 0.456018 0) (0.922399 0.458305 0) (0.926992 0.460162 0) (0.929525 0.460037 0) (0.929405 0.459297 0) (0.925384 0.457129 0) (0.921799 0.456658 0) (0.91732 0.4549 0) (0.913894 0.453444 0) (0.908992 0.45199 0) (0.907401 0.451157 0) (0.904206 0.450544 0) (0.902381 0.449446 0) (0.900886 0.449328 0) (0.899431 0.448671 0) (0.898516 0.448447 0) (0.897614 0.448159 0) (0.896981 0.447965 0) (0.896425 0.447798 0) (0.896008 0.447684 0) (0.895644 0.447565 0) (0.895379 0.447515 0) (0.895139 0.447409 0) (0.895081 0.447366 0) (0.894821 0.447368 0) (0.894797 0.447314 0) (0.894624 0.447291 0) (0.894542 0.447278 0) (0.894535 0.44731 0) (0.894448 0.447076 0) (0.894502 0.44747 0) (0.894045 0.447125 0) (0.89511 0.447066 0) (0.893691 0.447592 0) (0.89452 0.446733 0) (0.894844 0.44766 0) (0.893738 0.446972 0) (0.895054 0.447197 0) (0.893467 0.447178 0) (0.895318 0.447532 0) (0.894404 0.446598 0) (0.892928 0.447906 0) (0.896524 0.44674 0) (0.892922 0.446774 0) (0.894536 0.448603 0) (0.895413 0.44603 0) (0.892994 0.447107 0) (0.895289 0.4479 0) (0.894325 0.446827 0) (0.894086 0.447514 0) (0.894801 0.446768 0) (0.893956 0.447155 0) (0.894535 0.447591 0) (0.894703 0.447213 0) (0.894197 0.447033 0) (0.894358 0.447006 0) (0.894286 0.447305 0) (0.894534 0.447386 0) (0.894552 0.447192 0) (0.894249 0.447079 0) (0.894355 0.447179 0) (0.894504 0.447278 0) (0.894304 0.447135 0) (0.894585 0.447244 0) (0.894336 0.447053 0) (0.894125 0.447138 0) (0.893775 0.447114 0) (0.892069 0.44713 0) (0.888315 0.447976 0) (0.879159 0.449311 0) (0.866954 0.451247 0) (0.861491 0.452966 0) (0.867088 0.451784 0) (0.87913 0.448746 0) (0.892758 0.445072 0) (0.900048 0.432251 0) (0.894387 0.401741 0) (0.873005 0.350448 0) (0.827968 0.278319 0) (0.750881 0.192961 0) (0.63747 0.10655 0) (0.501696 0.0360175 0) (0.365198 0.0017794 0) (0.232832 0.0275678 0) (0.127142 0.133718 0) (0.0812228 0.3026 0) (0.0972725 0.489494 0) (0.157591 0.652076 0) (0.244793 0.76623 0) (0.35063 0.824234 0) (0.469621 0.827706 0) (0.587375 0.788947 0) (0.686131 0.722653 0) (0.757675 0.638308 0) (0.803321 0.559528 0) (0.828251 0.508213 0) (0.83985 0.48242 0) (0.848441 0.471003 0) (0.862155 0.4638 0) (0.881908 0.458287 0) (0.902171 0.456049 0) (0.91634 0.456613 0) (0.924199 0.458081 0) (0.928152 0.458776 0) (0.928583 0.458009 0) (0.92755 0.456822 0) (0.923522 0.456429 0) (0.920638 0.454632 0) (0.915528 0.453266 0) (0.911968 0.45252 0) (0.909188 0.451119 0) (0.905724 0.450583 0) (0.903995 0.449681 0) (0.901825 0.449341 0) (0.900436 0.448765 0) (0.899177 0.448501 0) (0.898201 0.448198 0) (0.897407 0.447997 0) (0.896775 0.447826 0) (0.896256 0.447692 0) (0.895858 0.447598 0) (0.895514 0.447491 0) (0.895249 0.447469 0) (0.895109 0.447373 0) (0.894958 0.4474 0) (0.894753 0.447243 0) (0.894708 0.447363 0) (0.89449 0.447274 0) (0.894683 0.447174 0) (0.894299 0.447444 0) (0.894454 0.446887 0) (0.894646 0.447718 0) (0.893954 0.446757 0) (0.894911 0.447526 0) (0.893855 0.446996 0) (0.894971 0.447452 0) (0.893798 0.447077 0) (0.894642 0.447023 0) (0.894849 0.447481 0) (0.893257 0.447297 0) (0.895714 0.446889 0) (0.89348 0.446973 0) (0.894442 0.448074 0) (0.89538 0.446579 0) (0.89286 0.44708 0) (0.895532 0.4476 0) (0.894243 0.44674 0) (0.893844 0.447864 0) (0.895108 0.446845 0) (0.89393 0.446813 0) (0.894442 0.447624 0) (0.894575 0.447265 0) (0.894363 0.447189 0) (0.894444 0.446976 0) (0.894156 0.447137 0) (0.894493 0.447445 0) (0.894521 0.447271 0) (0.894435 0.447062 0) (0.894382 0.447107 0) (0.894222 0.447191 0) (0.894423 0.4473 0) (0.894598 0.447282 0) (0.894266 0.447092 0) (0.894589 0.447182 0) (0.894296 0.447143 0) (0.89413 0.447162 0) (0.893727 0.447021 0) (0.891806 0.447126 0) (0.887448 0.447883 0) (0.878186 0.44896 0) (0.865968 0.450413 0) (0.8614 0.451749 0) (0.867948 0.450621 0) (0.88044 0.447747 0) (0.894279 0.444537 0) (0.901203 0.431339 0) (0.895721 0.397605 0) (0.875206 0.340826 0) (0.832559 0.259558 0) (0.759732 0.160168 0) (0.652422 0.0570044 0) (0.523265 -0.0321381 0) (0.388222 -0.0824122 0) (0.247124 -0.0643873 0) (0.128423 0.0495888 0) (0.0724853 0.247233 0) (0.0814854 0.468552 0) (0.137224 0.653404 0) (0.21594 0.78146 0) (0.309981 0.858232 0) (0.42268 0.884793 0) (0.545304 0.861479 0) (0.656559 0.800285 0) (0.739486 0.712249 0) (0.790785 0.617997 0) (0.819111 0.546925 0) (0.833952 0.505134 0) (0.84487 0.483457 0) (0.85819 0.471881 0) (0.873717 0.463879 0) (0.890709 0.459088 0) (0.907314 0.457035 0) (0.919209 0.456644 0) (0.925321 0.456895 0) (0.927604 0.456709 0) (0.927962 0.456752 0) (0.925866 0.455688 0) (0.922289 0.454018 0) (0.917865 0.453595 0) (0.91495 0.452149 0) (0.910621 0.451463 0) (0.907932 0.450332 0) (0.905295 0.449981 0) (0.903105 0.449216 0) (0.901411 0.448886 0) (0.899943 0.448494 0) (0.898814 0.448229 0) (0.897873 0.448005 0) (0.897134 0.447838 0) (0.896528 0.447694 0) (0.896055 0.4476 0) (0.895667 0.447502 0) (0.895367 0.447453 0) (0.895174 0.44741 0) (0.895002 0.447329 0) (0.894794 0.447338 0) (0.894698 0.447278 0) (0.894601 0.447278 0) (0.894512 0.447255 0) (0.894466 0.447308 0) (0.894442 0.447102 0) (0.89458 0.447374 0) (0.893944 0.447182 0) (0.894973 0.44708 0) (0.894135 0.447573 0) (0.89408 0.446687 0) (0.89501 0.44769 0) (0.893848 0.446969 0) (0.894808 0.447261 0) (0.89402 0.447131 0) (0.894422 0.447274 0) (0.895184 0.447214 0) (0.893021 0.447227 0) (0.895405 0.447191 0) (0.894392 0.446793 0) (0.893706 0.447891 0) (0.895152 0.447041 0) (0.89395 0.44674 0) (0.894466 0.447482 0) (0.894571 0.447193 0) (0.894228 0.447437 0) (0.894523 0.447024 0) (0.894341 0.446925 0) (0.8943 0.447401 0) (0.894457 0.44732 0) (0.894589 0.447213 0) (0.894294 0.44711 0) (0.894259 0.447047 0) (0.894468 0.447327 0) (0.894377 0.447305 0) (0.894512 0.447114 0) (0.89453 0.447161 0) (0.894148 0.447212 0) (0.894599 0.447202 0) (0.894364 0.447189 0) (0.894076 0.447128 0) (0.893662 0.446933 0) (0.891485 0.447147 0) (0.886614 0.447762 0) (0.877339 0.448503 0) (0.865211 0.449533 0) (0.861373 0.450549 0) (0.868676 0.449544 0) (0.881599 0.446898 0) (0.895403 0.444153 0) (0.902332 0.430979 0) (0.897631 0.394802 0) (0.879245 0.333382 0) (0.841814 0.244335 0) (0.776781 0.132803 0) (0.681324 0.014411 0) (0.565774 -0.0925268 0) (0.439567 -0.159207 0) (0.2985 -0.151935 0) (0.171399 -0.0341177 0) (0.103992 0.198297 0) (0.0953394 0.462774 0) (0.134688 0.6666 0) (0.203768 0.80039 0) (0.292235 0.8906 0) (0.39891 0.941301 0) (0.516361 0.937337 0) (0.629871 0.879598 0) (0.721519 0.788677 0) (0.780776 0.685735 0) (0.814099 0.598371 0) (0.832716 0.538908 0) (0.843334 0.501766 0) (0.852779 0.48183 0) (0.865508 0.471583 0) (0.882269 0.464432 0) (0.899377 0.459083 0) (0.912331 0.456514 0) (0.920518 0.455892 0) (0.925804 0.456031 0) (0.927511 0.455926 0) (0.927018 0.454552 0) (0.923671 0.454027 0) (0.92071 0.453173 0) (0.91678 0.452017 0) (0.912889 0.451284 0) (0.909875 0.450429 0) (0.906781 0.449847 0) (0.904481 0.449252 0) (0.902426 0.448858 0) (0.900791 0.448486 0) (0.89945 0.448218 0) (0.898371 0.447996 0) (0.8975 0.447824 0) (0.896808 0.447693 0) (0.896249 0.447577 0) (0.895814 0.447517 0) (0.895471 0.447418 0) (0.895264 0.447382 0) (0.894996 0.447323 0) (0.894861 0.447352 0) (0.894672 0.447248 0) (0.894672 0.447295 0) (0.8944 0.447273 0) (0.894645 0.447172 0) (0.894333 0.44742 0) (0.894361 0.446919 0) (0.894689 0.447584 0) (0.893994 0.446932 0) (0.894736 0.447408 0) (0.894167 0.447006 0) (0.894617 0.447418 0) (0.894172 0.447216 0) (0.894315 0.44686 0) (0.895003 0.447548 0) (0.893555 0.447233 0) (0.894891 0.44702 0) (0.894499 0.447045 0) (0.893904 0.447539 0) (0.895033 0.447181 0) (0.89386 0.447015 0) (0.894554 0.447246 0) (0.89468 0.447034 0) (0.894025 0.447609 0) (0.894572 0.447104 0) (0.894455 0.446897 0) (0.894224 0.447315 0) (0.894496 0.447241 0) (0.894468 0.447377 0) (0.894331 0.447129 0) (0.894462 0.446958 0) (0.894277 0.447294 0) (0.894376 0.447275 0) (0.894592 0.447268 0) (0.894291 0.447192 0) (0.894425 0.447073 0) (0.894524 0.447195 0) (0.894184 0.447316 0) (0.894617 0.447121 0) (0.894457 0.44716 0) (0.893951 0.447155 0) (0.893584 0.446887 0) (0.89114 0.447124 0) (0.8858 0.447626 0) (0.876556 0.447927 0) (0.864703 0.448642 0) (0.861294 0.449415 0) (0.869298 0.44847 0) (0.882557 0.44628 0) (0.896135 0.443804 0) (0.9035 0.431165 0) (0.899881 0.393914 0) (0.884893 0.32855 0) (0.854792 0.234129 0) (0.800454 0.113296 0) (0.721363 -0.0187591 0) (0.624108 -0.140715 0) (0.513078 -0.22168 0) (0.38331 -0.225303 0) (0.259951 -0.108331 0) (0.193847 0.156393 0) (0.172181 0.467524 0) (0.183527 0.693253 0) (0.23301 0.835525 0) (0.315152 0.932827 0) (0.417994 0.994728 0) (0.521441 1.00797 0) (0.618856 0.957728 0) (0.705201 0.865978 0) (0.769414 0.759557 0) (0.810155 0.659916 0) (0.835299 0.583356 0) (0.847242 0.52918 0) (0.851114 0.49662 0) (0.858819 0.48106 0) (0.874537 0.471342 0) (0.891566 0.463177 0) (0.90488 0.457912 0) (0.915294 0.455983 0) (0.922597 0.45568 0) (0.926392 0.454785 0) (0.926592 0.453769 0) (0.92532 0.453762 0) (0.922712 0.452401 0) (0.918641 0.451916 0) (0.915271 0.450938 0) (0.911645 0.450384 0) (0.908514 0.449657 0) (0.905834 0.449215 0) (0.903541 0.448769 0) (0.901668 0.448443 0) (0.900124 0.448171 0) (0.898882 0.447962 0) (0.897878 0.447792 0) (0.897083 0.447668 0) (0.896446 0.447561 0) (0.895948 0.447488 0) (0.895552 0.447426 0) (0.895311 0.447354 0) (0.895038 0.447343 0) (0.894858 0.447285 0) (0.894708 0.44731 0) (0.894606 0.447251 0) (0.89454 0.447265 0) (0.89449 0.447222 0) (0.89442 0.447298 0) (0.894384 0.44712 0) (0.894631 0.447353 0) (0.894024 0.447131 0) (0.894694 0.447144 0) (0.894419 0.447499 0) (0.894077 0.446818 0) (0.89474 0.447446 0) (0.894234 0.4472 0) (0.894427 0.44714 0) (0.894399 0.447205 0) (0.894247 0.447159 0) (0.894858 0.447264 0) (0.893866 0.447322 0) (0.894537 0.447035 0) (0.894711 0.446988 0) (0.894054 0.447619 0) (0.894537 0.447135 0) (0.894394 0.447025 0) (0.894319 0.447209 0) (0.894541 0.447127 0) (0.894303 0.447474 0) (0.894422 0.447162 0) (0.894475 0.447011 0) (0.89424 0.4472 0) (0.894471 0.44723 0) (0.894416 0.447355 0) (0.894387 0.447167 0) (0.894556 0.447083 0) (0.894232 0.447186 0) (0.894348 0.447244 0) (0.894581 0.447228 0) (0.894263 0.447281 0) (0.894581 0.44703 0) (0.894523 0.447181 0) (0.893841 0.447259 0) (0.893516 0.446793 0) (0.89081 0.447002 0) (0.884991 0.447503 0) (0.875835 0.447249 0) (0.864456 0.447759 0) (0.861146 0.448326 0) (0.869752 0.447418 0) (0.883287 0.445871 0) (0.896573 0.443399 0) (0.904547 0.43196 0) (0.902413 0.395119 0) (0.891522 0.326866 0) (0.870178 0.229998 0) (0.828947 0.102978 0) (0.768676 -0.0408437 0) (0.692489 -0.174116 0) (0.601736 -0.267379 0) (0.495591 -0.278988 0) (0.395415 -0.161215 0) (0.359449 0.123289 0) (0.354435 0.471173 0) (0.330889 0.720752 0) (0.333763 0.879971 0) (0.384114 0.984655 0) (0.469835 1.03971 0) (0.557878 1.05617 0) (0.633961 1.02289 0) (0.703628 0.941443 0) (0.766017 0.837299 0) (0.811577 0.73009 0) (0.838966 0.636089 0) (0.850868 0.564142 0) (0.85296 0.518508 0) (0.85795 0.49462 0) (0.869747 0.480036 0) (0.883616 0.468619 0) (0.897202 0.461049 0) (0.909514 0.457373 0) (0.918726 0.455517 0) (0.92378 0.453802 0) (0.925819 0.453567 0) (0.926225 0.452762 0) (0.923885 0.451954 0) (0.920732 0.451385 0) (0.917274 0.450659 0) (0.91354 0.450058 0) (0.910246 0.449485 0) (0.907244 0.44904 0) (0.904708 0.448646 0) (0.902575 0.448339 0) (0.900824 0.448089 0) (0.899401 0.447893 0) (0.89826 0.447742 0) (0.89735 0.447619 0) (0.896634 0.447536 0) (0.896075 0.447452 0) (0.895628 0.447416 0) (0.895328 0.447344 0) (0.895076 0.447326 0) (0.894854 0.447279 0) (0.894723 0.447294 0) (0.894574 0.447251 0) (0.894607 0.447262 0) (0.894368 0.447236 0) (0.894566 0.447204 0) (0.89437 0.447333 0) (0.894326 0.447029 0) (0.894615 0.447428 0) (0.89421 0.447069 0) (0.894438 0.447284 0) (0.894435 0.447106 0) (0.894457 0.447331 0) (0.894268 0.447215 0) (0.894345 0.447002 0) (0.894732 0.447317 0) (0.894078 0.447391 0) (0.894399 0.446978 0) (0.894618 0.447078 0) (0.894249 0.44749 0) (0.894481 0.447103 0) (0.894286 0.447206 0) (0.89442 0.447162 0) (0.894555 0.447024 0) (0.89425 0.4475 0) (0.894426 0.4472 0) (0.894449 0.447035 0) (0.89433 0.447182 0) (0.894437 0.447215 0) (0.894362 0.447288 0) (0.894489 0.44723 0) (0.894413 0.447177 0) (0.894261 0.447082 0) (0.894489 0.447199 0) (0.894354 0.447316 0) (0.894404 0.447211 0) (0.894607 0.447099 0) (0.894247 0.447315 0) (0.894482 0.447087 0) (0.894573 0.447156 0) (0.89379 0.447331 0) (0.893377 0.446687 0) (0.890534 0.446813 0) (0.884234 0.447397 0) (0.87519 0.446548 0) (0.86446 0.446828 0) (0.860989 0.447282 0) (0.869908 0.446468 0) (0.883861 0.445472 0) (0.896745 0.443084 0) (0.905322 0.433235 0) (0.905154 0.398219 0) (0.898288 0.329189 0) (0.886538 0.231981 0) (0.86001 0.102574 0) (0.819212 -0.0497067 0) (0.766631 -0.191275 0) (0.700902 -0.296709 0) (0.629302 -0.318478 0) (0.569783 -0.196664 0) (0.581535 0.0949623 0) (0.628408 0.453451 0) (0.58645 0.716831 0) (0.52161 0.907348 0) (0.501231 1.03484 0) (0.535993 1.08339 0) (0.604723 1.09262 0) (0.670439 1.07555 0) (0.72345 1.01 0) (0.777036 0.910203 0) (0.822623 0.802422 0) (0.848166 0.697687 0) (0.85727 0.607892 0) (0.858028 0.546396 0) (0.86036 0.511671 0) (0.867268 0.491356 0) (0.877752 0.476482 0) (0.890657 0.46566 0) (0.903309 0.459661 0) (0.913742 0.456009 0) (0.920346 0.453842 0) (0.924591 0.45305 0) (0.925937 0.451913 0) (0.924782 0.451461 0) (0.922451 0.450708 0) (0.919057 0.450212 0) (0.915443 0.449639 0) (0.911931 0.449191 0) (0.9087 0.44878 0) (0.905895 0.448449 0) (0.903509 0.448176 0) (0.901534 0.447961 0) (0.899925 0.447791 0) (0.898634 0.447662 0) (0.897609 0.44756 0) (0.896806 0.447484 0) (0.896181 0.447426 0) (0.895707 0.447377 0) (0.895358 0.447322 0) (0.895073 0.447297 0) (0.894862 0.447292 0) (0.894711 0.447254 0) (0.894605 0.447273 0) (0.894518 0.447227 0) (0.894485 0.447265 0) (0.894462 0.447194 0) (0.894411 0.447268 0) (0.89436 0.447156 0) (0.894558 0.447303 0) (0.894214 0.447128 0) (0.894508 0.447204 0) (0.894438 0.447334 0) (0.894264 0.44705 0) (0.894502 0.447216 0) (0.894416 0.447335 0) (0.89432 0.447111 0) (0.894418 0.447134 0) (0.894426 0.447306 0) (0.894486 0.447131 0) (0.894216 0.447316 0) (0.894446 0.447128 0) (0.894551 0.447002 0) (0.894267 0.447488 0) (0.894422 0.447184 0) (0.894405 0.447071 0) (0.894378 0.447231 0) (0.894448 0.447147 0) (0.894355 0.447255 0) (0.894452 0.447301 0) (0.89438 0.447151 0) (0.894367 0.447078 0) (0.894434 0.447243 0) (0.894337 0.447244 0) (0.894481 0.447201 0) (0.894387 0.447241 0) (0.894378 0.44718 0) (0.894583 0.447059 0) (0.894266 0.44739 0) (0.89442 0.447166 0) (0.894644 0.447012 0) (0.893765 0.447396 0) (0.893134 0.446655 0) (0.890298 0.446578 0) (0.883567 0.447234 0) (0.874587 0.44592 0) (0.864637 0.445779 0) (0.860918 0.446303 0) (0.869664 0.44569 0) (0.88426 0.444912 0) (0.896747 0.443027 0) (0.905715 0.434708 0) (0.907818 0.402902 0) (0.904654 0.336057 0) (0.902074 0.239646 0) (0.890921 0.112231 0) (0.868879 -0.0431451 0) (0.841686 -0.191023 0) (0.804934 -0.307052 0) (0.771774 -0.350244 0) (0.759423 -0.239816 0) (0.801899 0.0410251 0) (0.879161 0.383336 0) (0.864597 0.65074 0) (0.777465 0.873949 0) (0.686508 1.04349 0) (0.643083 1.12385 0) (0.670423 1.14549 0) (0.725654 1.13523 0) (0.766025 1.0763 0) (0.804414 0.975682 0) (0.842217 0.866058 0) (0.86315 0.758689 0) (0.869321 0.660006 0) (0.869225 0.583418 0) (0.867163 0.532976 0) (0.867424 0.504283 0) (0.874044 0.486238 0) (0.885282 0.472413 0) (0.897611 0.463182 0) (0.908187 0.457398 0) (0.916496 0.454579 0) (0.922373 0.452605 0) (0.924979 0.451447 0) (0.925228 0.450697 0) (0.923639 0.450056 0) (0.920687 0.449585 0) (0.917202 0.449132 0) (0.913585 0.448758 0) (0.910156 0.44843 0) (0.90709 0.448164 0) (0.904451 0.44795 0) (0.902244 0.447783 0) (0.900442 0.447654 0) (0.898994 0.447555 0) (0.897851 0.447482 0) (0.89696 0.447422 0) (0.896272 0.447383 0) (0.895757 0.447346 0) (0.895379 0.447296 0) (0.895066 0.447275 0) (0.894853 0.447276 0) (0.894704 0.447255 0) (0.894601 0.447248 0) (0.894499 0.447241 0) (0.894522 0.447242 0) (0.894381 0.447204 0) (0.894482 0.447241 0) (0.894408 0.447238 0) (0.894347 0.447128 0) (0.894473 0.447307 0) (0.894403 0.447174 0) (0.894327 0.447179 0) (0.894449 0.447188 0) (0.894448 0.447291 0) (0.894307 0.447145 0) (0.894409 0.447157 0) (0.894522 0.447218 0) (0.894267 0.447322 0) (0.894401 0.447099 0) (0.894488 0.447075 0) (0.894365 0.447414 0) (0.894413 0.447148 0) (0.894316 0.447147 0) (0.894461 0.447235 0) (0.894461 0.447107 0) (0.894308 0.44728 0) (0.894443 0.447293 0) (0.894391 0.447105 0) (0.894399 0.447146 0) (0.894401 0.447253 0) (0.894366 0.44718 0) (0.894457 0.447223 0) (0.894366 0.447269 0) (0.894458 0.44712 0) (0.894401 0.447167 0) (0.894302 0.447291 0) (0.894565 0.447069 0) (0.89436 0.447352 0) (0.894387 0.447221 0) (0.894673 0.446913 0) (0.89377 0.447445 0) (0.892858 0.446685 0) (0.890043 0.446275 0) (0.883042 0.446925 0) (0.873983 0.44547 0) (0.864911 0.444591 0) (0.861041 0.445346 0) (0.868998 0.44513 0) (0.8843 0.444195 0) (0.896772 0.443134 0) (0.905681 0.436266 0) (0.90996 0.408702 0) (0.910386 0.347093 0) (0.914992 0.253083 0) (0.918646 0.130692 0) (0.914325 -0.0208911 0) (0.910294 -0.173739 0) (0.902812 -0.295781 0) (0.901153 -0.36264 0) (0.927219 -0.291129 0) (0.979109 -0.0483306 0) (1.03601 0.268003 0) (1.05294 0.549667 0) (1.01355 0.779443 0) (0.927621 0.973233 0) (0.837329 1.11872 0) (0.7992 1.18955 0) (0.814066 1.19278 0) (0.83449 1.13984 0) (0.853131 1.04136 0) (0.874741 0.926458 0) (0.886414 0.812599 0) (0.887066 0.709649 0) (0.884023 0.625263 0) (0.878177 0.561551 0) (0.872874 0.521032 0) (0.873667 0.496907 0) (0.881276 0.480427 0) (0.892371 0.468166 0) (0.903014 0.460203 0) (0.91228 0.455608 0) (0.91934 0.452717 0) (0.923523 0.451114 0) (0.925071 0.449987 0) (0.924376 0.449336 0) (0.922057 0.448862 0) (0.918803 0.448495 0) (0.915173 0.448204 0) (0.911582 0.447973 0) (0.908276 0.447793 0) (0.905382 0.447656 0) (0.902941 0.447554 0) (0.900938 0.447478 0) (0.899333 0.447423 0) (0.898068 0.447382 0) (0.897091 0.447353 0) (0.896348 0.447327 0) (0.895782 0.447311 0) (0.895367 0.447266 0) (0.895062 0.447262 0) (0.894837 0.447252 0) (0.894688 0.447252 0) (0.894581 0.447239 0) (0.89453 0.447243 0) (0.894454 0.447205 0) (0.894448 0.44726 0) (0.894438 0.447181 0) (0.894406 0.447231 0) (0.894381 0.447208 0) (0.894472 0.447224 0) (0.894329 0.447152 0) (0.894437 0.447252 0) (0.894418 0.44722 0) (0.89436 0.447145 0) (0.894424 0.447188 0) (0.894414 0.447299 0) (0.894369 0.44715 0) (0.894395 0.447124 0) (0.89445 0.447296 0) (0.8944 0.447182 0) (0.894294 0.447192 0) (0.89449 0.447207 0) (0.894439 0.447129 0) (0.894323 0.44727 0) (0.894423 0.447257 0) (0.894382 0.447111 0) (0.894441 0.447194 0) (0.894374 0.44724 0) (0.894387 0.447154 0) (0.894433 0.447253 0) (0.894371 0.447235 0) (0.894459 0.447118 0) (0.894333 0.447235 0) (0.894398 0.447164 0) (0.894477 0.447184 0) (0.894312 0.44735 0) (0.894551 0.447046 0) (0.894424 0.447277 0) (0.89433 0.447304 0) (0.894622 0.446877 0) (0.893824 0.447378 0) (0.892594 0.446789 0) (0.889751 0.445944 0) (0.88269 0.446481 0) (0.873424 0.44517 0) (0.865215 0.443393 0) (0.861381 0.444266 0) (0.86811 0.444742 0) (0.883657 0.443556 0) (0.896869 0.443041 0) (0.905455 0.437966 0) (0.91108 0.415085 0) (0.915179 0.360999 0) (0.924492 0.272598 0) (0.940239 0.156172 0) (0.953768 0.0142467 0) (0.967703 -0.139494 0) (0.984914 -0.267475 0) (1.00641 -0.346147 0) (1.05199 -0.319849 0) (1.11543 -0.13392 0) (1.15894 0.150377 0) (1.16615 0.448022 0) (1.14846 0.687566 0) (1.12129 0.868435 0) (1.0646 1.03934 0) (0.988967 1.16307 0) (0.944465 1.2046 0) (0.930058 1.17838 0) (0.92649 1.09748 0) (0.926258 0.985352 0) (0.922553 0.865157 0) (0.913899 0.754854 0) (0.903428 0.66395 0) (0.892309 0.592889 0) (0.882461 0.542273 0) (0.877573 0.50999 0) (0.87993 0.489199 0) (0.888128 0.474267 0) (0.898312 0.46399 0) (0.907926 0.457342 0) (0.915917 0.453357 0) (0.921506 0.450935 0) (0.924341 0.449444 0) (0.924702 0.448583 0) (0.923106 0.44806 0) (0.920214 0.447738 0) (0.916657 0.447533 0) (0.912948 0.447406 0) (0.909426 0.447331 0) (0.906286 0.44729 0) (0.90361 0.447271 0) (0.901406 0.447263 0) (0.89964 0.447264 0) (0.898257 0.447265 0) (0.897196 0.447268 0) (0.896396 0.447269 0) (0.895802 0.447267 0) (0.89535 0.447234 0) (0.895038 0.447243 0) (0.894822 0.447239 0) (0.894667 0.447238 0) (0.894575 0.447237 0) (0.894509 0.447223 0) (0.894459 0.447231 0) (0.894459 0.447221 0) (0.894398 0.447193 0) (0.894428 0.447244 0) (0.894427 0.447195 0) (0.894374 0.447177 0) (0.894404 0.447248 0) (0.894448 0.447198 0) (0.894354 0.447163 0) (0.894404 0.447214 0) (0.894432 0.447256 0) (0.89437 0.447144 0) (0.894413 0.447185 0) (0.89442 0.447232 0) (0.894341 0.447229 0) (0.894443 0.447167 0) (0.894419 0.447157 0) (0.894373 0.447254 0) (0.894392 0.447221 0) (0.894387 0.447151 0) (0.894447 0.447222 0) (0.894381 0.447189 0) (0.894398 0.447173 0) (0.894376 0.447277 0) (0.894424 0.447171 0) (0.894438 0.447162 0) (0.894315 0.447238 0) (0.894462 0.447139 0) (0.894386 0.447269 0) (0.894364 0.447204 0) (0.894514 0.44713 0) (0.894325 0.447341 0) (0.894494 0.447067 0) (0.894464 0.447215 0) (0.894308 0.447394 0) (0.894564 0.446878 0) (0.893887 0.447222 0) (0.89234 0.446922 0) (0.889445 0.44567 0) (0.882473 0.445906 0) (0.873016 0.444896 0) (0.865453 0.4424 0) (0.861866 0.44294 0) (0.867307 0.44435 0) (0.882128 0.443318 0) (0.896714 0.442533 0) (0.905489 0.439569 0) (0.911106 0.421713 0) (0.91821 0.37615 0) (0.930968 0.297294 0) (0.95393 0.18832 0) (0.983927 0.0573549 0) (1.01445 -0.0888056 0) (1.04934 -0.222729 0) (1.09298 -0.30974 0) (1.15159 -0.314718 0) (1.22315 -0.188674 0) (1.2808 0.0501295 0) (1.29 0.338457 0) (1.2558 0.601028 0) (1.22982 0.788089 0) (1.21203 0.939682 0) (1.16268 1.07468 0) (1.09317 1.16033 0) (1.043 1.17796 0) (1.0172 1.12647 0) (0.996 1.02713 0) (0.972449 0.909859 0) (0.950111 0.796623 0) (0.92988 0.699852 0) (0.911575 0.622348 0) (0.895731 0.564498 0) (0.885136 0.525293 0) (0.881987 0.49925 0) (0.885963 0.481165 0) (0.894295 0.468447 0) (0.903748 0.459865 0) (0.912365 0.454443 0) (0.91904 0.451075 0) (0.923146 0.449024 0) (0.924621 0.447841 0) (0.923836 0.447194 0) (0.921404 0.446872 0) (0.918003 0.446744 0) (0.914228 0.446729 0) (0.910517 0.446774 0) (0.907142 0.446849 0) (0.904235 0.44693 0) (0.901832 0.447009 0) (0.899908 0.447076 0) (0.89841 0.447132 0) (0.89727 0.447173 0) (0.896419 0.447205 0) (0.8958 0.447224 0) (0.895324 0.447206 0) (0.895005 0.447218 0) (0.894795 0.44723 0) (0.894653 0.447227 0) (0.894558 0.447226 0) (0.894494 0.447222 0) (0.894472 0.447227 0) (0.894426 0.447194 0) (0.894426 0.447244 0) (0.894423 0.447181 0) (0.894397 0.447208 0) (0.8944 0.447229 0) (0.894439 0.447193 0) (0.894361 0.447161 0) (0.89441 0.447257 0) (0.894426 0.447206 0) (0.894383 0.447141 0) (0.894394 0.44721 0) (0.894402 0.447267 0) (0.894409 0.447165 0) (0.894401 0.447155 0) (0.894404 0.447231 0) (0.894383 0.447223 0) (0.894387 0.447191 0) (0.894441 0.4472 0) (0.8944 0.447164 0) (0.894369 0.447211 0) (0.894388 0.447251 0) (0.894447 0.447163 0) (0.894378 0.447202 0) (0.894385 0.44719 0) (0.894442 0.447184 0) (0.894331 0.447259 0) (0.894454 0.447146 0) (0.89442 0.447244 0) (0.894342 0.447217 0) (0.894502 0.447085 0) (0.894335 0.447344 0) (0.894452 0.447138 0) (0.894527 0.447146 0) (0.894302 0.44744 0) (0.894513 0.44693 0) (0.893916 0.447046 0) (0.892122 0.446983 0) (0.889144 0.445499 0) (0.882331 0.44523 0) (0.872824 0.444534 0) (0.86558 0.441707 0) (0.862401 0.44147 0) (0.86676 0.443659 0) (0.879939 0.443552 0) (0.895662 0.441998 0) (0.905847 0.440417 0) (0.910805 0.428165 0) (0.918743 0.391563 0) (0.934423 0.324458 0) (0.960681 0.226867 0) (1.00059 0.105954 0) (1.04838 -0.0282923 0) (1.09766 -0.159536 0) (1.15575 -0.255241 0) (1.2307 -0.282053 0) (1.31316 -0.206835 0) (1.38151 -0.0246492 0) (1.41307 0.226229 0) (1.39502 0.48607 0) (1.34932 0.698864 0) (1.31428 0.857777 0) (1.28735 0.983939 0) (1.23238 1.08596 0) (1.16252 1.14097 0) (1.1131 1.12381 0) (1.07416 1.04503 0) (1.03313 0.937292 0) (0.994865 0.827308 0) (0.962241 0.729738 0) (0.935359 0.648654 0) (0.913121 0.58554 0) (0.896258 0.54065 0) (0.887192 0.510079 0) (0.886379 0.488695 0) (0.891692 0.473447 0) (0.900061 0.462932 0) (0.908852 0.455985 0) (0.91634 0.451519 0) (0.921578 0.448748 0) (0.924167 0.44713 0) (0.924254 0.446275 0) (0.922365 0.445907 0) (0.91919 0.445838 0) (0.915401 0.445938 0) (0.911531 0.446121 0) (0.907934 0.446331 0) (0.904802 0.446535 0) (0.902204 0.446716 0) (0.900128 0.446866 0) (0.898521 0.446984 0) (0.89731 0.447074 0) (0.896418 0.447136 0) (0.895774 0.44718 0) (0.89528 0.447178 0) (0.894973 0.447201 0) (0.894763 0.447212 0) (0.894633 0.447221 0) (0.894543 0.447218 0) (0.894492 0.447219 0) (0.894452 0.447209 0) (0.894436 0.447221 0) (0.894429 0.447203 0) (0.894401 0.447197 0) (0.894414 0.447231 0) (0.894418 0.447179 0) (0.894382 0.447195 0) (0.894406 0.447239 0) (0.894426 0.44718 0) (0.894378 0.447168 0) (0.894393 0.447241 0) (0.894419 0.447226 0) (0.894402 0.447143 0) (0.894396 0.44719 0) (0.894389 0.447251 0) (0.894392 0.447213 0) (0.894436 0.447158 0) (0.89439 0.447177 0) (0.894377 0.447232 0) (0.894407 0.447224 0) (0.894409 0.447186 0) (0.894399 0.447193 0) (0.894413 0.447173 0) (0.894378 0.447223 0) (0.894387 0.447215 0) (0.894448 0.447182 0) (0.89436 0.44724 0) (0.894427 0.447141 0) (0.894409 0.447207 0) (0.894344 0.447256 0) (0.894502 0.447102 0) (0.894364 0.447331 0) (0.894431 0.447193 0) (0.894566 0.447079 0) (0.894277 0.447431 0) (0.89446 0.446993 0) (0.893935 0.446919 0) (0.891938 0.446956 0) (0.888859 0.445402 0) (0.882278 0.444574 0) (0.872829 0.444011 0) (0.865666 0.441236 0) (0.862904 0.440094 0) (0.866437 0.442484 0) (0.8776 0.443878 0) (0.893363 0.442103 0) (0.905732 0.44036 0) (0.911087 0.433301 0) (0.917614 0.406702 0) (0.933823 0.351652 0) (0.962049 0.268476 0) (1.00497 0.160495 0) (1.06364 0.0371601 0) (1.1287 -0.0852953 0) (1.1964 -0.183022 0) (1.27698 -0.22506 0) (1.36855 -0.185736 0) (1.44898 -0.0564108 0) (1.49908 0.14328 0) (1.51042 0.370173 0) (1.48219 0.5837 0) (1.43632 0.765274 0) (1.39764 0.904862 0) (1.34998 1.00681 0) (1.28047 1.0746 0) (1.21226 1.08784 0) (1.15314 1.0378 0) (1.09673 0.946761 0) (1.04473 0.844163 0) (0.999648 0.749017 0) (0.962694 0.668088 0) (0.933256 0.603132 0) (0.910412 0.554713 0) (0.895396 0.520505 0) (0.889285 0.496255 0) (0.890853 0.478761 0) (0.897302 0.46634 0) (0.905627 0.457857 0) (0.913584 0.452212 0) (0.919756 0.448606 0) (0.923392 0.446452 0) (0.924374 0.445308 0) (0.923088 0.444845 0) (0.9202 0.444816 0) (0.916442 0.445034 0) (0.912441 0.44537 0) (0.90864 0.445738 0) (0.905294 0.446087 0) (0.902509 0.44639 0) (0.900291 0.446637 0) (0.898585 0.446829 0) (0.897313 0.446969 0) (0.89639 0.447069 0) (0.895735 0.447134 0) (0.895228 0.447149 0) (0.89493 0.447186 0) (0.894735 0.4472 0) (0.894607 0.447211 0) (0.894532 0.447214 0) (0.89448 0.447211 0) (0.894449 0.447212 0) (0.894435 0.447208 0) (0.894415 0.447202 0) (0.894415 0.447218 0) (0.894414 0.447187 0) (0.894392 0.447205 0) (0.894411 0.447221 0) (0.894417 0.44718 0) (0.894375 0.447186 0) (0.894406 0.447245 0) (0.894422 0.447187 0) (0.894391 0.447152 0) (0.894383 0.447235 0) (0.894404 0.447245 0) (0.894422 0.44715 0) (0.894395 0.44717 0) (0.894391 0.447239 0) (0.894389 0.447224 0) (0.894407 0.447186 0) (0.894425 0.447176 0) (0.894384 0.447188 0) (0.894385 0.447226 0) (0.894408 0.447211 0) (0.894408 0.447197 0) (0.894397 0.447195 0) (0.894411 0.447175 0) (0.894374 0.447225 0) (0.894423 0.44718 0) (0.894408 0.447213 0) (0.894362 0.44726 0) (0.8945 0.44711 0) (0.894371 0.447274 0) (0.894408 0.447218 0) (0.89459 0.447084 0) (0.894263 0.44742 0) (0.894399 0.447031 0) (0.893976 0.446845 0) (0.891771 0.446873 0) (0.888598 0.445296 0) (0.882349 0.444016 0) (0.873013 0.443362 0) (0.865766 0.44083 0) (0.863309 0.438975 0) (0.866268 0.440952 0) (0.875458 0.443717 0) (0.890137 0.442938 0) (0.904157 0.44031 0) (0.911643 0.436196 0) (0.916754 0.419863 0) (0.929873 0.377904 0) (0.957498 0.30922 0) (1.00083 0.217925 0) (1.06142 0.108222 0) (1.13608 -0.00557945 0) (1.21561 -0.100755 0) (1.29933 -0.151874 0) (1.38997 -0.136544 0) (1.47613 -0.0472723 0) (1.54198 0.103084 0) (1.57683 0.285765 0) (1.5723 0.47663 0) (1.54002 0.661195 0) (1.49873 0.81708 0) (1.44344 0.927989 0) (1.37609 0.99724 0) (1.30506 1.02674 0) (1.23124 1.0046 0) (1.15894 0.935876 0) (1.09343 0.845953 0) (1.03766 0.756869 0) (0.991795 0.678743 0) (0.955072 0.614709 0) (0.926372 0.565499 0) (0.905845 0.5294 0) (0.894476 0.503155 0) (0.891845 0.483891 0) (0.895692 0.469866 0) (0.902954 0.459933 0) (0.910963 0.453099 0) (0.917824 0.448586 0) (0.922389 0.445805 0) (0.92424 0.444296 0) (0.923577 0.443689 0) (0.921016 0.443677 0) (0.917327 0.444017 0) (0.913222 0.444526 0) (0.909235 0.445078 0) (0.905689 0.445595 0) (0.902733 0.44604 0) (0.900386 0.446396 0) (0.898598 0.446669 0) (0.897279 0.446865 0) (0.896335 0.447003 0) (0.895678 0.447093 0) (0.89517 0.447126 0) (0.894884 0.447169 0) (0.894703 0.447192 0) (0.894587 0.447202 0) (0.894516 0.447207 0) (0.894471 0.447209 0) (0.894447 0.447207 0) (0.894424 0.447203 0) (0.894422 0.447211 0) (0.894411 0.447194 0) (0.894402 0.447207 0) (0.894412 0.447208 0) (0.894403 0.447184 0) (0.894389 0.447208 0) (0.894413 0.447222 0) (0.894409 0.447171 0) (0.894382 0.44719 0) (0.894397 0.447243 0) (0.894417 0.447197 0) (0.894407 0.447147 0) (0.894387 0.44722 0) (0.894379 0.447244 0) (0.894417 0.447185 0) (0.894426 0.447161 0) (0.894382 0.447203 0) (0.894387 0.447234 0) (0.894397 0.447202 0) (0.894419 0.447182 0) (0.8944 0.447201 0) (0.894396 0.44719 0) (0.894399 0.447201 0) (0.894393 0.447211 0) (0.894398 0.447218 0) (0.894425 0.447184 0) (0.894405 0.447194 0) (0.894372 0.447221 0) (0.894486 0.447149 0) (0.894367 0.447277 0) (0.894403 0.447226 0) (0.894629 0.447112 0) (0.894258 0.447392 0) (0.894309 0.44703 0) (0.894032 0.446794 0) (0.891671 0.446792 0) (0.888324 0.445169 0) (0.882524 0.443533 0) (0.873428 0.442672 0) (0.865901 0.440405 0) (0.863577 0.438102 0) (0.866201 0.439327 0) (0.873656 0.442859 0) (0.886502 0.443752 0) (0.90096 0.441124 0) (0.911164 0.437707 0) (0.916738 0.428897 0) (0.925608 0.401072 0) (0.948165 0.34784 0) (0.988661 0.273398 0) (1.04696 0.181175 0) (1.12168 0.0791051 0) (1.20685 -0.0126174 0) (1.29607 -0.0698577 0) (1.38717 -0.0730742 0) (1.47498 -0.0149851 0) (1.54941 0.093891 0) (1.59804 0.23365 0) (1.61161 0.392654 0) (1.59892 0.562846 0) (1.56854 0.719969 0) (1.51376 0.838066 0) (1.44484 0.914583 0) (1.37404 0.954757 0) (1.29692 0.951991 0) (1.21486 0.905284 0) (1.13763 0.831717 0) (1.07195 0.752483 0) (1.01877 0.680069 0) (0.976264 0.619285 0) (0.942587 0.57146 0) (0.917294 0.535432 0) (0.90118 0.508539 0) (0.894383 0.488302 0) (0.895269 0.473145 0) (0.900986 0.462018 0) (0.908637 0.454074 0) (0.915908 0.448637 0) (0.921243 0.445171 0) (0.923892 0.443234 0) (0.923844 0.442438 0) (0.921629 0.442428 0) (0.918034 0.442897 0) (0.91385 0.4436 0) (0.909697 0.44436 0) (0.905973 0.44507 0) (0.902864 0.445673 0) (0.90041 0.446151 0) (0.898556 0.446509 0) (0.897208 0.446767 0) (0.896256 0.446941 0) (0.895605 0.447057 0) (0.895104 0.447108 0) (0.894838 0.447156 0) (0.894669 0.447183 0) (0.894567 0.447197 0) (0.894501 0.447201 0) (0.894464 0.447205 0) (0.894439 0.447202 0) (0.894426 0.447206 0) (0.894417 0.447199 0) (0.894407 0.447205 0) (0.894411 0.447202 0) (0.894403 0.447195 0) (0.894397 0.447207 0) (0.894412 0.447204 0) (0.894399 0.447182 0) (0.894388 0.447211 0) (0.894409 0.447221 0) (0.894414 0.447173 0) (0.894388 0.447183 0) (0.894381 0.447242 0) (0.894412 0.447209 0) (0.894427 0.447154 0) (0.894387 0.447197 0) (0.894372 0.447239 0) (0.894403 0.4472 0) (0.894427 0.447182 0) (0.8944 0.447197 0) (0.894394 0.447192 0) (0.894381 0.447215 0) (0.894402 0.44721 0) (0.894423 0.447196 0) (0.894389 0.447193 0) (0.894402 0.447195 0) (0.894413 0.447196 0) (0.894396 0.447212 0) (0.894381 0.447216 0) (0.894487 0.447177 0) (0.894383 0.447271 0) (0.894386 0.447195 0) (0.894653 0.447126 0) (0.894281 0.447383 0) (0.894196 0.447038 0) (0.894051 0.446739 0) (0.891701 0.44671 0) (0.888061 0.445094 0) (0.882707 0.443079 0) (0.87412 0.441966 0) (0.8662 0.439965 0) (0.86364 0.437409 0) (0.866114 0.437779 0) (0.872316 0.441422 0) (0.882883 0.443841 0) (0.896564 0.442502 0) (0.908859 0.43938 0) (0.916421 0.434145 0) (0.922721 0.418083 0) (0.938212 0.381888 0) (0.970882 0.324685 0) (1.02239 0.249988 0) (1.09157 0.16353 0) (1.17436 0.0792472 0) (1.26462 0.01824 0) (1.3574 -0.000754177 0) (1.44745 0.0297193 0) (1.52592 0.102488 0) (1.58058 0.205394 0) (1.60615 0.332869 0) (1.61257 0.478421 0) (1.59908 0.622516 0) (1.55449 0.740206 0) (1.49037 0.823307 0) (1.42 0.87371 0) (1.34207 0.885369 0) (1.257 0.857447 0) (1.17337 0.802141 0) (1.10027 0.736217 0) (1.04109 0.672361 0) (0.994294 0.616987 0) (0.957125 0.57232 0) (0.928305 0.537907 0) (0.908373 0.511671 0) (0.897878 0.491445 0) (0.895817 0.475806 0) (0.899737 0.463871 0) (0.906712 0.454998 0) (0.914122 0.448682 0) (0.920038 0.444508 0) (0.92338 0.442104 0) (0.923905 0.441089 0) (0.922029 0.441074 0) (0.918541 0.441686 0) (0.914298 0.442606 0) (0.910004 0.443602 0) (0.906126 0.444526 0) (0.902892 0.445302 0) (0.900355 0.44591 0) (0.898459 0.446359 0) (0.897099 0.446675 0) (0.896155 0.446888 0) (0.89552 0.447023 0) (0.895035 0.447092 0) (0.894789 0.447147 0) (0.894638 0.447176 0) (0.894544 0.447191 0) (0.89449 0.447198 0) (0.894454 0.4472 0) (0.894435 0.447203 0) (0.894422 0.4472 0) (0.894413 0.447202 0) (0.894412 0.447202 0) (0.894403 0.447197 0) (0.894404 0.447206 0) (0.894407 0.447198 0) (0.894397 0.447194 0) (0.894397 0.447209 0) (0.894413 0.447204 0) (0.894399 0.447177 0) (0.894384 0.447214 0) (0.894406 0.44722 0) (0.894422 0.44718 0) (0.894393 0.447176 0) (0.894372 0.447231 0) (0.894404 0.447218 0) (0.894431 0.447177 0) (0.894401 0.447181 0) (0.894374 0.447214 0) (0.894391 0.447215 0) (0.894418 0.447194 0) (0.894403 0.4472 0) (0.894402 0.447191 0) (0.894405 0.447196 0) (0.894379 0.447209 0) (0.894411 0.447198 0) (0.894407 0.447206 0) (0.894411 0.447213 0) (0.894396 0.447201 0) (0.894458 0.447167 0) (0.894414 0.44727 0) (0.894363 0.447211 0) (0.894632 0.447133 0) (0.894367 0.447368 0) (0.894088 0.447077 0) (0.893978 0.446665 0) (0.89187 0.446576 0) (0.88794 0.44511 0) (0.882797 0.442724 0) (0.874996 0.441203 0) (0.866887 0.439466 0) (0.863561 0.436926 0) (0.865797 0.436417 0) (0.871343 0.439528 0) (0.879751 0.443016 0) (0.891635 0.443547 0) (0.904658 0.441528 0) (0.914457 0.43784 0) (0.920699 0.428773 0) (0.930576 0.407283 0) (0.953023 0.368383 0) (0.992793 0.31158 0) (1.05109 0.241365 0) (1.12592 0.16841 0) (1.2118 0.108752 0) (1.30266 0.0782531 0) (1.3922 0.0850062 0) (1.47101 0.127321 0) (1.52832 0.199518 0) (1.5642 0.297041 0) (1.58678 0.414292 0) (1.58851 0.537061 0) (1.55865 0.645418 0) (1.50587 0.729707 0) (1.4409 0.786182 0) (1.36523 0.808533 0) (1.28134 0.796394 0) (1.19691 0.759021 0) (1.12081 0.708839 0) (1.05798 0.656282 0) (1.00814 0.608273 0) (0.968585 0.568277 0) (0.937476 0.536754 0) (0.914896 0.512258 0) (0.901526 0.492951 0) (0.896907 0.477525 0) (0.899059 0.465252 0) (0.905191 0.455712 0) (0.912528 0.448629 0) (0.918844 0.443773 0) (0.922753 0.440891 0) (0.923776 0.439649 0) (0.92221 0.439633 0) (0.918828 0.440406 0) (0.914542 0.441571 0) (0.910136 0.442827 0) (0.906136 0.443982 0) (0.902809 0.444942 0) (0.90022 0.445684 0) (0.898307 0.446224 0) (0.896956 0.446597 0) (0.896034 0.446843 0) (0.895426 0.446999 0) (0.894964 0.447082 0) (0.894741 0.44714 0) (0.894607 0.447172 0) (0.894525 0.447187 0) (0.894478 0.447195 0) (0.894447 0.447199 0) (0.894431 0.447199 0) (0.894418 0.447201 0) (0.894414 0.4472 0) (0.894406 0.4472 0) (0.894407 0.447201 0) (0.894403 0.447199 0) (0.894399 0.447197 0) (0.894403 0.447208 0) (0.894404 0.447194 0) (0.894394 0.447195 0) (0.894397 0.447211 0) (0.894412 0.447205 0) (0.894403 0.447177 0) (0.89438 0.447204 0) (0.894398 0.44723 0) (0.89443 0.447184 0) (0.894399 0.447175 0) (0.89437 0.447216 0) (0.894402 0.447217 0) (0.894415 0.44719 0) (0.894407 0.447197 0) (0.894401 0.447193 0) (0.894382 0.447201 0) (0.8944 0.447204 0) (0.89441 0.447208 0) (0.894396 0.447202 0) (0.89442 0.447188 0) (0.894392 0.447204 0) (0.89441 0.447198 0) (0.894407 0.447218 0) (0.894417 0.447189 0) (0.894468 0.447247 0) (0.894371 0.447245 0) (0.894551 0.447132 0) (0.894486 0.447302 0) (0.894042 0.447153 0) (0.893791 0.446639 0) (0.892095 0.446368 0) (0.888094 0.445147 0) (0.882835 0.442597 0) (0.875853 0.440448 0) (0.86801 0.438781 0) (0.863685 0.436611 0) (0.865184 0.435403 0) (0.87027 0.437434 0) (0.877333 0.441245 0) (0.887138 0.443598 0) (0.899086 0.443468 0) (0.910057 0.441213 0) (0.918008 0.435625 0) (0.925629 0.423474 0) (0.939305 0.400329 0) (0.965572 0.362152 0) (1.00876 0.309234 0) (1.06969 0.249276 0) (1.14498 0.194919 0) (1.22866 0.158781 0) (1.31345 0.149334 0) (1.38932 0.169244 0) (1.44865 0.215673 0) (1.49445 0.284409 0) (1.52892 0.372634 0) (1.5414 0.470789 0) (1.52499 0.563548 0) (1.48616 0.64158 0) (1.43134 0.698686 0) (1.36285 0.728121 0) (1.28477 0.728992 0) (1.20452 0.707651 0) (1.13028 0.673 0) (1.06739 0.633033 0) (1.01671 0.59397 0) (0.976177 0.559879 0) (0.943934 0.532225 0) (0.919837 0.510324 0) (0.90457 0.492684 0) (0.898035 0.478107 0) (0.898698 0.465974 0) (0.904006 0.456071 0) (0.911154 0.448378 0) (0.917714 0.442906 0) (0.92205 0.439571 0) (0.923474 0.438117 0) (0.922166 0.438125 0) (0.918878 0.439088 0) (0.914564 0.440525 0) (0.910075 0.442062 0) (0.905992 0.443462 0) (0.902611 0.444611 0) (0.900005 0.445486 0) (0.898104 0.446111 0) (0.896783 0.446536 0) (0.895898 0.44681 0) (0.895325 0.446981 0) (0.894894 0.447078 0) (0.894696 0.447135 0) (0.894578 0.447169 0) (0.894508 0.447185 0) (0.894466 0.447193 0) (0.894442 0.447197 0) (0.894426 0.447198 0) (0.894416 0.447199 0) (0.894411 0.4472 0) (0.894406 0.4472 0) (0.894404 0.447198 0) (0.894402 0.447203 0) (0.894402 0.447199 0) (0.894401 0.447199 0) (0.894397 0.447198 0) (0.894405 0.44721 0) (0.894404 0.44719 0) (0.894392 0.447194 0) (0.894395 0.447215 0) (0.894416 0.447205 0) (0.894404 0.447177 0) (0.894379 0.4472 0) (0.894396 0.447224 0) (0.894419 0.447196 0) (0.894408 0.447187 0) (0.894385 0.447199 0) (0.894394 0.447205 0) (0.894402 0.447207 0) (0.894404 0.447202 0) (0.894409 0.447191 0) (0.894397 0.447204 0) (0.894394 0.447198 0) (0.894412 0.447194 0) (0.894388 0.447219 0) (0.894419 0.447191 0) (0.894426 0.447223 0) (0.894387 0.447206 0) (0.89449 0.447196 0) (0.894412 0.447273 0) (0.894451 0.447178 0) (0.894564 0.447207 0) (0.894104 0.447203 0) (0.893562 0.446719 0) (0.89224 0.446136 0) (0.88852 0.445095 0) (0.883051 0.442701 0) (0.876568 0.439903 0) (0.869326 0.437903 0) (0.864359 0.436181 0) (0.864564 0.434787 0) (0.8688 0.43561 0) (0.87523 0.438778 0) (0.88354 0.442293 0) (0.893441 0.444265 0) (0.903798 0.443942 0) (0.913182 0.440726 0) (0.921328 0.433732 0) (0.930444 0.420794 0) (0.945608 0.398014 0) (0.972907 0.362665 0) (1.01605 0.317738 0) (1.07473 0.272115 0) (1.14507 0.236251 0) (1.2199 0.218347 0) (1.28999 0.221965 0) (1.35078 0.245836 0) (1.4032 0.28935 0) (1.44348 0.352057 0) (1.46259 0.425748 0) (1.45794 0.499216 0) (1.43344 0.565658 0) (1.39171 0.618697 0) (1.33475 0.651536 0) (1.26699 0.662119 0) (1.19525 0.654056 0) (1.12689 0.633182 0) (1.06739 0.605262 0) (1.01839 0.575533 0) (0.978671 0.548096 0) (0.946722 0.525015 0) (0.922381 0.506282 0) (0.906328 0.490814 0) (0.89871 0.477551 0) (0.898376 0.46595 0) (0.90305 0.455968 0) (0.909995 0.447843 0) (0.916686 0.441856 0) (0.921312 0.43813 0) (0.923023 0.436512 0) (0.921901 0.436583 0) (0.918681 0.437772 0) (0.91435 0.439508 0) (0.909812 0.441343 0) (0.905689 0.442993 0) (0.902299 0.444327 0) (0.899714 0.445326 0) (0.897856 0.446027 0) (0.896585 0.446494 0) (0.895751 0.446791 0) (0.895221 0.446971 0) (0.894826 0.447076 0) (0.894653 0.447135 0) (0.894552 0.447166 0) (0.894492 0.447184 0) (0.894457 0.447191 0) (0.894435 0.447196 0) (0.894423 0.447197 0) (0.894413 0.447199 0) (0.894409 0.447199 0) (0.894405 0.4472 0) (0.894403 0.447199 0) (0.894403 0.447202 0) (0.8944 0.447196 0) (0.894401 0.447205 0) (0.894403 0.447198 0) (0.894399 0.447196 0) (0.894395 0.447203 0) (0.894406 0.447208 0) (0.894405 0.447191 0) (0.894389 0.447191 0) (0.894395 0.447213 0) (0.894412 0.447211 0) (0.894409 0.447184 0) (0.894384 0.447191 0) (0.894394 0.447213 0) (0.894406 0.447207 0) (0.89441 0.447192 0) (0.894396 0.447201 0) (0.894398 0.447197 0) (0.894399 0.447196 0) (0.894396 0.447211 0) (0.894406 0.447198 0) (0.894411 0.447202 0) (0.894398 0.447211 0) (0.894413 0.447181 0) (0.894425 0.447218 0) (0.894384 0.447228 0) (0.894476 0.447186 0) (0.894468 0.447269 0) (0.894397 0.447241 0) (0.894549 0.447138 0) (0.894226 0.447171 0) (0.893443 0.446847 0) (0.892246 0.446019 0) (0.889058 0.444942 0) (0.883655 0.442862 0) (0.877268 0.439745 0) (0.87057 0.43711 0) (0.8655 0.435393 0) (0.864362 0.434231 0) (0.867253 0.434347 0) (0.872998 0.43636 0) (0.880361 0.439821 0) (0.88853 0.443204 0) (0.897382 0.445008 0) (0.906622 0.444388 0) (0.915368 0.440949 0) (0.923372 0.433771 0) (0.932729 0.420606 0) (0.948108 0.399112 0) (0.974492 0.369491 0) (1.01449 0.336112 0) (1.06698 0.305701 0) (1.12663 0.284393 0) (1.18693 0.276037 0) (1.24434 0.283131 0) (1.29631 0.308222 0) (1.33699 0.349672 0) (1.36068 0.400272 0) (1.36651 0.454049 0) (1.35539 0.507139 0) (1.32763 0.553372 0) (1.28472 0.585865 0) (1.23042 0.601908 0) (1.17037 0.603328 0) (1.11113 0.593537 0) (1.05801 0.576169 0) (1.01315 0.555204 0) (0.976048 0.534392 0) (0.945756 0.516073 0) (0.922321 0.500741 0) (0.906504 0.487688 0) (0.898641 0.475994 0) (0.897881 0.465179 0) (0.902215 0.455339 0) (0.909031 0.446954 0) (0.915785 0.44058 0) (0.920572 0.436562 0) (0.922443 0.434858 0) (0.921423 0.435053 0) (0.918236 0.43651 0) (0.913897 0.438569 0) (0.909346 0.440706 0) (0.905233 0.442599 0) (0.901881 0.444105 0) (0.899357 0.445212 0) (0.897571 0.445975 0) (0.896371 0.446473 0) (0.895598 0.446784 0) (0.895117 0.446969 0) (0.894762 0.447079 0) (0.894614 0.447136 0) (0.894528 0.447166 0) (0.894478 0.447182 0) (0.894448 0.447191 0) (0.89443 0.447195 0) (0.894418 0.447197 0) (0.894411 0.447198 0) (0.894407 0.447199 0) (0.894404 0.4472 0) (0.894403 0.447198 0) (0.894401 0.447202 0) (0.894401 0.447198 0) (0.894401 0.447202 0) (0.894399 0.447195 0) (0.894401 0.447207 0) (0.894403 0.447196 0) (0.894397 0.447193 0) (0.894396 0.447207 0) (0.894405 0.447207 0) (0.894407 0.447193 0) (0.894391 0.44719 0) (0.894394 0.447207 0) (0.894407 0.447208 0) (0.894408 0.4472 0) (0.894396 0.44719 0) (0.894395 0.447198 0) (0.894396 0.447206 0) (0.894405 0.447203 0) (0.894404 0.447202 0) (0.894401 0.447201 0) (0.894403 0.447189 0) (0.894402 0.447206 0) (0.894403 0.447205 0) (0.894411 0.447202 0) (0.894424 0.447215 0) (0.894403 0.447226 0) (0.89445 0.447203 0) (0.894501 0.447238 0) (0.89441 0.447266 0) (0.894473 0.447159 0) (0.894309 0.447101 0) (0.893493 0.446901 0) (0.892217 0.446087 0) (0.889524 0.444831 0) (0.884591 0.4429 0) (0.87825 0.439908 0) (0.871775 0.436747 0) (0.866752 0.434455 0) (0.864672 0.433347 0) (0.866158 0.433332 0) (0.870779 0.434493 0) (0.877142 0.437078 0) (0.884145 0.44061 0) (0.891707 0.443848 0) (0.899843 0.44566 0) (0.907944 0.445316 0) (0.91551 0.442036 0) (0.923141 0.434746 0) (0.932878 0.422418 0) (0.948098 0.404907 0) (0.972251 0.383334 0) (1.00629 0.360162 0) (1.04789 0.339562 0) (1.0939 0.326612 0) (1.14165 0.325572 0) (1.18715 0.337734 0) (1.22484 0.36059 0) (1.25107 0.391292 0) (1.2645 0.428486 0) (1.26401 0.469052 0) (1.24882 0.506623 0) (1.21973 0.535203 0) (1.17942 0.552618 0) (1.13236 0.559621 0) (1.08421 0.557648 0) (1.03972 0.548522 0) (1.00111 0.534988 0) (0.968368 0.520196 0) (0.94111 0.50644 0) (0.919714 0.494469 0) (0.905105 0.483831 0) (0.897796 0.473736 0) (0.897182 0.463779 0) (0.901498 0.454191 0) (0.908285 0.445679 0) (0.915049 0.43906 0) (0.919866 0.434878 0) (0.921761 0.433194 0) (0.920744 0.433589 0) (0.917547 0.435357 0) (0.913209 0.437752 0) (0.908685 0.440186 0) (0.904632 0.442302 0) (0.901368 0.443956 0) (0.898944 0.445149 0) (0.897259 0.445957 0) (0.896146 0.446473 0) (0.895444 0.446789 0) (0.895016 0.446974 0) (0.894704 0.447085 0) (0.894579 0.447138 0) (0.894507 0.447167 0) (0.894465 0.447182 0) (0.89444 0.44719 0) (0.894425 0.447194 0) (0.894415 0.447197 0) (0.89441 0.447198 0) (0.894405 0.447199 0) (0.894404 0.447199 0) (0.894401 0.4472 0) (0.894402 0.4472 0) (0.894399 0.447199 0) (0.894402 0.4472 0) (0.894399 0.4472 0) (0.894402 0.4472 0) (0.894397 0.447198 0) (0.8944 0.447205 0) (0.894404 0.447201 0) (0.894397 0.447187 0) (0.894393 0.447206 0) (0.894405 0.447213 0) (0.894409 0.447194 0) (0.89439 0.447188 0) (0.894397 0.447204 0) (0.894403 0.447205 0) (0.894402 0.447205 0) (0.8944 0.447193 0) (0.8944 0.447198 0) (0.894401 0.447204 0) (0.894401 0.4472 0) (0.894401 0.447198 0) (0.894407 0.447209 0) (0.894405 0.447197 0) (0.894413 0.447209 0) (0.894415 0.44721 0) (0.894421 0.447212 0) (0.894437 0.447235 0) (0.894498 0.447231 0) (0.894456 0.447247 0) (0.894425 0.447215 0) (0.8943 0.447075 0) (0.893628 0.44686 0) (0.892317 0.446226 0) (0.889901 0.444911 0) (0.885622 0.442893 0) (0.879632 0.440144 0) (0.873221 0.436838 0) (0.868043 0.43386 0) (0.865293 0.432271 0) (0.865634 0.432057 0) (0.868933 0.432844 0) (0.87409 0.434718 0) (0.880095 0.437667 0) (0.886647 0.441119 0) (0.893537 0.4442 0) (0.900434 0.446086 0) (0.907247 0.445998 0) (0.914192 0.443221 0) (0.921771 0.437305 0) (0.931442 0.427903 0) (0.945432 0.414564 0) (0.965135 0.39841 0) (0.990805 0.383009 0) (1.02224 0.372057 0) (1.05777 0.367374 0) (1.09333 0.369345 0) (1.12482 0.378606 0) (1.14989 0.396133 0) (1.16657 0.421209 0) (1.1726 0.450123 0) (1.16656 0.477649 0) (1.1487 0.500019 0) (1.12083 0.515989 0) (1.08642 0.525438 0) (1.04997 0.528228 0) (1.01528 0.524776 0) (0.984188 0.51681 0) (0.956978 0.506871 0) (0.933742 0.497031 0) (0.915215 0.488075 0) (0.902525 0.479642 0) (0.896372 0.471011 0) (0.896366 0.461851 0) (0.900944 0.452541 0) (0.907793 0.444008 0) (0.914506 0.437293 0) (0.919218 0.433107 0) (0.920993 0.431574 0) (0.919876 0.432256 0) (0.916629 0.434374 0) (0.9123 0.437107 0) (0.907845 0.439814 0) (0.903906 0.442121 0) (0.900778 0.44389 0) (0.898492 0.445142 0) (0.89693 0.445972 0) (0.895919 0.446493 0) (0.895294 0.446805 0) (0.894921 0.446985 0) (0.894651 0.447092 0) (0.894548 0.447143 0) (0.894489 0.447169 0) (0.894454 0.447183 0) (0.894433 0.44719 0) (0.894421 0.447195 0) (0.894413 0.447196 0) (0.894407 0.447199 0) (0.894405 0.447198 0) (0.894403 0.447201 0) (0.894401 0.447198 0) (0.894402 0.447202 0) (0.894399 0.447198 0) (0.894401 0.447201 0) (0.8944 0.447199 0) (0.894399 0.447199 0) (0.894402 0.447203 0) (0.894398 0.447195 0) (0.8944 0.447202 0) (0.894399 0.447203 0) (0.894404 0.447204 0) (0.8944 0.447185 0) (0.894392 0.447203 0) (0.894402 0.447211 0) (0.894408 0.447199 0) (0.894397 0.447195 0) (0.894399 0.447201 0) (0.8944 0.447192 0) (0.894396 0.447206 0) (0.894406 0.447209 0) (0.894406 0.447202 0) (0.894404 0.447196 0) (0.894403 0.447195 0) (0.894402 0.4472 0) (0.894412 0.447211 0) (0.894412 0.447215 0) (0.894427 0.447213 0) (0.894444 0.447242 0) (0.894483 0.447242 0) (0.894488 0.447233 0) (0.894434 0.447228 0) (0.89425 0.447108 0) (0.893736 0.446825 0) (0.892551 0.446306 0) (0.890341 0.445144 0) (0.88663 0.443079 0) (0.881226 0.440395 0) (0.875062 0.437148 0) (0.869654 0.43382 0) (0.86621 0.431518 0) (0.86551 0.430621 0) (0.867551 0.43098 0) (0.871502 0.432478 0) (0.876498 0.434907 0) (0.882058 0.437907 0) (0.887882 0.44108 0) (0.893747 0.443965 0) (0.899616 0.445985 0) (0.905499 0.446576 0) (0.911576 0.445221 0) (0.918543 0.440944 0) (0.927219 0.433358 0) (0.938635 0.424187 0) (0.954248 0.415375 0) (0.974654 0.407255 0) (0.998232 0.400436 0) (1.02246 0.397436 0) (1.04577 0.400803 0) (1.06672 0.410984 0) (1.08271 0.426415 0) (1.09092 0.444475 0) (1.08996 0.462465 0) (1.07998 0.478572 0) (1.06223 0.49187 0) (1.03907 0.50146 0) (1.0136 0.506259 0) (0.988468 0.505905 0) (0.965035 0.501491 0) (0.943699 0.495062 0) (0.924911 0.488356 0) (0.909703 0.481965 0) (0.89938 0.475434 0) (0.894786 0.468029 0) (0.895697 0.459512 0) (0.90071 0.450444 0) (0.907645 0.441971 0) (0.914212 0.435319 0) (0.918661 0.431303 0) (0.920161 0.430065 0) (0.91884 0.431118 0) (0.9155 0.433614 0) (0.911194 0.436669 0) (0.906851 0.439611 0) (0.903077 0.442065 0) (0.900131 0.443909 0) (0.898015 0.445189 0) (0.896596 0.446019 0) (0.895696 0.44653 0) (0.895152 0.44683 0) (0.894833 0.447 0) (0.894605 0.447103 0) (0.894521 0.447147 0) (0.894473 0.447171 0) (0.894445 0.447184 0) (0.894427 0.447191 0) (0.894417 0.447194 0) (0.89441 0.447198 0) (0.894407 0.447198 0) (0.894402 0.447199 0) (0.894403 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447198 0) (0.894399 0.447202 0) (0.8944 0.447198 0) (0.894402 0.447204 0) (0.894398 0.447193 0) (0.894401 0.447201 0) (0.894397 0.447204 0) (0.894405 0.44721 0) (0.894401 0.447181 0) (0.894393 0.447197 0) (0.8944 0.447221 0) (0.894409 0.447198 0) (0.894397 0.447183 0) (0.894396 0.447207 0) (0.894402 0.447201 0) (0.894403 0.447205 0) (0.89441 0.447206 0) (0.8944 0.447194 0) (0.894407 0.447203 0) (0.89441 0.447205 0) (0.894412 0.447211 0) (0.894425 0.44722 0) (0.894452 0.447232 0) (0.89447 0.447257 0) (0.894502 0.44725 0) (0.894457 0.447211 0) (0.894242 0.447141 0) (0.893791 0.446859 0) (0.892803 0.446359 0) (0.890915 0.445376 0) (0.887677 0.443506 0) (0.882892 0.440854 0) (0.877201 0.437599 0) (0.87172 0.434174 0) (0.867629 0.43133 0) (0.865899 0.429568 0) (0.866705 0.42916 0) (0.869413 0.430083 0) (0.873315 0.432005 0) (0.877959 0.434536 0) (0.882985 0.437421 0) (0.888061 0.44047 0) (0.892981 0.443386 0) (0.897715 0.44578 0) (0.90256 0.446869 0) (0.907797 0.445784 0) (0.913643 0.443106 0) (0.920937 0.439838 0) (0.930737 0.435246 0) (0.943076 0.428958 0) (0.957075 0.423378 0) (0.972249 0.421262 0) (0.988438 0.423032 0) (1.00418 0.427889 0) (1.01672 0.43546 0) (1.0239 0.445321 0) (1.0251 0.456393 0) (1.0204 0.467513 0) (1.01032 0.477728 0) (0.996118 0.485861 0) (0.97967 0.490587 0) (0.962693 0.491339 0) (0.946114 0.488905 0) (0.930341 0.484908 0) (0.915976 0.480642 0) (0.904193 0.476333 0) (0.896407 0.471315 0) (0.893555 0.464829 0) (0.895512 0.456763 0) (0.90099 0.447894 0) (0.907937 0.439575 0) (0.914208 0.433167 0) (0.918213 0.429518 0) (0.919281 0.428727 0) (0.917654 0.430234 0) (0.914187 0.433119 0) (0.90992 0.436465 0) (0.905733 0.43959 0) (0.902173 0.442136 0) (0.899447 0.44401 0) (0.897528 0.445284 0) (0.896267 0.446094 0) (0.895484 0.446582 0) (0.89502 0.446863 0) (0.894754 0.447019 0) (0.894565 0.447114 0) (0.894498 0.447153 0) (0.89446 0.447174 0) (0.894436 0.447185 0) (0.894423 0.447192 0) (0.894414 0.447195 0) (0.894408 0.447197 0) (0.894405 0.447199 0) (0.894402 0.447199 0) (0.894403 0.4472 0) (0.894399 0.447201 0) (0.894402 0.447198 0) (0.894399 0.447203 0) (0.8944 0.447196 0) (0.894402 0.447204 0) (0.894398 0.447196 0) (0.894401 0.447206 0) (0.894402 0.447192 0) (0.894396 0.447208 0) (0.894403 0.447193 0) (0.8944 0.447205 0) (0.894398 0.4472 0) (0.894399 0.447193 0) (0.894404 0.447199 0) (0.894392 0.447213 0) (0.894408 0.447199 0) (0.894405 0.447187 0) (0.894393 0.447208 0) (0.894401 0.447202 0) (0.894399 0.447189 0) (0.894405 0.447215 0) (0.894408 0.447203 0) (0.894401 0.447194 0) (0.894411 0.447205 0) (0.894409 0.447199 0) (0.894412 0.44721 0) (0.894428 0.447226 0) (0.894452 0.447231 0) (0.89447 0.447254 0) (0.894503 0.447269 0) (0.894467 0.447219 0) (0.894277 0.447143 0) (0.893843 0.446916 0) (0.89302 0.446461 0) (0.891509 0.44558 0) (0.888803 0.444028 0) (0.884694 0.441585 0) (0.879543 0.43836 0) (0.874128 0.434873 0) (0.869616 0.431645 0) (0.867048 0.429159 0) (0.866631 0.427864 0) (0.867972 0.427893 0) (0.870667 0.429034 0) (0.87438 0.43097 0) (0.878659 0.433469 0) (0.883019 0.43636 0) (0.887189 0.439425 0) (0.891246 0.442287 0) (0.895339 0.444237 0) (0.899364 0.44534 0) (0.903535 0.446315 0) (0.908386 0.446265 0) (0.914253 0.443865 0) (0.92118 0.440502 0) (0.929259 0.438617 0) (0.938826 0.438348 0) (0.949603 0.438568 0) (0.95999 0.439623 0) (0.968132 0.442813 0) (0.973241 0.448339 0) (0.975258 0.455234 0) (0.973928 0.462567 0) (0.969014 0.46969 0) (0.961061 0.475661 0) (0.951254 0.479315 0) (0.940634 0.480124 0) (0.929711 0.478716 0) (0.918769 0.476347 0) (0.908406 0.473857 0) (0.899795 0.471075 0) (0.894389 0.46712 0) (0.893189 0.461231 0) (0.896121 0.453463 0) (0.901948 0.444811 0) (0.908723 0.4368 0) (0.914482 0.430857 0) (0.917845 0.427791 0) (0.918332 0.427605 0) (0.91632 0.42964 0) (0.912708 0.432917 0) (0.908507 0.436506 0) (0.904523 0.43975 0) (0.90122 0.442328 0) (0.898749 0.444184 0) (0.897047 0.44542 0) (0.895952 0.44619 0) (0.895288 0.446644 0) (0.894902 0.4469 0) (0.894685 0.447039 0) (0.894531 0.447125 0) (0.894479 0.447158 0) (0.894448 0.447177 0) (0.89443 0.447187 0) (0.894419 0.447193 0) (0.894411 0.447196 0) (0.894407 0.447198 0) (0.894404 0.447199 0) (0.894401 0.447199 0) (0.894402 0.4472 0) (0.894399 0.4472 0) (0.894402 0.447199 0) (0.894398 0.447203 0) (0.894401 0.447195 0) (0.894399 0.447207 0) (0.894399 0.447192 0) (0.894403 0.447208 0) (0.894395 0.447192 0) (0.894403 0.447208 0) (0.894402 0.447194 0) (0.894394 0.447199 0) (0.894404 0.447206 0) (0.894402 0.447206 0) (0.894394 0.447191 0) (0.894395 0.447189 0) (0.894411 0.44721 0) (0.8944 0.44721 0) (0.894399 0.447203 0) (0.894409 0.447166 0) (0.894395 0.447219 0) (0.894398 0.447215 0) (0.894403 0.447187 0) (0.894408 0.447218 0) (0.894406 0.447194 0) (0.894412 0.447207 0) (0.894413 0.447211 0) (0.894431 0.447216 0) (0.894453 0.447235 0) (0.89447 0.447251 0) (0.894501 0.447265 0) (0.894469 0.447253 0) (0.894314 0.447151 0) (0.893938 0.446954 0) (0.893223 0.44658 0) (0.892017 0.445834 0) (0.889915 0.444558 0) (0.88659 0.442438 0) (0.882084 0.439493 0) (0.876908 0.436064 0) (0.872178 0.43253 0) (0.868903 0.429433 0) (0.867389 0.427307 0) (0.867489 0.426364 0) (0.868987 0.426516 0) (0.871589 0.427577 0) (0.874881 0.429414 0) (0.878441 0.431836 0) (0.882032 0.434611 0) (0.885702 0.437262 0) (0.889334 0.439614 0) (0.892732 0.442219 0) (0.895896 0.444648 0) (0.89913 0.44547 0) (0.902869 0.445062 0) (0.907177 0.445214 0) (0.912124 0.445977 0) (0.917985 0.445904 0) (0.924352 0.445058 0) (0.930176 0.445234 0) (0.934899 0.447504 0) (0.938546 0.451246 0) (0.940894 0.455466 0) (0.941319 0.459862 0) (0.939378 0.464362 0) (0.93532 0.468318 0) (0.929938 0.470712 0) (0.92387 0.471111 0) (0.917241 0.470131 0) (0.910085 0.468799 0) (0.902942 0.467555 0) (0.896989 0.465843 0) (0.893648 0.46258 0) (0.893884 0.457045 0) (0.897606 0.449495 0) (0.903589 0.441148 0) (0.909971 0.433654 0) (0.914982 0.428425 0) (0.9175 0.426164 0) (0.917279 0.426733 0) (0.914832 0.429359 0) (0.911083 0.433017 0) (0.906988 0.436793 0) (0.903253 0.440085 0) (0.900249 0.442631 0) (0.898058 0.444423 0) (0.896584 0.44559 0) (0.895658 0.446302 0) (0.895109 0.446712 0) (0.894798 0.44694 0) (0.894626 0.447061 0) (0.894504 0.447136 0) (0.894463 0.447164 0) (0.894439 0.44718 0) (0.894424 0.447189 0) (0.894415 0.447193 0) (0.894409 0.447197 0) (0.894405 0.447198 0) (0.894403 0.447199 0) (0.894401 0.4472 0) (0.894402 0.447198 0) (0.894398 0.447203 0) (0.894404 0.447196 0) (0.894396 0.447205 0) (0.894403 0.447194 0) (0.894398 0.447207 0) (0.894401 0.447193 0) (0.8944 0.447208 0) (0.894397 0.447194 0) (0.894407 0.447201 0) (0.894391 0.447208 0) (0.894404 0.447184 0) (0.894406 0.447209 0) (0.894394 0.447207 0) (0.894408 0.447189 0) (0.894392 0.447203 0) (0.894373 0.447204 0) (0.894424 0.447214 0) (0.894433 0.447184 0) (0.894377 0.44717 0) (0.894394 0.44724 0) (0.894419 0.447187 0) (0.894397 0.447208 0) (0.8944 0.447201 0) (0.894402 0.447196 0) (0.894407 0.447217 0) (0.894424 0.447208 0) (0.894432 0.447216 0) (0.894455 0.44724 0) (0.894474 0.447254 0) (0.894496 0.447253 0) (0.894466 0.447269 0) (0.894344 0.447185 0) (0.894045 0.447 0) (0.89343 0.446675 0) (0.892461 0.446104 0) (0.890891 0.445088 0) (0.888376 0.443343 0) (0.884723 0.440842 0) (0.880116 0.437694 0) (0.875377 0.434114 0) (0.871486 0.430598 0) (0.869002 0.427719 0) (0.868033 0.42578 0) (0.868427 0.424834 0) (0.869896 0.424859 0) (0.872087 0.425764 0) (0.874696 0.427406 0) (0.877662 0.429503 0) (0.880844 0.431738 0) (0.883974 0.434312 0) (0.88687 0.437167 0) (0.889528 0.439379 0) (0.892286 0.440735 0) (0.895261 0.442321 0) (0.89825 0.444387 0) (0.901418 0.445645 0) (0.904942 0.44558 0) (0.908459 0.445547 0) (0.911646 0.446876 0) (0.914667 0.449294 0) (0.917609 0.451748 0) (0.919931 0.453934 0) (0.920878 0.456362 0) (0.920242 0.459202 0) (0.918385 0.461711 0) (0.915768 0.462963 0) (0.912651 0.462842 0) (0.908954 0.46213 0) (0.904531 0.461645 0) (0.8998 0.461372 0) (0.895926 0.460366 0) (0.894281 0.457436 0) (0.895683 0.452022 0) (0.899921 0.444657 0) (0.905773 0.436776 0) (0.911498 0.430086 0) (0.91554 0.425888 0) (0.917056 0.424683 0) (0.916047 0.426149 0) (0.913161 0.429408 0) (0.909322 0.433418 0) (0.905392 0.437316 0) (0.901957 0.440583 0) (0.899286 0.443033 0) (0.897392 0.444715 0) (0.896152 0.445785 0) (0.895392 0.446424 0) (0.894952 0.446784 0) (0.894709 0.446979 0) (0.894576 0.447082 0) (0.894482 0.447146 0) (0.894451 0.447169 0) (0.894432 0.447183 0) (0.89442 0.447189 0) (0.894412 0.447195 0) (0.894407 0.447196 0) (0.894404 0.447199 0) (0.894401 0.447198 0) (0.894402 0.4472 0) (0.894399 0.4472 0) (0.894402 0.4472 0) (0.894399 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447198 0) (0.8944 0.447203 0) (0.8944 0.447197 0) (0.894401 0.447202 0) (0.894398 0.4472 0) (0.894405 0.447195 0) (0.894392 0.447211 0) (0.894406 0.447191 0) (0.894382 0.447193 0) (0.894417 0.447206 0) (0.894435 0.447212 0) (0.894373 0.447181 0) (0.894368 0.447202 0) (0.894406 0.447242 0) (0.894429 0.447179 0) (0.894371 0.447183 0) (0.894436 0.447184 0) (0.894416 0.447206 0) (0.894406 0.447238 0) (0.894388 0.447165 0) (0.894396 0.447208 0) (0.894388 0.447206 0) (0.894425 0.447214 0) (0.894436 0.447226 0) (0.894457 0.447239 0) (0.894483 0.447251 0) (0.894497 0.447256 0) (0.894465 0.447261 0) (0.894368 0.447207 0) (0.894134 0.447065 0) (0.893643 0.446779 0) (0.892865 0.446318 0) (0.891695 0.445556 0) (0.889889 0.444247 0) (0.887189 0.442253 0) (0.883481 0.439552 0) (0.879152 0.436273 0) (0.874992 0.432741 0) (0.871709 0.429364 0) (0.869688 0.426504 0) (0.868962 0.424437 0) (0.869331 0.42331 0) (0.870479 0.423114 0) (0.872221 0.423725 0) (0.874424 0.424859 0) (0.876906 0.426455 0) (0.879429 0.42856 0) (0.881782 0.430757 0) (0.884211 0.432662 0) (0.88687 0.434748 0) (0.889339 0.437295 0) (0.891529 0.439438 0) (0.893824 0.440514 0) (0.896249 0.441281 0) (0.898562 0.442796 0) (0.90087 0.444946 0) (0.90333 0.446834 0) (0.905695 0.448072 0) (0.907536 0.449203 0) (0.908468 0.450892 0) (0.908386 0.452962 0) (0.907729 0.45452 0) (0.906936 0.454963 0) (0.905853 0.454616 0) (0.904077 0.454354 0) (0.901488 0.454665 0) (0.898519 0.455064 0) (0.896236 0.454347 0) (0.895909 0.451409 0) (0.898201 0.445989 0) (0.90271 0.43892 0) (0.908167 0.431784 0) (0.912993 0.426242 0) (0.915911 0.423394 0) (0.916359 0.423475 0) (0.914568 0.425944 0) (0.911296 0.42983 0) (0.907442 0.434123 0) (0.903751 0.438056 0) (0.90067 0.441218 0) (0.898358 0.443515 0) (0.896771 0.445046 0) (0.895761 0.445997 0) (0.895159 0.446549 0) (0.894819 0.446855 0) (0.894635 0.447018 0) (0.894536 0.447102 0) (0.894465 0.447155 0) (0.89444 0.447174 0) (0.894426 0.447185 0) (0.894416 0.447191 0) (0.89441 0.447196 0) (0.894405 0.447196 0) (0.894404 0.4472 0) (0.8944 0.447197 0) (0.894403 0.447201 0) (0.894396 0.447199 0) (0.894406 0.447199 0) (0.894393 0.447204 0) (0.894408 0.447193 0) (0.894392 0.447209 0) (0.894407 0.447189 0) (0.894395 0.447211 0) (0.894403 0.447191 0) (0.894397 0.447208 0) (0.894404 0.44719 0) (0.894397 0.447205 0) (0.894422 0.447214 0) (0.894355 0.447192 0) (0.894384 0.447197 0) (0.894441 0.447174 0) (0.894456 0.4472 0) (0.894402 0.447216 0) (0.894292 0.447222 0) (0.894435 0.447219 0) (0.89442 0.447236 0) (0.894372 0.447092 0) (0.8944 0.447222 0) (0.894471 0.447242 0) (0.894405 0.447183 0) (0.894402 0.447191 0) (0.894377 0.447181 0) (0.894396 0.447214 0) (0.894431 0.447226 0) (0.894451 0.447245 0) (0.894487 0.447255 0) (0.894496 0.447268 0) (0.894474 0.447256 0) (0.894394 0.44721 0) (0.89421 0.447117 0) (0.893837 0.446897 0) (0.893232 0.446511 0) (0.892356 0.445929 0) (0.891088 0.445016 0) (0.88922 0.443564 0) (0.886558 0.441442 0) (0.883113 0.438711 0) (0.879263 0.435542 0) (0.875624 0.432136 0) (0.872752 0.428794 0) (0.870919 0.42587 0) (0.870109 0.423624 0) (0.870203 0.422179 0) (0.871047 0.42146 0) (0.872431 0.421394 0) (0.874132 0.42201 0) (0.875943 0.423162 0) (0.877939 0.424565 0) (0.880171 0.426248 0) (0.882305 0.428322 0) (0.884214 0.430417 0) (0.886173 0.432046 0) (0.88827 0.433421 0) (0.890254 0.435178 0) (0.892145 0.437319 0) (0.894129 0.439212 0) (0.896145 0.440438 0) (0.897971 0.44131 0) (0.899349 0.442481 0) (0.900251 0.444152 0) (0.900817 0.445787 0) (0.901184 0.446656 0) (0.901588 0.446667 0) (0.90189 0.446481 0) (0.901436 0.446797 0) (0.89999 0.447678 0) (0.898229 0.448348 0) (0.897269 0.447551 0) (0.898092 0.444385 0) (0.901067 0.438963 0) (0.905624 0.432419 0) (0.910457 0.426396 0) (0.914171 0.42238 0) (0.915836 0.421172 0) (0.915224 0.422703 0) (0.912752 0.426217 0) (0.909224 0.430674 0) (0.905471 0.435139 0) (0.902102 0.438993 0) (0.899423 0.441963 0) (0.897491 0.444048 0) (0.896209 0.445397 0) (0.895418 0.446212 0) (0.894962 0.446673 0) (0.894709 0.446924 0) (0.894576 0.447052 0) (0.894503 0.447121 0) (0.89445 0.447162 0) (0.894432 0.44718 0) (0.89442 0.447186 0) (0.894413 0.447193 0) (0.894407 0.447196 0) (0.894405 0.447198 0) (0.894403 0.4472 0) (0.8944 0.447198 0) (0.894404 0.447201 0) (0.894395 0.447198 0) (0.894408 0.4472 0) (0.89439 0.447202 0) (0.894412 0.447194 0) (0.894388 0.447211 0) (0.894411 0.447184 0) (0.894391 0.447219 0) (0.894405 0.447182 0) (0.894399 0.447213 0) (0.894389 0.447204 0) (0.894408 0.447168 0) (0.894425 0.44721 0) (0.894414 0.44723 0) (0.894339 0.447219 0) (0.894327 0.447209 0) (0.894475 0.447131 0) (0.894501 0.447124 0) (0.894373 0.447242 0) (0.894394 0.447324 0) (0.894401 0.447184 0) (0.89432 0.447128 0) (0.894373 0.447231 0) (0.894426 0.447188 0) (0.894476 0.447264 0) (0.894422 0.447185 0) (0.894418 0.44716 0) (0.894374 0.447181 0) (0.894413 0.447203 0) (0.894437 0.447235 0) (0.894475 0.447262 0) (0.894493 0.447275 0) (0.89448 0.44727 0) (0.894416 0.447226 0) (0.894272 0.447147 0) (0.893998 0.446991 0) (0.893547 0.446696 0) (0.892901 0.44625 0) (0.891999 0.445595 0) (0.890753 0.444611 0) (0.889011 0.443128 0) (0.886622 0.441082 0) (0.883619 0.438519 0) (0.880325 0.435539 0) (0.877186 0.432336 0) (0.874585 0.429133 0) (0.872745 0.426161 0) (0.871734 0.423605 0) (0.871479 0.421604 0) (0.871852 0.420263 0) (0.872668 0.419609 0) (0.873849 0.419546 0) (0.875376 0.419906 0) (0.877057 0.420678 0) (0.878732 0.421814 0) (0.880438 0.423058 0) (0.882271 0.424336 0) (0.884114 0.425935 0) (0.885847 0.427858 0) (0.887568 0.429687 0) (0.889352 0.431149 0) (0.891013 0.432312 0) (0.892522 0.433482 0) (0.893948 0.434971 0) (0.895057 0.436611 0) (0.896052 0.437836 0) (0.897338 0.438308 0) (0.898618 0.43826 0) (0.899463 0.438445 0) (0.899671 0.439378 0) (0.899142 0.440616 0) (0.89839 0.441108 0) (0.898531 0.43986 0) (0.900369 0.436381 0) (0.903855 0.431133 0) (0.9082 0.425485 0) (0.912188 0.421051 0) (0.914674 0.418984 0) (0.91508 0.419654 0) (0.913511 0.422666 0) (0.910548 0.427118 0) (0.906964 0.431989 0) (0.903461 0.436471 0) (0.900499 0.440113 0) (0.898255 0.442795 0) (0.896707 0.444611 0) (0.895717 0.44575 0) (0.895129 0.446419 0) (0.894799 0.446788 0) (0.894622 0.446984 0) (0.894529 0.447083 0) (0.894478 0.447137 0) (0.894441 0.447168 0) (0.894424 0.447184 0) (0.894418 0.447187 0) (0.894409 0.447197 0) (0.894407 0.447193 0) (0.894404 0.447202 0) (0.894401 0.447195 0) (0.894403 0.447203 0) (0.894398 0.447197 0) (0.894402 0.447202 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894397 0.447201 0) (0.894403 0.447196 0) (0.894399 0.447207 0) (0.894398 0.44719 0) (0.894408 0.447208 0) (0.894395 0.447203 0) (0.894383 0.447223 0) (0.894356 0.447156 0) (0.894565 0.447142 0) (0.894367 0.447253 0) (0.894286 0.447333 0) (0.89432 0.447161 0) (0.89444 0.447168 0) (0.894532 0.447079 0) (0.894363 0.447186 0) (0.894508 0.447253 0) (0.8944 0.447351 0) (0.894282 0.447079 0) (0.894308 0.447112 0) (0.894455 0.447344 0) (0.894437 0.447222 0) (0.894471 0.447209 0) (0.894403 0.447175 0) (0.894414 0.447159 0) (0.894429 0.447205 0) (0.894456 0.447234 0) (0.894489 0.447264 0) (0.894485 0.447277 0) (0.894435 0.447253 0) (0.894328 0.447182 0) (0.89412 0.447056 0) (0.8938 0.446847 0) (0.893336 0.446524 0) (0.892701 0.446049 0) (0.891864 0.445377 0) (0.89076 0.444415 0) (0.889267 0.443046 0) (0.887282 0.441212 0) (0.884852 0.438945 0) (0.882168 0.436313 0) (0.879525 0.433414 0) (0.877193 0.430392 0) (0.875344 0.427428 0) (0.874063 0.424695 0) (0.873358 0.422338 0) (0.873206 0.420446 0) (0.873568 0.418956 0) (0.874304 0.417896 0) (0.875293 0.417371 0) (0.876469 0.417331 0) (0.87785 0.417597 0) (0.879414 0.418205 0) (0.880946 0.419197 0) (0.88253 0.42034 0) (0.884218 0.421495 0) (0.885783 0.422632 0) (0.887414 0.423793 0) (0.889052 0.425084 0) (0.890518 0.426579 0) (0.89197 0.428085 0) (0.893309 0.428995 0) (0.89483 0.429276 0) (0.896678 0.429627 0) (0.897979 0.430426 0) (0.898352 0.431712 0) (0.898423 0.432991 0) (0.898789 0.433073 0) (0.89998 0.431177 0) (0.902525 0.427521 0) (0.906228 0.422975 0) (0.910095 0.418843 0) (0.913025 0.416481 0) (0.914248 0.416656 0) (0.913528 0.419277 0) (0.911215 0.423632 0) (0.908 0.428766 0) (0.904581 0.433786 0) (0.901486 0.438078 0) (0.899009 0.44137 0) (0.897217 0.443681 0) (0.896034 0.44518 0) (0.895307 0.446092 0) (0.894895 0.44661 0) (0.89467 0.446891 0) (0.894555 0.447036 0) (0.894494 0.44711 0) (0.894459 0.447149 0) (0.894431 0.447177 0) (0.89442 0.447184 0) (0.894415 0.447191 0) (0.894406 0.447196 0) (0.894407 0.447194 0) (0.8944 0.447203 0) (0.894402 0.447194 0) (0.894402 0.447206 0) (0.894396 0.447194 0) (0.894408 0.447205 0) (0.894388 0.447198 0) (0.894415 0.447198 0) (0.894382 0.447207 0) (0.89442 0.447188 0) (0.894381 0.447217 0) (0.894417 0.447181 0) (0.894384 0.447216 0) (0.89441 0.447194 0) (0.894408 0.447162 0) (0.89443 0.447279 0) (0.894259 0.447185 0) (0.89443 0.447221 0) (0.894557 0.447047 0) (0.894528 0.447147 0) (0.894196 0.447424 0) (0.894224 0.44735 0) (0.894484 0.446969 0) (0.894387 0.447145 0) (0.894494 0.44735 0) (0.894536 0.447184 0) (0.894458 0.447082 0) (0.89429 0.447195 0) (0.894258 0.447162 0) (0.894429 0.447252 0) (0.894416 0.447327 0) (0.894466 0.447208 0) (0.894441 0.447196 0) (0.894437 0.44716 0) (0.89445 0.447197 0) (0.894472 0.447234 0) (0.894485 0.447253 0) (0.894458 0.447255 0) (0.894374 0.447219 0) (0.894229 0.447121 0) (0.893998 0.446967 0) (0.893672 0.446734 0) (0.893239 0.446412 0) (0.892677 0.445949 0) (0.891963 0.445316 0) (0.89106 0.44446 0) (0.889885 0.443295 0) (0.888359 0.441778 0) (0.886529 0.439896 0) (0.884485 0.437682 0) (0.882376 0.435208 0) (0.880362 0.432557 0) (0.878609 0.42981 0) (0.877211 0.427078 0) (0.876226 0.424458 0) (0.875634 0.42203 0) (0.875434 0.419926 0) (0.875605 0.418265 0) (0.876046 0.416945 0) (0.87683 0.415883 0) (0.877871 0.415232 0) (0.879061 0.414971 0) (0.88032 0.414932 0) (0.881813 0.41513 0) (0.883386 0.415604 0) (0.884807 0.416211 0) (0.886571 0.417154 0) (0.888178 0.418314 0) (0.889497 0.419231 0) (0.891383 0.419884 0) (0.893358 0.420209 0) (0.895031 0.420837 0) (0.896587 0.422282 0) (0.897512 0.423645 0) (0.897974 0.424253 0) (0.899145 0.423832 0) (0.901453 0.421837 0) (0.904531 0.418577 0) (0.907949 0.415365 0) (0.910955 0.41345 0) (0.912662 0.413605 0) (0.912669 0.416073 0) (0.911093 0.420426 0) (0.908392 0.42577 0) (0.905227 0.431185 0) (0.902189 0.435999 0) (0.899634 0.439851 0) (0.89769 0.442662 0) (0.896343 0.444548 0) (0.89549 0.445722 0) (0.894988 0.446405 0) (0.894719 0.446779 0) (0.894574 0.446979 0) (0.894508 0.447077 0) (0.894466 0.447133 0) (0.894447 0.447157 0) (0.89442 0.447183 0) (0.894421 0.447182 0) (0.894407 0.447199 0) (0.894409 0.447189 0) (0.894402 0.447204 0) (0.894402 0.447193 0) (0.894402 0.447203 0) (0.8944 0.447198 0) (0.894399 0.4472 0) (0.894404 0.447202 0) (0.894391 0.447197 0) (0.894415 0.447202 0) (0.894379 0.447201 0) (0.894426 0.447195 0) (0.89437 0.44721 0) (0.894431 0.447187 0) (0.894374 0.447216 0) (0.89441 0.447195 0) (0.894367 0.447188 0) (0.894519 0.447206 0) (0.894407 0.447124 0) (0.894086 0.447367 0) (0.894498 0.447274 0) (0.894624 0.446989 0) (0.894501 0.447028 0) (0.894307 0.44726 0) (0.894255 0.44754 0) (0.894343 0.447208 0) (0.894304 0.446936 0) (0.894523 0.447208 0) (0.894616 0.447495 0) (0.894405 0.447106 0) (0.894345 0.446908 0) (0.894339 0.447265 0) (0.894337 0.447252 0) (0.894458 0.447264 0) (0.894437 0.447295 0) (0.894456 0.447182 0) (0.894446 0.447214 0) (0.894455 0.447192 0) (0.894474 0.447214 0) (0.894464 0.447226 0) (0.894422 0.447219 0) (0.894323 0.44717 0) (0.894165 0.447063 0) (0.893939 0.446904 0) (0.893637 0.446675 0) (0.893267 0.446369 0) (0.892811 0.445962 0) (0.892252 0.445423 0) (0.891555 0.444717 0) (0.890689 0.443795 0) (0.889614 0.442617 0) (0.888322 0.441173 0) (0.886862 0.439452 0) (0.885319 0.43746 0) (0.883766 0.435244 0) (0.882284 0.432886 0) (0.880926 0.430404 0) (0.879803 0.427868 0) (0.878979 0.425428 0) (0.878363 0.423101 0) (0.87807 0.420751 0) (0.878219 0.418628 0) (0.878514 0.416918 0) (0.878969 0.415362 0) (0.879867 0.414109 0) (0.880708 0.413241 0) (0.88198 0.412616 0) (0.88355 0.412246 0) (0.884696 0.412083 0) (0.886324 0.412434 0) (0.887976 0.412553 0) (0.889627 0.412318 0) (0.892045 0.412818 0) (0.893905 0.413572 0) (0.894942 0.414497 0) (0.89633 0.415627 0) (0.897905 0.415734 0) (0.899651 0.414742 0) (0.902385 0.413258 0) (0.905742 0.411432 0) (0.908606 0.410166 0) (0.910442 0.410738 0) (0.910946 0.41347 0) (0.910002 0.417899 0) (0.907936 0.423348 0) (0.905258 0.429029 0) (0.902462 0.434214 0) (0.899961 0.438465 0) (0.897993 0.44166 0) (0.896576 0.443883 0) (0.895644 0.445319 0) (0.895074 0.446183 0) (0.894759 0.446664 0) (0.894595 0.446919 0) (0.894512 0.447047 0) (0.894476 0.447112 0) (0.894447 0.447148 0) (0.89444 0.447164 0) (0.894417 0.447181 0) (0.894418 0.447189 0) (0.894402 0.447196 0) (0.894412 0.447193 0) (0.894395 0.447204 0) (0.894408 0.447191 0) (0.894395 0.447209 0) (0.894403 0.447191 0) (0.8944 0.447208 0) (0.894398 0.447194 0) (0.894404 0.447202 0) (0.894396 0.447203 0) (0.894404 0.447192 0) (0.894399 0.447214 0) (0.894396 0.447182 0) (0.894406 0.447216 0) (0.894398 0.447183 0) (0.894425 0.447225 0) (0.894315 0.447171 0) (0.894351 0.447237 0) (0.894785 0.447264 0) (0.894219 0.446837 0) (0.894046 0.44747 0) (0.894404 0.447592 0) (0.89478 0.446895 0) (0.894471 0.446868 0) (0.89425 0.447415 0) (0.894473 0.447117 0) (0.894268 0.447198 0) (0.894273 0.44744 0) (0.894372 0.4472 0) (0.894622 0.447218 0) (0.894532 0.447191 0) (0.894248 0.447103 0) (0.894476 0.446993 0) (0.89433 0.447344 0) (0.894423 0.447218 0) (0.89446 0.447331 0) (0.894446 0.447228 0) (0.894457 0.447219 0) (0.894452 0.447211 0) (0.894455 0.447213 0) (0.894436 0.447198 0) (0.894388 0.447176 0) (0.894289 0.447122 0) (0.894139 0.447024 0) (0.893941 0.446874 0) (0.89369 0.446673 0) (0.893401 0.446413 0) (0.893051 0.446078 0) (0.892633 0.445656 0) (0.892138 0.44511 0) (0.891531 0.44443 0) (0.890817 0.443564 0) (0.889964 0.44251 0) (0.889005 0.441258 0) (0.887957 0.439784 0) (0.886826 0.438124 0) (0.885714 0.436247 0) (0.884667 0.43418 0) (0.883673 0.432046 0) (0.882756 0.4297 0) (0.88215 0.427258 0) (0.881631 0.424996 0) (0.881261 0.42276 0) (0.881104 0.420504 0) (0.881366 0.418368 0) (0.882066 0.416666 0) (0.882259 0.414844 0) (0.883378 0.413289 0) (0.884682 0.412283 0) (0.885286 0.411143 0) (0.887213 0.410521 0) (0.889156 0.409663 0) (0.890551 0.409125 0) (0.892548 0.40989 0) (0.893994 0.410076 0) (0.895132 0.409927 0) (0.897476 0.410069 0) (0.900275 0.409289 0) (0.9028 0.408189 0) (0.905464 0.408131 0) (0.907628 0.409352 0) (0.908431 0.412134 0) (0.907965 0.416626 0) (0.906519 0.422133 0) (0.904413 0.427787 0) (0.902113 0.433041 0) (0.899937 0.437502 0) (0.89808 0.440943 0) (0.896667 0.443379 0) (0.895706 0.444983 0) (0.895117 0.445974 0) (0.894774 0.446548 0) (0.894604 0.446858 0) (0.89451 0.447019 0) (0.894476 0.447094 0) (0.89445 0.447139 0) (0.894439 0.447156 0) (0.894429 0.447175 0) (0.894423 0.447181 0) (0.894404 0.447196 0) (0.894412 0.44719 0) (0.8944 0.447202 0) (0.894404 0.447195 0) (0.894399 0.447202 0) (0.894402 0.447199 0) (0.894397 0.447198 0) (0.894406 0.447203 0) (0.89439 0.447195 0) (0.894417 0.447205 0) (0.894375 0.447197 0) (0.894432 0.4472 0) (0.894361 0.447203 0) (0.894447 0.447195 0) (0.894347 0.447215 0) (0.894433 0.447168 0) (0.894408 0.44723 0) (0.89451 0.447224 0) (0.894034 0.446985 0) (0.894482 0.447673 0) (0.895029 0.446989 0) (0.894046 0.446686 0) (0.893986 0.447499 0) (0.894512 0.447768 0) (0.894652 0.447025 0) (0.894415 0.446708 0) (0.894359 0.447291 0) (0.894484 0.447529 0) (0.894292 0.446918 0) (0.89428 0.446912 0) (0.894601 0.447737 0) (0.894261 0.447358 0) (0.894536 0.446974 0) (0.894408 0.447157 0) (0.89434 0.447137 0) (0.894445 0.447122 0) (0.894434 0.447322 0) (0.894468 0.447241 0) (0.894472 0.447291 0) (0.894456 0.447234 0) (0.89446 0.447234 0) (0.894434 0.447212 0) (0.894406 0.447194 0) (0.894355 0.447153 0) (0.894271 0.447096 0) (0.894149 0.447009 0) (0.893991 0.446888 0) (0.893805 0.446724 0) (0.893583 0.446516 0) (0.893339 0.44626 0) (0.893047 0.445945 0) (0.892711 0.445548 0) (0.892308 0.445065 0) (0.891843 0.444483 0) (0.891309 0.44375 0) (0.890681 0.442911 0) (0.890022 0.441879 0) (0.889323 0.440622 0) (0.8886 0.439293 0) (0.887794 0.437784 0) (0.887062 0.43598 0) (0.886405 0.43416 0) (0.885757 0.43233 0) (0.885077 0.430077 0) (0.885011 0.427839 0) (0.884537 0.425799 0) (0.884475 0.423424 0) (0.885108 0.421281 0) (0.88466 0.418974 0) (0.885689 0.41753 0) (0.886744 0.415847 0) (0.887162 0.413416 0) (0.889259 0.412674 0) (0.890587 0.411684 0) (0.89131 0.410772 0) (0.893357 0.410863 0) (0.895171 0.409925 0) (0.896866 0.409223 0) (0.899794 0.409412 0) (0.902493 0.409325 0) (0.903978 0.410282 0) (0.904928 0.413418 0) (0.905099 0.417818 0) (0.904243 0.422779 0) (0.902813 0.428034 0) (0.901102 0.432998 0) (0.899375 0.437231 0) (0.897873 0.440613 0) (0.896671 0.443127 0) (0.895752 0.444832 0) (0.895141 0.445892 0) (0.89478 0.446506 0) (0.89459 0.446832 0) (0.894504 0.447002 0) (0.894459 0.447084 0) (0.894452 0.447127 0) (0.894431 0.447153 0) (0.894437 0.447164 0) (0.894415 0.447181 0) (0.894419 0.447187 0) (0.8944 0.447195 0) (0.894414 0.447193 0) (0.894393 0.447201 0) (0.894412 0.447195 0) (0.89439 0.447203 0) (0.89441 0.447196 0) (0.894391 0.447202 0) (0.894409 0.447201 0) (0.89439 0.447195 0) (0.894411 0.44721 0) (0.894386 0.447184 0) (0.894419 0.447225 0) (0.894372 0.447166 0) (0.894436 0.447235 0) (0.894372 0.447165 0) (0.894423 0.447265 0) (0.894272 0.447069 0) (0.894666 0.447437 0) (0.89449 0.44693 0) (0.89362 0.447049 0) (0.894874 0.447991 0) (0.894959 0.446845 0) (0.894028 0.446435 0) (0.893903 0.447582 0) (0.894677 0.447692 0) (0.894695 0.447118 0) (0.8942 0.447251 0) (0.894369 0.446959 0) (0.894454 0.447014 0) (0.894486 0.447364 0) (0.894231 0.447133 0) (0.894425 0.447141 0) (0.894682 0.447465 0) (0.89407 0.447403 0) (0.894593 0.446886 0) (0.894349 0.447298 0) (0.894417 0.447045 0) (0.894493 0.447278 0) (0.894468 0.447236 0) (0.894493 0.447286 0) (0.894462 0.447251 0) (0.894466 0.447252 0) (0.894427 0.447232 0) (0.894393 0.447199 0) (0.894346 0.447155 0) (0.894279 0.4471 0) (0.894194 0.447024 0) (0.894077 0.446928 0) (0.893946 0.446811 0) (0.893793 0.446653 0) (0.893618 0.446472 0) (0.893437 0.446246 0) (0.8932 0.445987 0) (0.892948 0.445651 0) (0.892661 0.445249 0) (0.892321 0.444775 0) (0.891948 0.444177 0) (0.891551 0.443498 0) (0.8911 0.442778 0) (0.890551 0.441772 0) (0.890155 0.440635 0) (0.889691 0.439562 0) (0.889159 0.438118 0) (0.888761 0.436504 0) (0.888251 0.434708 0) (0.888487 0.433308 0) (0.887374 0.431222 0) (0.887684 0.428937 0) (0.888371 0.427575 0) (0.887236 0.425089 0) (0.88869 0.423511 0) (0.889503 0.421238 0) (0.889433 0.419076 0) (0.891175 0.419037 0) (0.891997 0.417084 0) (0.892771 0.415565 0) (0.895227 0.415719 0) (0.89715 0.414725 0) (0.898567 0.414458 0) (0.900653 0.415885 0) (0.901755 0.417915 0) (0.9016 0.42126 0) (0.901304 0.425821 0) (0.900676 0.430234 0) (0.899618 0.434216 0) (0.898475 0.437891 0) (0.897347 0.440942 0) (0.896375 0.443206 0) (0.895674 0.444805 0) (0.895166 0.445862 0) (0.894822 0.446502 0) (0.894601 0.44685 0) (0.894503 0.447018 0) (0.894451 0.447095 0) (0.894442 0.447127 0) (0.894433 0.447149 0) (0.894428 0.44716 0) (0.894427 0.447173 0) (0.894413 0.447181 0) (0.894404 0.447191 0) (0.894411 0.447194 0) (0.894399 0.447196 0) (0.894406 0.4472 0) (0.894397 0.447197 0) (0.894404 0.447202 0) (0.894396 0.447197 0) (0.894405 0.447203 0) (0.894393 0.447197 0) (0.89441 0.447202 0) (0.894386 0.4472 0) (0.894419 0.447196 0) (0.894377 0.447208 0) (0.894429 0.447191 0) (0.894358 0.447221 0) (0.894439 0.447145 0) (0.894427 0.447283 0) (0.894349 0.447133 0) (0.894126 0.447161 0) (0.895088 0.44759 0) (0.894208 0.44644 0) (0.893511 0.447455 0) (0.895093 0.447948 0) (0.894912 0.446772 0) (0.893883 0.446657 0) (0.894012 0.447427 0) (0.894753 0.447501 0) (0.894632 0.44705 0) (0.894255 0.447097 0) (0.894436 0.447661 0) (0.894282 0.447321 0) (0.894116 0.446375 0) (0.894926 0.447405 0) (0.894131 0.447428 0) (0.894534 0.447121 0) (0.894506 0.447341 0) (0.894243 0.447291 0) (0.894465 0.447051 0) (0.894416 0.447255 0) (0.894439 0.447164 0) (0.8945 0.447261 0) (0.894475 0.447248 0) (0.894484 0.447265 0) (0.894473 0.447241 0) (0.894446 0.447237 0) (0.894414 0.447212 0) (0.894367 0.447182 0) (0.894316 0.447131 0) (0.894251 0.447074 0) (0.894179 0.446998 0) (0.894083 0.446919 0) (0.893992 0.44681 0) (0.893868 0.446686 0) (0.893744 0.446534 0) (0.89362 0.446338 0) (0.893435 0.44614 0) (0.893261 0.445876 0) (0.893048 0.445537 0) (0.892839 0.445243 0) (0.892513 0.444759 0) (0.89231 0.444122 0) (0.892034 0.443613 0) (0.891782 0.442967 0) (0.891227 0.441887 0) (0.891338 0.440924 0) (0.890795 0.440343 0) (0.890307 0.438625 0) (0.891174 0.4376 0) (0.889533 0.435818 0) (0.890535 0.434811 0) (0.890909 0.433449 0) (0.889665 0.430332 0) (0.891529 0.430229 0) (0.891584 0.428335 0) (0.891306 0.42638 0) (0.893079 0.42627 0) (0.893793 0.424058 0) (0.894682 0.423481 0) (0.896986 0.42407 0) (0.897896 0.423391 0) (0.897961 0.424662 0) (0.898764 0.427903 0) (0.898849 0.430753 0) (0.898295 0.433614 0) (0.8979 0.436734 0) (0.89733 0.43944 0) (0.896687 0.441758 0) (0.896105 0.443718 0) (0.895527 0.445106 0) (0.89505 0.445977 0) (0.894761 0.44652 0) (0.894596 0.446844 0) (0.894494 0.447015 0) (0.894454 0.4471 0) (0.89443 0.447136 0) (0.894437 0.44715 0) (0.894422 0.447161 0) (0.894431 0.447168 0) (0.894413 0.447178 0) (0.89442 0.447184 0) (0.894401 0.447194 0) (0.894411 0.447195 0) (0.894395 0.447196 0) (0.894411 0.447202 0) (0.894389 0.447194 0) (0.894414 0.447207 0) (0.894384 0.447189 0) (0.894419 0.447214 0) (0.894379 0.447182 0) (0.894424 0.447222 0) (0.894373 0.447172 0) (0.894431 0.447237 0) (0.894363 0.447152 0) (0.894445 0.447253 0) (0.894357 0.447148 0) (0.894422 0.447278 0) (0.89434 0.447057 0) (0.894666 0.447417 0) (0.894046 0.44686 0) (0.894163 0.447592 0) (0.895445 0.447289 0) (0.893709 0.446376 0) (0.893857 0.447693 0) (0.895052 0.447806 0) (0.894873 0.446777 0) (0.893776 0.446828 0) (0.894009 0.447343 0) (0.894847 0.447218 0) (0.89457 0.447307 0) (0.894383 0.447162 0) (0.894293 0.447259 0) (0.894473 0.447319 0) (0.894302 0.447467 0) (0.894051 0.446563 0) (0.895104 0.447196 0) (0.894008 0.447615 0) (0.894597 0.446955 0) (0.894396 0.447489 0) (0.894336 0.447097 0) (0.894469 0.447267 0) (0.894422 0.447183 0) (0.894494 0.447254 0) (0.894471 0.447231 0) (0.894483 0.447257 0) (0.89447 0.447245 0) (0.894458 0.447242 0) (0.894432 0.447224 0) (0.894398 0.447206 0) (0.894365 0.447175 0) (0.894316 0.447134 0) (0.894267 0.447083 0) (0.894218 0.447022 0) (0.894136 0.446953 0) (0.894083 0.446866 0) (0.893997 0.446773 0) (0.893893 0.446669 0) (0.893784 0.446498 0) (0.893716 0.446347 0) (0.893567 0.44616 0) (0.893368 0.445835 0) (0.89328 0.445564 0) (0.893195 0.445385 0) (0.892755 0.444776 0) (0.892832 0.444347 0) (0.892246 0.443758 0) (0.893021 0.443452 0) (0.891621 0.44247 0) (0.892005 0.440968 0) (0.892989 0.441548 0) (0.890703 0.439397 0) (0.892761 0.438952 0) (0.89247 0.43752 0) (0.891396 0.435813 0) (0.893303 0.437003 0) (0.893058 0.433879 0) (0.893035 0.432804 0) (0.894692 0.4338 0) (0.895093 0.431905 0) (0.895492 0.431973 0) (0.896811 0.433288 0) (0.896513 0.433894 0) (0.896191 0.43601 0) (0.896826 0.438411 0) (0.896633 0.439661 0) (0.896111 0.441151 0) (0.89588 0.442989 0) (0.895628 0.444367 0) (0.895381 0.445371 0) (0.895116 0.44614 0) (0.894773 0.446624 0) (0.894539 0.446895 0) (0.894438 0.447041 0) (0.894423 0.447107 0) (0.89442 0.447133 0) (0.894424 0.447148 0) (0.894427 0.447157 0) (0.894421 0.447168 0) (0.894424 0.447172 0) (0.894411 0.447184 0) (0.894416 0.447185 0) (0.894408 0.447201 0) (0.8944 0.447188 0) (0.894406 0.447207 0) (0.894396 0.44719 0) (0.894406 0.447207 0) (0.894394 0.447194 0) (0.894406 0.447203 0) (0.894395 0.4472 0) (0.894404 0.447197 0) (0.894396 0.447208 0) (0.894403 0.447186 0) (0.894397 0.44722 0) (0.894404 0.447176 0) (0.894389 0.447232 0) (0.894419 0.44714 0) (0.894408 0.447293 0) (0.894329 0.447108 0) (0.894374 0.447273 0) (0.894866 0.447201 0) (0.89361 0.446867 0) (0.894645 0.447941 0) (0.895146 0.446828 0) (0.893707 0.446662 0) (0.893926 0.447665 0) (0.89515 0.447381 0) (0.894733 0.447084 0) (0.893853 0.447156 0) (0.894143 0.447334 0) (0.894592 0.447128 0) (0.894424 0.446764 0) (0.894667 0.447181 0) (0.894609 0.447995 0) (0.893771 0.446885 0) (0.894748 0.447087 0) (0.894286 0.44749 0) (0.894223 0.446862 0) (0.894814 0.447176 0) (0.894253 0.447419 0) (0.894475 0.447131 0) (0.894461 0.447322 0) (0.894388 0.447197 0) (0.894467 0.447252 0) (0.894454 0.447237 0) (0.894466 0.447256 0) (0.894466 0.447254 0) (0.894461 0.447255 0) (0.894459 0.447246 0) (0.894447 0.447241 0) (0.894429 0.447224 0) (0.8944 0.447213 0) (0.894382 0.447184 0) (0.894337 0.447156 0) (0.894312 0.447125 0) (0.89428 0.44707 0) (0.894204 0.447025 0) (0.894179 0.446952 0) (0.894132 0.446864 0) (0.894074 0.446821 0) (0.893913 0.446658 0) (0.893949 0.446495 0) (0.893837 0.446515 0) (0.893694 0.446207 0) (0.893456 0.445853 0) (0.89368 0.445607 0) (0.893497 0.445912 0) (0.892679 0.444422 0) (0.894233 0.444779 0) (0.891867 0.444073 0) (0.893619 0.443661 0) (0.893605 0.443594 0) (0.891545 0.44082 0) (0.894164 0.443005 0) (0.893171 0.44109 0) (0.892717 0.439682 0) (0.894228 0.44087 0) (0.893865 0.43823 0) (0.894061 0.43915 0) (0.895503 0.439754 0) (0.894983 0.437821 0) (0.89475 0.439412 0) (0.895825 0.441378 0) (0.895507 0.441307 0) (0.895345 0.442101 0) (0.895656 0.443303 0) (0.895345 0.444054 0) (0.895202 0.445033 0) (0.895159 0.445849 0) (0.894929 0.446225 0) (0.894755 0.446541 0) (0.894637 0.44685 0) (0.894525 0.447031 0) (0.894446 0.447121 0) (0.894435 0.447151 0) (0.894423 0.44716 0) (0.89443 0.447156 0) (0.894419 0.447162 0) (0.894422 0.447169 0) (0.894413 0.447175 0) (0.894414 0.447188 0) (0.894406 0.447184 0) (0.894408 0.447195 0) (0.894397 0.447194 0) (0.894408 0.447206 0) (0.894391 0.447188 0) (0.894413 0.447216 0) (0.894383 0.447179 0) (0.894421 0.447225 0) (0.894375 0.447172 0) (0.894429 0.447232 0) (0.894368 0.447165 0) (0.894435 0.44724 0) (0.894363 0.447153 0) (0.894442 0.447251 0) (0.894355 0.447151 0) (0.894438 0.447253 0) (0.894359 0.447122 0) (0.894534 0.447311 0) (0.894097 0.447041 0) (0.894648 0.4475 0) (0.894696 0.446822 0) (0.893521 0.447202 0) (0.895021 0.447782 0) (0.894753 0.446706 0) (0.89377 0.447028 0) (0.894159 0.447498 0) (0.894977 0.447332 0) (0.894663 0.446923 0) (0.893918 0.447251 0) (0.894466 0.447433 0) (0.894255 0.447226 0) (0.89452 0.446879 0) (0.894336 0.447243 0) (0.894516 0.446745 0) (0.89485 0.448213 0) (0.893518 0.446893 0) (0.895019 0.44688 0) (0.894184 0.447627 0) (0.894416 0.446846 0) (0.894577 0.447399 0) (0.894354 0.447152 0) (0.894494 0.447298 0) (0.894408 0.447209 0) (0.89447 0.447259 0) (0.894452 0.447246 0) (0.89447 0.447259 0) (0.894469 0.447255 0) (0.894465 0.447265 0) (0.894464 0.447257 0) (0.894455 0.447257 0) (0.89445 0.447249 0) (0.894435 0.447238 0) (0.894411 0.447224 0) (0.894413 0.447211 0) (0.89437 0.447184 0) (0.894352 0.447167 0) (0.894325 0.447108 0) (0.894331 0.447118 0) (0.894215 0.447053 0) (0.894214 0.44694 0) (0.894169 0.446957 0) (0.894255 0.446899 0) (0.893807 0.446587 0) (0.894273 0.446604 0) (0.893611 0.446567 0) (0.894487 0.446247 0) (0.893133 0.446185 0) (0.893612 0.445014 0) (0.894911 0.446951 0) (0.891849 0.444304 0) (0.894862 0.444964 0) (0.893436 0.444749 0) (0.892653 0.443357 0) (0.894885 0.445607 0) (0.893502 0.44161 0) (0.893196 0.442752 0) (0.894662 0.444496 0) (0.89453 0.441455 0) (0.894242 0.442657 0) (0.895058 0.443378 0) (0.894282 0.442579 0) (0.894753 0.444172 0) (0.895636 0.444515 0) (0.894761 0.44379 0) (0.89472 0.444829 0) (0.895195 0.445869 0) (0.895143 0.446086 0) (0.894966 0.446386 0) (0.894687 0.446651 0) (0.894441 0.446804 0) (0.894458 0.446965 0) (0.894518 0.447079 0) (0.894509 0.447119 0) (0.894475 0.447138 0) (0.894443 0.447159 0) (0.894435 0.447159 0) (0.894416 0.447174 0) (0.89442 0.447169 0) (0.894407 0.447187 0) (0.894413 0.447182 0) (0.894402 0.447195 0) (0.894401 0.447182 0) (0.894404 0.447214 0) (0.894397 0.447183 0) (0.894405 0.447214 0) (0.894395 0.447188 0) (0.894405 0.447208 0) (0.894397 0.447197 0) (0.894401 0.447198 0) (0.894403 0.447209 0) (0.894393 0.447184 0) (0.894411 0.447223 0) (0.894385 0.447172 0) (0.894416 0.447231 0) (0.89439 0.447162 0) (0.894407 0.447254 0) (0.894378 0.447124 0) (0.894414 0.447301 0) (0.894542 0.447089 0) (0.893934 0.447201 0) (0.895044 0.447489 0) (0.894107 0.446659 0) (0.894034 0.447501 0) (0.894874 0.447459 0) (0.894683 0.4469 0) (0.893731 0.4472 0) (0.894315 0.44722 0) (0.894892 0.447178 0) (0.894413 0.447121 0) (0.894218 0.447294 0) (0.894519 0.44747 0) (0.894239 0.447238 0) (0.894221 0.446664 0) (0.894868 0.447416 0) (0.89414 0.447385 0) (0.894365 0.446718 0) (0.894799 0.447811 0) (0.893819 0.447088 0) (0.894762 0.447 0) (0.894352 0.447388 0) (0.894385 0.447111 0) (0.894513 0.447279 0) (0.894408 0.447223 0) (0.894458 0.447254 0) (0.894454 0.44724 0) (0.894463 0.44725 0) (0.894472 0.447257 0) (0.894473 0.447257 0) (0.894474 0.447261 0) (0.894468 0.447264 0) (0.894471 0.447258 0) (0.894452 0.447257 0) (0.89446 0.447263 0) (0.894449 0.447234 0) (0.894418 0.447252 0) (0.894431 0.447231 0) (0.894415 0.447225 0) (0.894376 0.447194 0) (0.894331 0.44716 0) (0.894394 0.447144 0) (0.894401 0.447214 0) (0.894104 0.446899 0) (0.894372 0.44705 0) (0.894201 0.446967 0) (0.894427 0.447256 0) (0.893347 0.445995 0) (0.895321 0.447112 0) (0.8927 0.446791 0) (0.894958 0.4458 0) (0.894254 0.446961 0) (0.892311 0.44426 0) (0.895631 0.447809 0) (0.893485 0.444847 0) (0.893402 0.444266 0) (0.894622 0.446589 0) (0.893937 0.443407 0) (0.893802 0.445752 0) (0.895072 0.445158 0) (0.893955 0.442848 0) (0.893968 0.445833 0) (0.895343 0.445887 0) (0.894436 0.444075 0) (0.894615 0.445257 0) (0.894872 0.445873 0) (0.894426 0.445819 0) (0.894893 0.446402 0) (0.895002 0.446469 0) (0.894638 0.446453 0) (0.89453 0.446825 0) (0.894473 0.44706 0) (0.894441 0.447093 0) (0.894444 0.447126 0) (0.894462 0.44713 0) (0.894433 0.447138 0) (0.894426 0.447141 0) (0.894413 0.447161 0) (0.894414 0.447173 0) (0.894411 0.447176 0) (0.894408 0.447192 0) (0.894407 0.44718 0) (0.894404 0.447206 0) (0.894398 0.447196 0) (0.894406 0.447205 0) (0.894394 0.447188 0) (0.89441 0.447217 0) (0.894386 0.447177 0) (0.894418 0.447227 0) (0.894377 0.447169 0) (0.894427 0.447235 0) (0.894369 0.447163 0) (0.894433 0.447238 0) (0.894364 0.44716 0) (0.894439 0.44724 0) (0.894356 0.447166 0) (0.894449 0.447216 0) (0.894349 0.447211 0) (0.894468 0.447175 0) (0.894267 0.447177 0) (0.894617 0.447341 0) (0.894236 0.446958 0) (0.894248 0.447375 0) (0.894945 0.447311 0) (0.893913 0.446901 0) (0.894197 0.44736 0) (0.895006 0.447191 0) (0.894356 0.447185 0) (0.894007 0.447217 0) (0.894306 0.447297 0) (0.894864 0.447155 0) (0.894047 0.446905 0) (0.894734 0.447335 0) (0.894154 0.447507 0) (0.894636 0.446917 0) (0.89424 0.447827 0) (0.894029 0.446147 0) (0.895182 0.447748 0) (0.893826 0.447406 0) (0.894544 0.446755 0) (0.89452 0.447615 0) (0.894207 0.447016 0) (0.894566 0.447289 0) (0.894377 0.447179 0) (0.894475 0.447256 0) (0.894433 0.447221 0) (0.894458 0.447252 0) (0.894442 0.447244 0) (0.894453 0.447251 0) (0.89446 0.44725 0) (0.894458 0.447259 0) (0.894466 0.447257 0) (0.894458 0.447259 0) (0.894464 0.447268 0) (0.894468 0.447261 0) (0.894436 0.44727 0) (0.894463 0.447269 0) (0.894451 0.447246 0) (0.894455 0.447273 0) (0.894367 0.447241 0) (0.894509 0.447203 0) (0.894377 0.447305 0) (0.894435 0.447135 0) (0.894201 0.447218 0) (0.894607 0.447138 0) (0.894179 0.447359 0) (0.894511 0.446659 0) (0.89394 0.447507 0) (0.894224 0.446194 0) (0.895384 0.448336 0) (0.892209 0.445333 0) (0.895831 0.447022 0) (0.893558 0.447412 0) (0.893655 0.445292 0) (0.895316 0.448043 0) (0.893348 0.443875 0) (0.893576 0.447108 0) (0.8953 0.447524 0) (0.894316 0.443581 0) (0.893397 0.446592 0) (0.894962 0.4462 0) (0.893997 0.445003 0) (0.89473 0.446957 0) (0.894969 0.44572 0) (0.893664 0.445136 0) (0.894675 0.447001 0) (0.895062 0.44687 0) (0.894512 0.446234 0) (0.894443 0.446535 0) (0.8944 0.446705 0) (0.894473 0.446888 0) (0.894664 0.447092 0) (0.894598 0.447112 0) (0.894443 0.447102 0) (0.89438 0.447136 0) (0.89437 0.447166 0) (0.894391 0.447156 0) (0.894391 0.447172 0) (0.89441 0.447164 0) (0.894402 0.44719 0) (0.89441 0.447181 0) (0.8944 0.447199 0) (0.894406 0.447193 0) (0.894403 0.447217 0) (0.894397 0.447179 0) (0.894405 0.44722 0) (0.894395 0.447181 0) (0.894404 0.447216 0) (0.894397 0.447187 0) (0.8944 0.447209 0) (0.894404 0.447196 0) (0.894391 0.447198 0) (0.894414 0.447207 0) (0.894381 0.447189 0) (0.894423 0.447213 0) (0.894379 0.447189 0) (0.89441 0.447213 0) (0.894402 0.447156 0) (0.894399 0.447313 0) (0.894409 0.447041 0) (0.894305 0.447276 0) (0.894707 0.447349 0) (0.893891 0.446898 0) (0.89474 0.447399 0) (0.894639 0.447178 0) (0.893929 0.447209 0) (0.89427 0.44712 0) (0.894952 0.447198 0) (0.894407 0.44729 0) (0.893941 0.44732 0) (0.89454 0.447021 0) (0.894557 0.447141 0) (0.894259 0.447245 0) (0.89439 0.447143 0) (0.894649 0.447423 0) (0.894044 0.447201 0) (0.894588 0.446805 0) (0.894558 0.447904 0) (0.893914 0.44648 0) (0.895039 0.447504 0) (0.894014 0.447377 0) (0.894464 0.447015 0) (0.894487 0.447323 0) (0.894332 0.447162 0) (0.894475 0.447229 0) (0.894423 0.44722 0) (0.894441 0.447236 0) (0.894445 0.447243 0) (0.89444 0.447242 0) (0.89444 0.447248 0) (0.894445 0.44725 0) (0.894451 0.447256 0) (0.894448 0.447261 0) (0.894461 0.447263 0) (0.894453 0.447253 0) (0.894458 0.447278 0) (0.894466 0.447251 0) (0.894459 0.447274 0) (0.894426 0.447249 0) (0.894489 0.447296 0) (0.894407 0.44726 0) (0.894555 0.447289 0) (0.894108 0.447124 0) (0.894883 0.447392 0) (0.89406 0.447256 0) (0.89468 0.447151 0) (0.893782 0.446899 0) (0.895398 0.44764 0) (0.893251 0.447373 0) (0.895124 0.445936 0) (0.894167 0.448466 0) (0.893201 0.445457 0) (0.896197 0.448948 0) (0.893157 0.445323 0) (0.893787 0.446233 0) (0.89502 0.448777 0) (0.894233 0.444712 0) (0.893688 0.447794 0) (0.895235 0.446174 0) (0.89336 0.445088 0) (0.89422 0.448635 0) (0.895663 0.44605 0) (0.893536 0.444927 0) (0.894329 0.44765 0) (0.894559 0.446848 0) (0.894234 0.446259 0) (0.89503 0.446894 0) (0.894547 0.446537 0) (0.894153 0.446748 0) (0.894522 0.447177 0) (0.89463 0.447041 0) (0.894584 0.446973 0) (0.894516 0.44708 0) (0.894447 0.447109 0) (0.894386 0.447135 0) (0.8944 0.447159 0) (0.894402 0.44718 0) (0.894413 0.447184 0) (0.894407 0.447181 0) (0.894406 0.447195 0) (0.894403 0.447182 0) (0.894403 0.447209 0) (0.8944 0.447181 0) (0.894406 0.4472 0) (0.894394 0.447194 0) (0.894409 0.44721 0) (0.894388 0.447186 0) (0.894416 0.447218 0) (0.894381 0.447178 0) (0.894423 0.447224 0) (0.894374 0.447175 0) (0.894428 0.447225 0) (0.89437 0.447175 0) (0.89443 0.447222 0) (0.894368 0.447186 0) (0.894435 0.447195 0) (0.894366 0.447243 0) (0.894427 0.447122 0) (0.894368 0.447253 0) (0.894488 0.447269 0) (0.894192 0.447011 0) (0.894652 0.447321 0) (0.894411 0.447293 0) (0.893955 0.44703 0) (0.894802 0.447176 0) (0.894677 0.447365 0) (0.893796 0.447293 0) (0.894432 0.446992 0) (0.894763 0.446976 0) (0.894489 0.447521 0) (0.893954 0.447216 0) (0.894726 0.44736 0) (0.894059 0.446877 0) (0.894817 0.447067 0) (0.894064 0.447657 0) (0.894583 0.446595 0) (0.894569 0.448014 0) (0.893911 0.446721 0) (0.894767 0.447043 0) (0.894422 0.447629 0) (0.894199 0.446843 0) (0.894647 0.447403 0) (0.894249 0.447179 0) (0.894441 0.447229 0) (0.894393 0.447211 0) (0.894421 0.44723 0) (0.894422 0.447211 0) (0.894434 0.447228 0) (0.894438 0.447233 0) (0.894442 0.44724 0) (0.894448 0.44724 0) (0.894444 0.447243 0) (0.894454 0.447247 0) (0.894451 0.44724 0) (0.89444 0.447264 0) (0.894471 0.447252 0) (0.894448 0.447253 0) (0.89444 0.447267 0) (0.894426 0.44727 0) (0.894543 0.447223 0) (0.894358 0.447352 0) (0.894411 0.447093 0) (0.894572 0.447522 0) (0.894324 0.446986 0) (0.894595 0.447551 0) (0.894062 0.446799 0) (0.894806 0.447923 0) (0.894133 0.44647 0) (0.895018 0.448149 0) (0.892866 0.446029 0) (0.896148 0.447843 0) (0.893486 0.447874 0) (0.894055 0.445291 0) (0.895121 0.448946 0) (0.893591 0.445133 0) (0.894201 0.448563 0) (0.895549 0.447202 0) (0.89331 0.444388 0) (0.893551 0.448964 0) (0.89593 0.446789 0) (0.893394 0.445802 0) (0.894635 0.448031 0) (0.894529 0.445738 0) (0.893498 0.446548 0) (0.895307 0.448246 0) (0.894625 0.446267 0) (0.893934 0.446191 0) (0.894549 0.447207 0) (0.894597 0.447111 0) (0.894593 0.447162 0) (0.894603 0.447181 0) (0.894352 0.447043 0) (0.894284 0.44711 0) (0.894374 0.447194 0) (0.894441 0.447188 0) (0.894453 0.447157 0) (0.894436 0.447181 0) (0.894427 0.447178 0) (0.894408 0.447204 0) (0.894408 0.447189 0) (0.894398 0.447206 0) (0.894405 0.447193 0) (0.894397 0.447201 0) (0.894394 0.44718 0) (0.894407 0.44722 0) (0.894393 0.44718 0) (0.894407 0.44722 0) (0.894395 0.447182 0) (0.894403 0.447216 0) (0.8944 0.447186 0) (0.894396 0.447211 0) (0.894409 0.447191 0) (0.894386 0.447206 0) (0.894417 0.447195 0) (0.894383 0.447206 0) (0.894411 0.447198 0) (0.894398 0.447181 0) (0.894403 0.447275 0) (0.894369 0.447062 0) (0.894462 0.447315 0) (0.894416 0.447246 0) (0.894128 0.446979 0) (0.894864 0.447385 0) (0.89421 0.447256 0) (0.894003 0.447118 0) (0.894872 0.44697 0) (0.894539 0.447484 0) (0.894033 0.447246 0) (0.894225 0.447139 0) (0.894778 0.446888 0) (0.894416 0.447518 0) (0.894287 0.447283 0) (0.894349 0.447033 0) (0.894497 0.447211 0) (0.894149 0.447222 0) (0.894769 0.446978 0) (0.894259 0.447794 0) (0.894236 0.446438 0) (0.89478 0.447887 0) (0.893905 0.446867 0) (0.894681 0.447109 0) (0.8944 0.447362 0) (0.89433 0.447126 0) (0.894502 0.447257 0) (0.894357 0.447217 0) (0.894418 0.447212 0) (0.894411 0.447222 0) (0.894416 0.447215 0) (0.894428 0.447221 0) (0.89443 0.447221 0) (0.894435 0.447228 0) (0.894437 0.447231 0) (0.894442 0.447234 0) (0.89443 0.447238 0) (0.894454 0.447242 0) (0.894432 0.447227 0) (0.89443 0.447264 0) (0.894443 0.447233 0) (0.894503 0.447269 0) (0.894305 0.447217 0) (0.894638 0.447281 0) (0.894134 0.447254 0) (0.894958 0.447248 0) (0.893819 0.447394 0) (0.89482 0.446891 0) (0.894295 0.447728 0) (0.89469 0.447001 0) (0.893934 0.447504 0) (0.894746 0.4463 0) (0.894463 0.448949 0) (0.89386 0.445512 0) (0.89561 0.448633 0) (0.892939 0.445893 0) (0.894544 0.447467 0) (0.895509 0.448847 0) (0.893692 0.444497 0) (0.893563 0.448627 0) (0.895628 0.446846 0) (0.893097 0.446224 0) (0.895137 0.448882 0) (0.895061 0.445201 0) (0.892451 0.446547 0) (0.895199 0.449037 0) (0.894785 0.445859 0) (0.894104 0.446391 0) (0.894888 0.447607 0) (0.894046 0.446726 0) (0.894261 0.447151 0) (0.894867 0.447241 0) (0.894519 0.446833 0) (0.894268 0.447062 0) (0.894307 0.447258 0) (0.894366 0.447189 0) (0.894402 0.447187 0) (0.894442 0.447207 0) (0.89442 0.447197 0) (0.894413 0.44719 0) (0.894392 0.447186 0) (0.894402 0.447201 0) (0.894393 0.447187 0) (0.894406 0.44721 0) (0.894395 0.447183 0) (0.894407 0.447216 0) (0.894396 0.447201 0) (0.894407 0.447201 0) (0.894391 0.447196 0) (0.894413 0.447206 0) (0.894384 0.447193 0) (0.894418 0.447208 0) (0.894379 0.447193 0) (0.894422 0.447206 0) (0.894379 0.447197 0) (0.894419 0.4472 0) (0.894385 0.447206 0) (0.89441 0.447184 0) (0.894396 0.447233 0) (0.894397 0.447149 0) (0.894406 0.447245 0) (0.894428 0.447216 0) (0.89426 0.447086 0) (0.894685 0.447354 0) (0.894136 0.447171 0) (0.894349 0.447052 0) (0.894753 0.447298 0) (0.894254 0.447339 0) (0.894043 0.447031 0) (0.894761 0.447072 0) (0.894536 0.447396 0) (0.894139 0.44748 0) (0.89428 0.446748 0) (0.894638 0.44727 0) (0.894306 0.447074 0) (0.894682 0.447576 0) (0.89397 0.447224 0) (0.894631 0.446775 0) (0.894284 0.44758 0) (0.894363 0.446824 0) (0.894639 0.447394 0) (0.894272 0.447442 0) (0.894283 0.446813 0) (0.894611 0.447505 0) (0.894188 0.447056 0) (0.894516 0.447205 0) (0.894386 0.447203 0) (0.894421 0.447196 0) (0.894417 0.447204 0) (0.89441 0.447215 0) (0.894412 0.44721 0) (0.894409 0.447217 0) (0.894416 0.447213 0) (0.894413 0.447215 0) (0.894421 0.447218 0) (0.894417 0.447216 0) (0.894424 0.447234 0) (0.894429 0.447215 0) (0.894421 0.447239 0) (0.894438 0.447222 0) (0.894427 0.447246 0) (0.894451 0.447207 0) (0.894394 0.447336 0) (0.894415 0.447044 0) (0.894659 0.447587 0) (0.893946 0.446781 0) (0.895096 0.447721 0) (0.893647 0.446882 0) (0.895342 0.44761 0) (0.893585 0.44684 0) (0.894948 0.447634 0) (0.893877 0.446969 0) (0.895442 0.44746 0) (0.893385 0.447582 0) (0.894393 0.445765 0) (0.89531 0.449445 0) (0.893624 0.445313 0) (0.894308 0.448258 0) (0.895276 0.447141 0) (0.892975 0.44562 0) (0.894942 0.44973 0) (0.895549 0.445755 0) (0.892326 0.446097 0) (0.895482 0.44889 0) (0.894438 0.445692 0) (0.893616 0.447559 0) (0.895456 0.447992 0) (0.893773 0.445412 0) (0.893976 0.447253 0) (0.895081 0.447911 0) (0.89449 0.446784 0) (0.894305 0.446968 0) (0.89443 0.447083 0) (0.894331 0.447016 0) (0.89443 0.447215 0) (0.894507 0.44722 0) (0.894467 0.44714 0) (0.894384 0.447142 0) (0.894369 0.447202 0) (0.894363 0.4472 0) (0.894381 0.447212 0) (0.894388 0.44719 0) (0.894399 0.447203 0) (0.894401 0.447189 0) (0.8944 0.447202 0) (0.894403 0.447195 0) (0.894414 0.447215 0) (0.894386 0.447185 0) (0.894414 0.447214 0) (0.894387 0.447186 0) (0.894411 0.447212 0) (0.894392 0.44719 0) (0.894404 0.447209 0) (0.894401 0.447192 0) (0.894394 0.447207 0) (0.894411 0.447193 0) (0.894386 0.447207 0) (0.894416 0.447195 0) (0.894386 0.447196 0) (0.894416 0.447224 0) (0.894368 0.447146 0) (0.894459 0.447272 0) (0.894356 0.44717 0) (0.894318 0.447117 0) (0.894666 0.447362 0) (0.894128 0.447132 0) (0.894375 0.447065 0) (0.894741 0.447313 0) (0.894133 0.447405 0) (0.894313 0.446939 0) (0.894497 0.447162 0) (0.894643 0.447209 0) (0.894231 0.447497 0) (0.894242 0.446947 0) (0.894413 0.44716 0) (0.894563 0.44728 0) (0.894356 0.447255 0) (0.89459 0.447072 0) (0.894067 0.447541 0) (0.894462 0.4466 0) (0.894551 0.447812 0) (0.894168 0.446727 0) (0.894679 0.447429 0) (0.894278 0.447262 0) (0.89436 0.447087 0) (0.894463 0.447264 0) (0.894334 0.447169 0) (0.894428 0.447195 0) (0.894394 0.447207 0) (0.894412 0.447193 0) (0.89441 0.447208 0) (0.894409 0.447202 0) (0.894407 0.447213 0) (0.894412 0.44721 0) (0.89441 0.447211 0) (0.894412 0.447218 0) (0.894429 0.447209 0) (0.894402 0.447219 0) (0.894423 0.44723 0) (0.894429 0.447217 0) (0.894439 0.447231 0) (0.894318 0.4472 0) (0.89464 0.447266 0) (0.894129 0.447248 0) (0.894818 0.447095 0) (0.893915 0.447557 0) (0.894886 0.446666 0) (0.894374 0.448115 0) (0.893989 0.446222 0) (0.894938 0.448122 0) (0.894118 0.446526 0) (0.894746 0.44824 0) (0.893818 0.445861 0) (0.895171 0.448467 0) (0.893536 0.446589 0) (0.895038 0.447333 0) (0.894862 0.448168 0) (0.893003 0.444884 0) (0.89476 0.449563 0) (0.895677 0.446661 0) (0.892763 0.445942 0) (0.895419 0.449032 0) (0.893995 0.445315 0) (0.893233 0.447902 0) (0.896374 0.448477 0) (0.89376 0.444729 0) (0.893592 0.447853 0) (0.895002 0.448131 0) (0.894049 0.44615 0) (0.894501 0.447197 0) (0.894779 0.447199 0) (0.894176 0.446899 0) (0.894274 0.447374 0) (0.894583 0.447305 0) (0.894534 0.447069 0) (0.894425 0.447148 0) (0.894382 0.4472 0) (0.894364 0.447173 0) (0.894381 0.44718 0) (0.894389 0.447189 0) (0.894413 0.447206 0) (0.894399 0.447191 0) (0.894415 0.447207 0) (0.894391 0.447187 0) (0.894413 0.447212 0) (0.894386 0.447186 0) (0.894399 0.447197 0) (0.894398 0.447202 0) (0.894406 0.447199 0) (0.894391 0.447201 0) (0.894413 0.447198 0) (0.894384 0.447204 0) (0.894418 0.447194 0) (0.894382 0.44721 0) (0.894416 0.447186 0) (0.894389 0.447218 0) (0.894403 0.447177 0) (0.894405 0.447227 0) (0.894386 0.447172 0) (0.894416 0.447222 0) (0.894404 0.4472 0) (0.894333 0.447152 0) (0.894563 0.447305 0) (0.894181 0.447096 0) (0.894552 0.44719 0) (0.894413 0.447329 0) (0.894298 0.447154 0) (0.894352 0.447063 0) (0.894636 0.447296 0) (0.894303 0.447327 0) (0.894247 0.447042 0) (0.894502 0.447031 0) (0.894441 0.447568 0) (0.894416 0.447062 0) (0.894381 0.44729 0) (0.894211 0.44694 0) (0.894616 0.447251 0) (0.894347 0.447408 0) (0.894453 0.4471 0) (0.894395 0.447209 0) (0.89431 0.447276 0) (0.894371 0.446907 0) (0.894539 0.447531 0) (0.894246 0.446978 0) (0.894538 0.447294 0) (0.894334 0.447199 0) (0.894406 0.447199 0) (0.894393 0.447209 0) (0.89439 0.447199 0) (0.894396 0.447205 0) (0.894397 0.447203 0) (0.894404 0.447204 0) (0.894407 0.447204 0) (0.894409 0.447206 0) (0.894409 0.447208 0) (0.894411 0.447212 0) (0.894404 0.447207 0) (0.894421 0.447223 0) (0.89442 0.447195 0) (0.894395 0.447224 0) (0.894424 0.447204 0) (0.894439 0.447279 0) (0.89436 0.447052 0) (0.894555 0.447516 0) (0.894028 0.446794 0) (0.895194 0.447765 0) (0.893346 0.446729 0) (0.895553 0.447464 0) (0.893382 0.447343 0) (0.895191 0.4469 0) (0.894078 0.447698 0) (0.89451 0.446684 0) (0.894127 0.447866 0) (0.894706 0.446346 0) (0.894843 0.448768 0) (0.893294 0.445286 0) (0.894982 0.448547 0) (0.894995 0.447391 0) (0.89319 0.445655 0) (0.895307 0.449492 0) (0.894295 0.445185 0) (0.893182 0.447438 0) (0.896242 0.449183 0) (0.893448 0.444701 0) (0.893728 0.448156 0) (0.895552 0.447629 0) (0.893654 0.44556 0) (0.894527 0.448423 0) (0.895054 0.447451 0) (0.893909 0.446176 0) (0.894194 0.447334 0) (0.894642 0.447374 0) (0.894452 0.447104 0) (0.894398 0.447292 0) (0.894405 0.447218 0) (0.894381 0.447153 0) (0.894366 0.447222 0) (0.89442 0.447272 0) (0.894415 0.447219 0) (0.894436 0.447205 0) (0.894409 0.447182 0) (0.894421 0.447199 0) (0.894395 0.44719 0) (0.894408 0.447206 0) (0.894394 0.447196 0) (0.894403 0.447205 0) (0.894382 0.447192 0) (0.89442 0.447207 0) (0.89438 0.447194 0) (0.89442 0.447204 0) (0.894382 0.447198 0) (0.894415 0.447199 0) (0.89439 0.447203 0) (0.894403 0.447196 0) (0.894404 0.447204 0) (0.894389 0.447197 0) (0.894417 0.447201 0) (0.894379 0.4472 0) (0.894423 0.4472 0) (0.894372 0.447197 0) (0.894431 0.447208 0) (0.894385 0.447198 0) (0.894365 0.447166 0) (0.894511 0.447286 0) (0.894234 0.44713 0) (0.89452 0.447143 0) (0.894434 0.447376 0) (0.894254 0.447088 0) (0.894507 0.447085 0) (0.894393 0.447357 0) (0.894422 0.447255 0) (0.894268 0.447179 0) (0.894452 0.446989 0) (0.894499 0.447375 0) (0.894441 0.4472 0) (0.894271 0.447196 0) (0.894404 0.447106 0) (0.894288 0.447359 0) (0.894593 0.446907 0) (0.894432 0.447598 0) (0.894271 0.446872 0) (0.894501 0.447412 0) (0.894296 0.44711 0) (0.894415 0.447141 0) (0.894444 0.447287 0) (0.894356 0.447159 0) (0.894434 0.447218 0) (0.894386 0.447205 0) (0.894408 0.447202 0) (0.894399 0.447205 0) (0.894402 0.4472 0) (0.894399 0.447205 0) (0.894401 0.447199 0) (0.894398 0.447205 0) (0.894407 0.447202 0) (0.89441 0.447198 0) (0.894398 0.447208 0) (0.894414 0.447197 0) (0.894404 0.447211 0) (0.894419 0.447206 0) (0.894373 0.447196 0) (0.894511 0.447236 0) (0.894213 0.447213 0) (0.894716 0.447124 0) (0.894051 0.44746 0) (0.894756 0.446701 0) (0.894261 0.44812 0) (0.894117 0.445965 0) (0.89525 0.448573 0) (0.893385 0.446136 0) (0.895178 0.447889 0) (0.893877 0.446776 0) (0.895007 0.447762 0) (0.893755 0.446781 0) (0.894879 0.447161 0) (0.894321 0.448063 0) (0.89381 0.445517 0) (0.895373 0.449546 0) (0.894264 0.445627 0) (0.893186 0.446627 0) (0.895672 0.449541 0) (0.893885 0.444745 0) (0.894129 0.448459 0) (0.895553 0.447672 0) (0.892969 0.445074 0) (0.894436 0.449213 0) (0.895459 0.447104 0) (0.893853 0.445602 0) (0.894366 0.447973 0) (0.894684 0.447443 0) (0.894198 0.446877 0) (0.8944 0.447355 0) (0.894552 0.447129 0) (0.894335 0.447008 0) (0.894293 0.447256 0) (0.894374 0.447274 0) (0.89443 0.4472 0) (0.894427 0.447206 0) (0.894421 0.447218 0) (0.89441 0.447214 0) (0.894393 0.447194 0) (0.894401 0.447204 0) (0.894385 0.447193 0) (0.89441 0.447208 0) (0.894385 0.447192 0) (0.894417 0.447208 0) (0.894409 0.447201 0) (0.894394 0.447199 0) (0.894402 0.447201 0) (0.894402 0.447199 0) (0.894393 0.447203 0) (0.894411 0.447195 0) (0.894386 0.447208 0) (0.894416 0.447188 0) (0.894385 0.447217 0) (0.89441 0.447179 0) (0.894397 0.447224 0) (0.894392 0.447178 0) (0.894416 0.447216 0) (0.89439 0.447197 0) (0.894386 0.447181 0) (0.894453 0.447246 0) (0.894311 0.447142 0) (0.894502 0.44723 0) (0.894323 0.44723 0) (0.894429 0.447143 0) (0.89439 0.447184 0) (0.894468 0.447297 0) (0.894272 0.447182 0) (0.894431 0.447092 0) (0.894499 0.447275 0) (0.894343 0.447297 0) (0.894423 0.447001 0) (0.894323 0.447284 0) (0.89441 0.447156 0) (0.894488 0.447355 0) (0.894383 0.447113 0) (0.894361 0.447168 0) (0.89436 0.447145 0) (0.894413 0.447348 0) (0.894416 0.447024 0) (0.894488 0.447443 0) (0.894288 0.446993 0) (0.894482 0.447313 0) (0.894331 0.447147 0) (0.894425 0.4472 0) (0.894396 0.447203 0) (0.894402 0.447193 0) (0.894402 0.447196 0) (0.8944 0.447195 0) (0.894402 0.447199 0) (0.894401 0.447196 0) (0.894402 0.447201 0) (0.894403 0.447198 0) (0.894395 0.447199 0) (0.894397 0.447205 0) (0.894414 0.4472 0) (0.894393 0.447195 0) (0.894396 0.447216 0) (0.894422 0.447196 0) (0.894406 0.447219 0) (0.894364 0.447126 0) (0.894496 0.447384 0) (0.894227 0.446931 0) (0.894803 0.447614 0) (0.893667 0.446691 0) (0.895448 0.447663 0) (0.893324 0.447164 0) (0.895254 0.446686 0) (0.893952 0.448188 0) (0.894454 0.446138 0) (0.894627 0.448182 0) (0.894257 0.446389 0) (0.894435 0.448107 0) (0.894059 0.446039 0) (0.895167 0.448561 0) (0.893974 0.446574 0) (0.893867 0.446229 0) (0.895237 0.449623 0) (0.894169 0.444799 0) (0.893978 0.448317 0) (0.895214 0.447975 0) (0.893344 0.44469 0) (0.894653 0.449538 0) (0.895405 0.446951 0) (0.893389 0.445693 0) (0.894386 0.448717 0) (0.894811 0.446727 0) (0.894007 0.446352 0) (0.894523 0.447894 0) (0.894721 0.447272 0) (0.894286 0.446895 0) (0.894276 0.447264 0) (0.894443 0.447209 0) (0.89445 0.447129 0) (0.894402 0.447205 0) (0.894399 0.447214 0) (0.894373 0.447144 0) (0.894391 0.447154 0) (0.894372 0.447171 0) (0.894402 0.447207 0) (0.894378 0.447202 0) (0.894411 0.447212 0) (0.894385 0.447198 0) (0.894413 0.447204 0) (0.894389 0.447197 0) (0.894415 0.447202 0) (0.894382 0.447199 0) (0.89442 0.447199 0) (0.894379 0.447203 0) (0.894421 0.447194 0) (0.894381 0.447209 0) (0.894415 0.447189 0) (0.89439 0.447213 0) (0.894402 0.447186 0) (0.894406 0.447213 0) (0.894385 0.44719 0) (0.894424 0.447204 0) (0.89437 0.447204 0) (0.894428 0.447186 0) (0.89439 0.447227 0) (0.894379 0.447159 0) (0.894455 0.447253 0) (0.894318 0.447151 0) (0.89449 0.447205 0) (0.894346 0.447273 0) (0.894375 0.44708 0) (0.894465 0.447277 0) (0.894378 0.447224 0) (0.894382 0.447145 0) (0.89439 0.447177 0) (0.894471 0.447195 0) (0.894345 0.447318 0) (0.894375 0.447129 0) (0.894382 0.447202 0) (0.894471 0.44716 0) (0.894393 0.447286 0) (0.894432 0.447088 0) (0.89434 0.447371 0) (0.894357 0.44702 0) (0.894458 0.447304 0) (0.894377 0.447144 0) (0.894414 0.447199 0) (0.894417 0.447263 0) (0.894369 0.447147 0) (0.894423 0.447213 0) (0.894383 0.447185 0) (0.894404 0.447196 0) (0.894395 0.447199 0) (0.894398 0.447196 0) (0.894396 0.447198 0) (0.894399 0.447197 0) (0.894396 0.447199 0) (0.894403 0.447198 0) (0.894401 0.447201 0) (0.8944 0.447197 0) (0.894401 0.4472 0) (0.894401 0.447208 0) (0.894411 0.447188 0) (0.894378 0.447204 0) (0.894436 0.447223 0) (0.894339 0.447192 0) (0.89454 0.447173 0) (0.894178 0.447292 0) (0.894675 0.447005 0) (0.894189 0.447684 0) (0.894436 0.446298 0) (0.894744 0.448472 0) (0.893622 0.445925 0) (0.895399 0.448118 0) (0.893638 0.446874 0) (0.894776 0.447134 0) (0.894158 0.447349 0) (0.894764 0.447174 0) (0.894091 0.447502 0) (0.894431 0.446197 0) (0.894654 0.449015 0) (0.8941 0.44528 0) (0.894268 0.447999 0) (0.895027 0.4484 0) (0.893923 0.444673 0) (0.8942 0.449403 0) (0.895053 0.446714 0) (0.893625 0.445753 0) (0.894711 0.44923 0) (0.894974 0.446151 0) (0.893664 0.44642 0) (0.894443 0.4486 0) (0.894763 0.446976 0) (0.894176 0.446581 0) (0.894318 0.447415 0) (0.894521 0.447218 0) (0.894401 0.4471 0) (0.894398 0.447303 0) (0.894442 0.447234 0) (0.894436 0.44714 0) (0.894393 0.447164 0) (0.8944 0.447199 0) (0.894388 0.447195 0) (0.8944 0.447192 0) (0.894398 0.447201 0) (0.894404 0.447198 0) (0.894407 0.447204 0) (0.894397 0.447196 0) (0.89441 0.447204 0) (0.894388 0.447197 0) (0.894385 0.447201 0) (0.894413 0.447198 0) (0.894389 0.447202 0) (0.894407 0.447198 0) (0.894397 0.447202 0) (0.894399 0.4472 0) (0.894406 0.447198 0) (0.894391 0.447206 0) (0.89441 0.447191 0) (0.894392 0.447212 0) (0.894404 0.447187 0) (0.8944 0.447211 0) (0.8944 0.447193 0) (0.894396 0.447199 0) (0.894409 0.447209 0) (0.894388 0.447185 0) (0.894416 0.447213 0) (0.894381 0.447201 0) (0.894415 0.447176 0) (0.894387 0.447229 0) (0.894436 0.447211 0) (0.894324 0.447142 0) (0.894477 0.447227 0) (0.89441 0.447237 0) (0.894316 0.447173 0) (0.894423 0.447169 0) (0.894418 0.447277 0) (0.894439 0.447152 0) (0.894387 0.447214 0) (0.894363 0.447145 0) (0.894374 0.447254 0) (0.894444 0.44717 0) (0.894435 0.447273 0) (0.894381 0.44706 0) (0.894397 0.44734 0) (0.894328 0.44708 0) (0.894467 0.447286 0) (0.894372 0.447144 0) (0.894424 0.447224 0) (0.894387 0.447212 0) (0.894399 0.4472 0) (0.894396 0.4472 0) (0.894397 0.447197 0) (0.8944 0.447202 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.8944 0.447196 0) (0.894395 0.447199 0) (0.894402 0.447199 0) (0.894402 0.447197 0) (0.894394 0.4472 0) (0.894409 0.447202 0) (0.894403 0.447197 0) (0.894397 0.447203 0) (0.894402 0.447178 0) (0.894423 0.447263 0) (0.894339 0.447082 0) (0.894538 0.447397 0) (0.894154 0.446889 0) (0.894854 0.447632 0) (0.893704 0.446826 0) (0.895207 0.44722 0) (0.8938 0.447765 0) (0.894604 0.446169 0) (0.894552 0.448332 0) (0.894147 0.446372 0) (0.894511 0.447704 0) (0.894477 0.446738 0) (0.8944 0.447966 0) (0.894147 0.446318 0) (0.894652 0.447504 0) (0.894499 0.448257 0) (0.894238 0.445018 0) (0.894029 0.449118 0) (0.895037 0.446812 0) (0.894064 0.445934 0) (0.894331 0.449327 0) (0.894836 0.445783 0) (0.893646 0.446596 0) (0.894641 0.448791 0) (0.894977 0.446434 0) (0.894006 0.446736 0) (0.894285 0.447911 0) (0.894555 0.447039 0) (0.894309 0.446892 0) (0.894368 0.447371 0) (0.894482 0.447266 0) (0.894399 0.447127 0) (0.89435 0.447202 0) (0.894384 0.447216 0) (0.89441 0.447184 0) (0.894422 0.447216 0) (0.894408 0.447238 0) (0.894417 0.447241 0) (0.894394 0.447212 0) (0.894414 0.447204 0) (0.894387 0.447192 0) (0.894416 0.447198 0) (0.894384 0.447197 0) (0.894416 0.4472 0) (0.894395 0.447199 0) (0.894408 0.4472 0) (0.894389 0.447202 0) (0.894414 0.447196 0) (0.894384 0.447207 0) (0.894417 0.44719 0) (0.894385 0.447213 0) (0.894412 0.447185 0) (0.894394 0.447217 0) (0.894397 0.447185 0) (0.894413 0.447211 0) (0.89438 0.447197 0) (0.89442 0.447193 0) (0.89439 0.447218 0) (0.894396 0.44717 0) (0.894416 0.447238 0) (0.894376 0.447159 0) (0.894427 0.447231 0) (0.894378 0.447201 0) (0.894405 0.447152 0) (0.894413 0.44727 0) (0.894398 0.447166 0) (0.894368 0.447176 0) (0.894425 0.447235 0) (0.89442 0.447212 0) (0.894361 0.447183 0) (0.894421 0.447163 0) (0.894407 0.447225 0) (0.894415 0.447195 0) (0.894359 0.447231 0) (0.894404 0.447152 0) (0.8944 0.447265 0) (0.894411 0.447119 0) (0.894417 0.447265 0) (0.894391 0.447195 0) (0.894406 0.44719 0) (0.894394 0.447219 0) (0.89438 0.447171 0) (0.894414 0.447212 0) (0.894396 0.447184 0) (0.894406 0.447207 0) (0.894398 0.447202 0) (0.894401 0.4472 0) (0.8944 0.447198 0) (0.894399 0.447197 0) (0.894398 0.447197 0) (0.894402 0.4472 0) (0.894399 0.447198 0) (0.894399 0.447196 0) (0.894398 0.447201 0) (0.894402 0.447197 0) (0.894396 0.447194 0) (0.894394 0.447207 0) (0.894419 0.447199 0) (0.894378 0.447186 0) (0.89444 0.447207 0) (0.894327 0.447222 0) (0.894519 0.447154 0) (0.89424 0.447297 0) (0.894577 0.44693 0) (0.894321 0.447804 0) (0.894234 0.446292 0) (0.894888 0.448145 0) (0.893777 0.446603 0) (0.894829 0.447259 0) (0.894348 0.44754 0) (0.89432 0.446877 0) (0.89428 0.447253 0) (0.894706 0.447189 0) (0.89416 0.447773 0) (0.894533 0.445879 0) (0.894202 0.448597 0) (0.894704 0.446849 0) (0.894269 0.446083 0) (0.894045 0.449042 0) (0.895096 0.445872 0) (0.893839 0.447012 0) (0.894431 0.448668 0) (0.894925 0.44604 0) (0.893792 0.447058 0) (0.894403 0.44808 0) (0.894786 0.446631 0) (0.894256 0.446851 0) (0.89436 0.447641 0) (0.894543 0.447277 0) (0.894384 0.447058 0) (0.894338 0.447226 0) (0.894401 0.447206 0) (0.894416 0.447154 0) (0.894391 0.447201 0) (0.894395 0.447238 0) (0.894383 0.447214 0) (0.894399 0.447196 0) (0.89439 0.447191 0) (0.894407 0.447195 0) (0.894393 0.447199 0) (0.894403 0.447199 0) (0.894395 0.447202 0) (0.8944 0.447199 0) (0.894401 0.447202 0) (0.894413 0.447198 0) (0.894386 0.447203 0) (0.894413 0.447196 0) (0.894387 0.447205 0) (0.894411 0.447194 0) (0.894392 0.447206 0) (0.894405 0.447195 0) (0.894399 0.447204 0) (0.894397 0.447197 0) (0.894407 0.447201 0) (0.894389 0.447202 0) (0.894413 0.447197 0) (0.894389 0.447204 0) (0.894404 0.447197 0) (0.894405 0.447203 0) (0.89439 0.447195 0) (0.894405 0.447209 0) (0.894404 0.447184 0) (0.89439 0.44722 0) (0.894413 0.447191 0) (0.894381 0.447182 0) (0.894426 0.447236 0) (0.894385 0.447183 0) (0.894384 0.447187 0) (0.894431 0.447201 0) (0.894407 0.447223 0) (0.894378 0.447177 0) (0.894381 0.447202 0) (0.894402 0.447224 0) (0.894433 0.447203 0) (0.894414 0.447167 0) (0.894365 0.447237 0) (0.894386 0.447151 0) (0.894412 0.447276 0) (0.894405 0.447125 0) (0.894429 0.447232 0) (0.894372 0.447179 0) (0.894407 0.447219 0) (0.89439 0.447193 0) (0.894402 0.447197 0) (0.894403 0.447194 0) (0.894402 0.447195 0) (0.8944 0.447201 0) (0.894397 0.447199 0) (0.894399 0.447201 0) (0.894399 0.447198 0) (0.894397 0.4472 0) (0.894403 0.447199 0) (0.894397 0.4472 0) (0.894401 0.447199 0) (0.894402 0.447199 0) (0.894397 0.447199 0) (0.894403 0.447198 0) (0.894398 0.447198 0) (0.894395 0.447214 0) (0.8944 0.447163 0) (0.894431 0.447261 0) (0.894338 0.447101 0) (0.894498 0.447374 0) (0.894228 0.44693 0) (0.894731 0.447483 0) (0.893951 0.447112 0) (0.894752 0.44689 0) (0.894361 0.4479 0) (0.894222 0.446421 0) (0.894511 0.447642 0) (0.894535 0.447206 0) (0.894135 0.447142 0) (0.894599 0.446812 0) (0.894365 0.447936 0) (0.894324 0.446854 0) (0.894517 0.446539 0) (0.894074 0.448582 0) (0.895059 0.446099 0) (0.893824 0.447205 0) (0.894246 0.448245 0) (0.895146 0.446013 0) (0.893776 0.447448 0) (0.89445 0.447988 0) (0.894823 0.446431 0) (0.893984 0.447067 0) (0.894351 0.447756 0) (0.894674 0.447066 0) (0.894349 0.446978 0) (0.894298 0.447336 0) (0.894423 0.447231 0) (0.894414 0.447107 0) (0.894402 0.447197 0) (0.894417 0.447238 0) (0.894414 0.447213 0) (0.894394 0.447202 0) (0.894393 0.447195 0) (0.894396 0.447183 0) (0.894398 0.447174 0) (0.894403 0.447183 0) (0.894397 0.447191 0) (0.894408 0.4472 0) (0.894393 0.447201 0) (0.894411 0.447201 0) (0.894389 0.447202 0) (0.894396 0.447202 0) (0.894402 0.447199 0) (0.8944 0.4472 0) (0.894397 0.447201 0) (0.894405 0.447197 0) (0.894393 0.447205 0) (0.894407 0.447193 0) (0.894393 0.447209 0) (0.894405 0.447191 0) (0.894398 0.447208 0) (0.894401 0.447195 0) (0.894399 0.447201 0) (0.894401 0.447206 0) (0.8944 0.447188 0) (0.894396 0.447216 0) (0.894407 0.447185 0) (0.894395 0.447212 0) (0.894398 0.447193 0) (0.894408 0.447199 0) (0.894395 0.447212 0) (0.894397 0.447184 0) (0.8944 0.447204 0) (0.894417 0.447209 0) (0.894382 0.447195 0) (0.894399 0.447187 0) (0.89441 0.447214 0) (0.894389 0.447207 0) (0.894415 0.447197 0) (0.894384 0.447196 0) (0.894412 0.447177 0) (0.8944 0.447235 0) (0.894403 0.447164 0) (0.894398 0.447223 0) (0.89439 0.44719 0) (0.894399 0.447189 0) (0.894397 0.447222 0) (0.894408 0.447193 0) (0.894408 0.447203 0) (0.894395 0.447201 0) (0.894399 0.447205 0) (0.894395 0.447199 0) (0.894399 0.447201 0) (0.8944 0.447198 0) (0.894402 0.447199 0) (0.8944 0.447199 0) (0.894401 0.447202 0) (0.894401 0.447198 0) (0.894398 0.4472 0) (0.894401 0.4472 0) (0.8944 0.447197 0) (0.894396 0.4472 0) (0.894403 0.447202 0) (0.8944 0.447196 0) (0.894396 0.447197 0) (0.894419 0.447206 0) (0.894372 0.447192 0) (0.894434 0.447191 0) (0.894363 0.447219 0) (0.894465 0.447171 0) (0.894289 0.447275 0) (0.894507 0.446961 0) (0.89443 0.447656 0) (0.894193 0.446648 0) (0.894639 0.447531 0) (0.894346 0.447302 0) (0.894252 0.446792 0) (0.894547 0.447443 0) (0.894464 0.447402 0) (0.894165 0.446822 0) (0.894639 0.447108 0) (0.894163 0.447965 0) (0.894763 0.446306 0) (0.894012 0.44738 0) (0.894323 0.447903 0) (0.895111 0.446258 0) (0.893613 0.447584 0) (0.894513 0.447625 0) (0.89493 0.446484 0) (0.893845 0.447349 0) (0.894488 0.447685 0) (0.894772 0.446907 0) (0.89417 0.447047 0) (0.894249 0.447458 0) (0.894498 0.447181 0) (0.894422 0.447036 0) (0.894382 0.44722 0) (0.894419 0.447263 0) (0.894405 0.447202 0) (0.89438 0.447197 0) (0.894391 0.447198 0) (0.894405 0.447181 0) (0.894416 0.447184 0) (0.894407 0.447202 0) (0.89441 0.447213 0) (0.894394 0.447212 0) (0.894405 0.447205 0) (0.894392 0.447201 0) (0.894406 0.447197 0) (0.894394 0.4472 0) (0.894405 0.447198 0) (0.894395 0.447201 0) (0.894407 0.447198 0) (0.894392 0.447203 0) (0.894409 0.447195 0) (0.894391 0.447206 0) (0.894409 0.447193 0) (0.894393 0.447208 0) (0.894404 0.447192 0) (0.8944 0.447207 0) (0.894397 0.447195 0) (0.894406 0.447202 0) (0.894395 0.447201 0) (0.894401 0.447195 0) (0.894401 0.447209 0) (0.8944 0.44719 0) (0.894396 0.447207 0) (0.894408 0.447196 0) (0.894394 0.447205 0) (0.894399 0.44719 0) (0.894406 0.44721 0) (0.894399 0.447201 0) (0.894392 0.447186 0) (0.894407 0.447214 0) (0.894405 0.447195 0) (0.894391 0.447203 0) (0.894391 0.447198 0) (0.894419 0.447193 0) (0.894399 0.447211 0) (0.894401 0.447187 0) (0.894389 0.447198 0) (0.894385 0.447224 0) (0.894423 0.447175 0) (0.894406 0.447226 0) (0.894392 0.447175 0) (0.894399 0.447223 0) (0.894392 0.447196 0) (0.894407 0.447197 0) (0.894399 0.447198 0) (0.894403 0.4472 0) (0.894402 0.447198 0) (0.8944 0.447202 0) (0.8944 0.447201 0) (0.894398 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447198 0) (0.8944 0.447197 0) (0.8944 0.447199 0) (0.894399 0.4472 0) (0.8944 0.447197 0) (0.894398 0.447201 0) (0.894402 0.447199 0) (0.8944 0.447196 0) (0.894397 0.447202 0) (0.8944 0.447199 0) (0.8944 0.447191 0) (0.894401 0.447216 0) (0.894392 0.447172 0) (0.89442 0.447235 0) (0.894381 0.44714 0) (0.89444 0.447309 0) (0.894299 0.447033 0) (0.894564 0.447312 0) (0.894288 0.447292 0) (0.894372 0.446842 0) (0.894498 0.447588 0) (0.89444 0.447109 0) (0.894188 0.446886 0) (0.894613 0.447487 0) (0.894292 0.447392 0) (0.894493 0.446557 0) (0.894275 0.447588 0) (0.894366 0.447532 0) (0.894798 0.446456 0) (0.893732 0.447593 0) (0.89473 0.4474 0) (0.894817 0.446723 0) (0.893656 0.447476 0) (0.894628 0.44744 0) (0.894765 0.446872 0) (0.894014 0.447173 0) (0.894373 0.447491 0) (0.894626 0.447133 0) (0.894363 0.447045 0) (0.89434 0.447301 0) (0.894453 0.447276 0) (0.894426 0.447162 0) (0.894383 0.44719 0) (0.894391 0.447213 0) (0.894405 0.447187 0) (0.8944 0.447181 0) (0.894401 0.447193 0) (0.894394 0.447199 0) (0.894398 0.447199 0) (0.894393 0.447202 0) (0.894401 0.447202 0) (0.894398 0.447204 0) (0.894401 0.447202 0) (0.8944 0.447202 0) (0.894398 0.447201 0) (0.894403 0.447199 0) (0.894405 0.447198 0) (0.894396 0.447202 0) (0.894404 0.447198 0) (0.894396 0.447202 0) (0.894403 0.447199 0) (0.894398 0.447201 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894397 0.4472 0) (0.894406 0.4472 0) (0.894394 0.4472 0) (0.894405 0.447201 0) (0.8944 0.4472 0) (0.894396 0.447198 0) (0.894404 0.447204 0) (0.894398 0.447198 0) (0.894399 0.447198 0) (0.894401 0.447206 0) (0.894401 0.447196 0) (0.894396 0.447197 0) (0.894404 0.447206 0) (0.894402 0.447197 0) (0.894389 0.447198 0) (0.894409 0.447199 0) (0.894401 0.447208 0) (0.894395 0.447191 0) (0.894406 0.447199 0) (0.894388 0.447207 0) (0.89441 0.447196 0) (0.894399 0.447214 0) (0.894398 0.447185 0) (0.894398 0.447205 0) (0.894399 0.447203 0) (0.894405 0.447194 0) (0.894402 0.447204 0) (0.894401 0.447189 0) (0.894397 0.4472 0) (0.894397 0.447202 0) (0.894401 0.447198 0) (0.894398 0.4472 0) (0.894401 0.4472 0) (0.894401 0.447199 0) (0.894401 0.447201 0) (0.8944 0.447201 0) (0.8944 0.447202 0) (0.894398 0.447201 0) (0.8944 0.447202 0) (0.894401 0.447198 0) (0.894399 0.447201 0) (0.894401 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894405 0.447198 0) (0.8944 0.4472 0) (0.894396 0.447197 0) (0.894415 0.447202 0) (0.894383 0.447197 0) (0.894414 0.447187 0) (0.894388 0.447207 0) (0.894438 0.447192 0) (0.894352 0.447235 0) (0.894418 0.447044 0) (0.894453 0.447432 0) (0.894372 0.447044 0) (0.894314 0.447061 0) (0.894542 0.447498 0) (0.894369 0.447081 0) (0.894327 0.446871 0) (0.894442 0.447627 0) (0.894388 0.44716 0) (0.89453 0.446714 0) (0.894045 0.447658 0) (0.894738 0.447211 0) (0.89449 0.446823 0) (0.893776 0.447475 0) (0.894862 0.447286 0) (0.894597 0.446967 0) (0.893902 0.447263 0) (0.894538 0.447405 0) (0.894612 0.447097 0) (0.894216 0.447103 0) (0.894355 0.447356 0) (0.89452 0.447253 0) (0.894413 0.447126 0) (0.894349 0.447216 0) (0.894391 0.447243 0) (0.894412 0.447185 0) (0.894408 0.447174 0) (0.894407 0.447196 0) (0.894406 0.447205 0) (0.894398 0.447206 0) (0.894396 0.447206 0) (0.894396 0.447201 0) (0.894398 0.447195 0) (0.894401 0.447192 0) (0.894399 0.447195 0) (0.894404 0.447196 0) (0.894398 0.4472 0) (0.894404 0.447198 0) (0.894396 0.447202 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894402 0.447199 0) (0.894398 0.447202 0) (0.894403 0.447197 0) (0.894397 0.447204 0) (0.894403 0.447196 0) (0.894397 0.447204 0) (0.894403 0.447197 0) (0.894397 0.447202 0) (0.894403 0.4472 0) (0.894398 0.447197 0) (0.894399 0.447204 0) (0.894405 0.447198 0) (0.894394 0.4472 0) (0.894404 0.447201 0) (0.894398 0.447202 0) (0.8944 0.447194 0) (0.894401 0.447208 0) (0.894397 0.447194 0) (0.894402 0.4472 0) (0.894401 0.447205 0) (0.894396 0.447194 0) (0.894403 0.447202 0) (0.894398 0.4472 0) (0.894404 0.447198 0) (0.894394 0.447206 0) (0.8944 0.447196 0) (0.894402 0.447198 0) (0.8944 0.447207 0) (0.894409 0.447186 0) (0.894393 0.447208 0) (0.894395 0.447195 0) (0.894404 0.447203 0) (0.8944 0.447199 0) (0.8944 0.447202 0) (0.894399 0.447205 0) (0.894401 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447202 0) (0.894401 0.447199 0) (0.894399 0.4472 0) (0.894399 0.4472 0) (0.894402 0.4472 0) (0.894401 0.4472 0) (0.894402 0.447201 0) (0.8944 0.447199 0) (0.8944 0.447202 0) (0.894401 0.447201 0) (0.8944 0.447199 0) (0.894399 0.4472 0) (0.894401 0.447201 0) (0.8944 0.447197 0) (0.894402 0.447199 0) (0.894401 0.447199 0) (0.8944 0.447192 0) (0.894406 0.44721 0) (0.894395 0.447183 0) (0.894409 0.447205 0) (0.894401 0.447172 0) (0.894418 0.447248 0) (0.894371 0.44712 0) (0.89441 0.447185 0) (0.894447 0.447321 0) (0.894386 0.447037 0) (0.894322 0.447131 0) (0.894513 0.44745 0) (0.894377 0.446994 0) (0.894369 0.447017 0) (0.894305 0.447577 0) (0.894607 0.447006 0) (0.894305 0.446962 0) (0.894108 0.447533 0) (0.894833 0.447171 0) (0.894286 0.446994 0) (0.89402 0.447319 0) (0.89473 0.447329 0) (0.894477 0.447125 0) (0.894143 0.447196 0) (0.894466 0.447352 0) (0.894537 0.447205 0) (0.894338 0.44713 0) (0.894339 0.447263 0) (0.894432 0.447261 0) (0.89443 0.447174 0) (0.894399 0.447183 0) (0.894399 0.447217 0) (0.894402 0.447211 0) (0.894397 0.4472 0) (0.894396 0.447199 0) (0.894399 0.4472 0) (0.894403 0.447199 0) (0.894402 0.447203 0) (0.894403 0.447204 0) (0.894398 0.447205 0) (0.894401 0.447201 0) (0.894397 0.447201 0) (0.894401 0.447198 0) (0.894398 0.4472 0) (0.894401 0.447199 0) (0.894399 0.447201 0) (0.894402 0.447199 0) (0.894397 0.447202 0) (0.894403 0.447198 0) (0.894397 0.447203 0) (0.894403 0.447197 0) (0.894398 0.447203 0) (0.894401 0.447197 0) (0.8944 0.447202 0) (0.8944 0.447199 0) (0.8944 0.447199 0) (0.8944 0.447204 0) (0.894401 0.447195 0) (0.894398 0.447204 0) (0.894402 0.447199 0) (0.8944 0.447199 0) (0.894398 0.447201 0) (0.894402 0.447199 0) (0.894399 0.4472 0) (0.894402 0.447202 0) (0.894399 0.447197 0) (0.894399 0.447203 0) (0.894405 0.447199 0) (0.894396 0.447201 0) (0.894399 0.447199 0) (0.894404 0.447199 0) (0.894396 0.447203 0) (0.894404 0.447195 0) (0.8944 0.447203 0) (0.894396 0.447197 0) (0.894401 0.447202 0) (0.894401 0.447204 0) (0.894401 0.447196 0) (0.894398 0.447202 0) (0.894398 0.447201 0) (0.894401 0.447202 0) (0.894401 0.447198 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.894401 0.447198 0) (0.894398 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.447199 0) (0.894401 0.447199 0) (0.894401 0.447199 0) (0.8944 0.447198 0) (0.8944 0.447201 0) (0.894402 0.447198 0) (0.8944 0.447198 0) (0.894399 0.4472 0) (0.894402 0.447197 0) (0.894402 0.447197 0) (0.894401 0.447195 0) (0.89441 0.447197 0) (0.894394 0.447197 0) (0.894406 0.447186 0) (0.894404 0.447195 0) (0.894414 0.447194 0) (0.894399 0.447207 0) (0.894402 0.447117 0) (0.894385 0.447237 0) (0.894468 0.447237 0) (0.894354 0.447051 0) (0.894365 0.447198 0) (0.89445 0.447366 0) (0.894456 0.446967 0) (0.894269 0.447148 0) (0.894356 0.44745 0) (0.894629 0.447035 0) (0.894174 0.44708 0) (0.894296 0.447399 0) (0.89469 0.447225 0) (0.894242 0.44712 0) (0.894206 0.447273 0) (0.894569 0.447308 0) (0.894449 0.447193 0) (0.894289 0.447206 0) (0.894406 0.447309 0) (0.894475 0.447262 0) (0.894412 0.447186 0) (0.894384 0.44722 0) (0.894413 0.447241 0) (0.894421 0.447207 0) (0.894406 0.447193 0) (0.894398 0.447202 0) (0.894399 0.447203 0) (0.894399 0.447197 0) (0.894399 0.447193 0) (0.894397 0.447192 0) (0.894399 0.447192 0) (0.894398 0.447195 0) (0.894401 0.447197 0) (0.894399 0.447201 0) (0.894401 0.447201 0) (0.8944 0.447201 0) (0.8944 0.447201 0) (0.894401 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894398 0.4472 0) (0.894402 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447199 0) (0.894401 0.447203 0) (0.8944 0.447198 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.894401 0.447198 0) (0.8944 0.447202 0) (0.894399 0.447198 0) (0.894402 0.447202 0) (0.894399 0.4472 0) (0.894399 0.447198 0) (0.894402 0.447201 0) (0.894398 0.4472 0) (0.894402 0.4472 0) (0.894398 0.4472 0) (0.8944 0.4472 0) (0.894401 0.447199 0) (0.894398 0.447203 0) (0.894401 0.447198 0) (0.894398 0.447202 0) (0.8944 0.447199 0) (0.894402 0.447199 0) (0.894399 0.4472 0) (0.894401 0.447198 0) (0.894401 0.447197 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.894398 0.447201 0) (0.894401 0.447201 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.894401 0.447201 0) (0.8944 0.447201 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.894401 0.4472 0) (0.894401 0.447198 0) (0.8944 0.4472 0) (0.894403 0.447199 0) (0.894403 0.447198 0) (0.894402 0.447198 0) (0.894403 0.447198 0) (0.894403 0.447195 0) (0.894405 0.44719 0) (0.894411 0.4472 0) (0.894399 0.447182 0) (0.894407 0.447185 0) (0.894411 0.447185 0) (0.894408 0.447203 0) (0.89441 0.447156 0) (0.894383 0.447155 0) (0.894406 0.447218 0) (0.894447 0.447193 0) (0.894363 0.447073 0) (0.894347 0.447236 0) (0.894452 0.447274 0) (0.894437 0.447036 0) (0.894232 0.4472 0) (0.894449 0.447344 0) (0.894496 0.447117 0) (0.894185 0.447182 0) (0.894392 0.447342 0) (0.894547 0.447236 0) (0.894313 0.447201 0) (0.894313 0.447287 0) (0.894456 0.447305 0) (0.894429 0.447257 0) (0.89437 0.447238 0) (0.894401 0.447265 0) (0.894439 0.447257 0) (0.894424 0.447219 0) (0.8944 0.447215 0) (0.894402 0.447223 0) (0.894409 0.447209 0) (0.894408 0.447194 0) (0.894403 0.447192 0) (0.894401 0.447194 0) (0.8944 0.447196 0) (0.894399 0.447197 0) (0.894398 0.447197 0) (0.894399 0.447197 0) (0.894399 0.447196 0) (0.894399 0.447197 0) (0.8944 0.447197 0) (0.8944 0.447199 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.894401 0.447198 0) (0.894399 0.447202 0) (0.894401 0.447199 0) (0.894399 0.447201 0) (0.894402 0.4472 0) (0.894398 0.447199 0) (0.894401 0.447201 0) (0.894401 0.447199 0) (0.894399 0.4472 0) (0.8944 0.447201 0) (0.894401 0.4472 0) (0.894399 0.447199 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.894401 0.4472 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.894401 0.447199 0) (0.8944 0.4472 0) (0.894399 0.447201 0) (0.894402 0.447198 0) (0.894401 0.4472 0) (0.894399 0.447199 0) (0.894399 0.447201 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.894399 0.447202 0) (0.8944 0.447202 0) (0.8944 0.4472 0) (0.894401 0.447201 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894401 0.447199 0) (0.894401 0.447199 0) (0.894402 0.447198 0) (0.894404 0.447197 0) (0.894405 0.447194 0) (0.894404 0.447194 0) (0.894405 0.44719 0) (0.894412 0.447189 0) (0.894408 0.447191 0) (0.894404 0.447174 0) (0.894408 0.447176 0) (0.894411 0.447188 0) (0.894412 0.44718 0) (0.894412 0.447144 0) (0.894377 0.44717 0) (0.894413 0.4472 0) (0.89442 0.447162 0) (0.894361 0.447125 0) (0.894348 0.447236 0) (0.894454 0.447222 0) (0.894351 0.447123 0) (0.894275 0.447251 0) (0.894463 0.447299 0) (0.894401 0.447184 0) (0.894263 0.447262 0) (0.894393 0.447342 0) (0.894445 0.447288 0) (0.894367 0.447291 0) (0.89438 0.447316 0) (0.894433 0.447301 0) (0.89443 0.447284 0) (0.894407 0.447273 0) (0.894409 0.447266 0) (0.894425 0.447253 0) (0.894425 0.447228 0) (0.894413 0.447213 0) (0.894405 0.447211 0) (0.894403 0.447205 0) (0.894402 0.447197 0) (0.8944 0.447193 0) (0.894399 0.447194 0) (0.894399 0.447196 0) (0.894398 0.447199 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.8944 0.447199 0) (0.894399 0.4472 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894399 0.447201 0) (0.894401 0.447199 0) (0.894399 0.447201 0) (0.894401 0.447199 0) (0.894399 0.447201 0) (0.894401 0.447199 0) (0.894399 0.4472 0) (0.894401 0.447201 0) (0.894399 0.447198 0) (0.8944 0.447201 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.447201 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.894401 0.447201 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.894401 0.447199 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894401 0.4472 0) (0.894401 0.4472 0) (0.894402 0.447198 0) (0.894402 0.447198 0) (0.894404 0.447197 0) (0.894405 0.447196 0) (0.894407 0.447194 0) (0.894408 0.447192 0) (0.894406 0.447187 0) (0.894409 0.447183 0) (0.894417 0.447188 0) (0.894411 0.447176 0) (0.894408 0.447163 0) (0.89441 0.447169 0) (0.894408 0.447182 0) (0.894412 0.447156 0) (0.894393 0.447156 0) (0.894381 0.447178 0) (0.894405 0.44719 0) (0.894392 0.44716 0) (0.894332 0.447185 0) (0.894369 0.447252 0) (0.894414 0.447233 0) (0.894312 0.447211 0) (0.894322 0.447301 0) (0.894414 0.447321 0) (0.894362 0.447291 0) (0.89433 0.447343 0) (0.894397 0.44736 0) (0.894417 0.447329 0) (0.894397 0.447345 0) (0.894409 0.447357 0) (0.894432 0.447331 0) (0.894436 0.447306 0) (0.89443 0.447286 0) (0.894425 0.447266 0) (0.894424 0.447246 0) (0.894422 0.447224 0) (0.894415 0.447208 0) (0.894407 0.447202 0) (0.894403 0.447199 0) (0.8944 0.447196 0) (0.894398 0.447192 0) (0.894397 0.447191 0) (0.894398 0.447192 0) (0.894398 0.447194 0) (0.894399 0.447196 0) (0.894399 0.447198 0) (0.8944 0.447199 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.894399 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.894399 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447201 0) (0.8944 0.447201 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447201 0) (0.8944 0.447201 0) (0.894401 0.447201 0) (0.894402 0.447201 0) (0.894403 0.4472 0) (0.894403 0.4472 0) (0.894405 0.447199 0) (0.894406 0.447196 0) (0.894407 0.447194 0) (0.894409 0.447191 0) (0.894413 0.447188 0) (0.894413 0.447184 0) (0.894411 0.447176 0) (0.894415 0.447173 0) (0.894418 0.447178 0) (0.894413 0.447162 0) (0.894408 0.447153 0) (0.894404 0.44717 0) (0.894406 0.447174 0) (0.8944 0.447153 0) (0.894371 0.447172 0) (0.894371 0.447202 0) (0.894383 0.447211 0) (0.894353 0.447209 0) (0.894321 0.447248 0) (0.894363 0.447293 0) (0.894354 0.44731 0) (0.89431 0.447335 0) (0.894345 0.447374 0) (0.894385 0.447384 0) (0.894369 0.447395 0) (0.894368 0.447429 0) (0.894402 0.447433 0) (0.894424 0.447404 0) (0.894428 0.447387 0) (0.894436 0.447373 0) (0.894444 0.447343 0) (0.894444 0.44731 0) (0.894439 0.447283 0) (0.894431 0.44726 0) (0.894424 0.44724 0) (0.894418 0.44722 0) (0.894411 0.447203 0) (0.894405 0.447195 0) (0.894401 0.447193 0) (0.894398 0.447194 0) (0.894397 0.447195 0) (0.894397 0.447195 0) (0.894397 0.447196 0) (0.894398 0.447197 0) (0.894399 0.447197 0) (0.894399 0.447198 0) (0.894399 0.447199 0) (0.894399 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894401 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447202 0) (0.894401 0.447201 0) (0.894401 0.447201 0) (0.894403 0.447201 0) (0.894404 0.4472 0) (0.894406 0.447198 0) (0.894408 0.447197 0) (0.89441 0.447193 0) (0.894412 0.447189 0) (0.894415 0.447185 0) (0.894418 0.447182 0) (0.894418 0.447174 0) (0.894416 0.447166 0) (0.894418 0.447166 0) (0.894416 0.447168 0) (0.894409 0.447157 0) (0.894398 0.447158 0) (0.894391 0.44718 0) (0.894389 0.447186 0) (0.894369 0.447195 0) (0.894347 0.447221 0) (0.894349 0.447256 0) (0.894343 0.447283 0) (0.89431 0.447324 0) (0.894314 0.447361 0) (0.894339 0.447391 0) (0.894328 0.447436 0) (0.894323 0.447477 0) (0.894348 0.447496 0) (0.894379 0.447511 0) (0.894399 0.447516 0) (0.894415 0.447506 0) (0.894432 0.447493 0) (0.894448 0.447468 0) (0.894457 0.447433 0) (0.894461 0.447395 0) (0.89446 0.447354 0) (0.894454 0.447312 0) (0.894444 0.447275 0) (0.894432 0.447246 0) (0.894422 0.447226 0) (0.894413 0.447212 0) (0.894406 0.4472 0) (0.894401 0.447192 0) (0.894398 0.44719 0) (0.894396 0.44719 0) (0.894396 0.447193 0) (0.894396 0.447195 0) (0.894397 0.447197 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447202 0) (0.8944 0.447202 0) (0.8944 0.447201 0) (0.894401 0.447203 0) (0.894402 0.447202 0) (0.894403 0.447202 0) (0.894405 0.4472 0) (0.894408 0.447198 0) (0.894411 0.447195 0) (0.894415 0.447192 0) (0.894418 0.447187 0) (0.894419 0.44718 0) (0.894422 0.447176 0) (0.894424 0.447173 0) (0.894421 0.447164 0) (0.894415 0.447161 0) (0.894412 0.447171 0) (0.894406 0.447173 0) (0.89439 0.447177 0) (0.894372 0.4472 0) (0.894364 0.447229 0) (0.894351 0.44725 0) (0.894322 0.447293 0) (0.894309 0.44734 0) (0.894311 0.447382 0) (0.894298 0.447432 0) (0.894285 0.447497 0) (0.8943 0.447537 0) (0.894313 0.447572 0) (0.894331 0.447624 0) (0.894357 0.447644 0) (0.89438 0.447636 0) (0.894404 0.447642 0) (0.894434 0.447637 0) (0.894459 0.447598 0) (0.894473 0.44755 0) (0.894482 0.447504 0) (0.894485 0.447451 0) (0.894481 0.447396 0) (0.894472 0.447344 0) (0.894459 0.4473 0) (0.894445 0.447262 0) (0.894431 0.447231 0) (0.894418 0.447211 0) (0.894408 0.447199 0) (0.894402 0.447194 0) (0.894398 0.44719 0) (0.894396 0.447189 0) (0.894395 0.44719 0) (0.894396 0.447192 0) (0.894397 0.447194 0) (0.894397 0.447196 0) (0.894398 0.447197 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447201 0) (0.8944 0.447201 0) (0.894399 0.447202 0) (0.8944 0.447202 0) (0.894399 0.447203 0) (0.894399 0.447204 0) (0.8944 0.447205 0) (0.894401 0.447205 0) (0.894403 0.447205 0) (0.894405 0.447204 0) (0.894408 0.447203 0) (0.894411 0.4472 0) (0.894415 0.447196 0) (0.894419 0.447191 0) (0.894423 0.447187 0) (0.894426 0.44718 0) (0.894425 0.447173 0) (0.894425 0.447171 0) (0.894422 0.447173 0) (0.894413 0.447172 0) (0.894399 0.447182 0) (0.894387 0.447207 0) (0.894374 0.447228 0) (0.894349 0.447258 0) (0.894325 0.447309 0) (0.894312 0.44736 0) (0.894292 0.447416 0) (0.89427 0.447485 0) (0.894265 0.447551 0) (0.894264 0.447611 0) (0.894262 0.447684 0) (0.894281 0.447751 0) (0.894307 0.447782 0) (0.894327 0.44781 0) (0.89436 0.447846 0) (0.894402 0.447848 0) (0.894439 0.447812 0) (0.894467 0.447772 0) (0.894493 0.44773 0) (0.894512 0.447666 0) (0.894519 0.44759 0) (0.894516 0.447517 0) (0.894507 0.447448 0) (0.894493 0.447384 0) (0.894475 0.447326 0) (0.894457 0.447279 0) (0.894439 0.447244 0) (0.894424 0.447218 0) (0.894412 0.447201 0) (0.894403 0.447192 0) (0.894397 0.447189 0) (0.894395 0.447189 0) (0.894394 0.447191 0) (0.894395 0.447192 0) (0.894395 0.447194 0) (0.894397 0.447196 0) (0.894398 0.447197 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447201 0) (0.894398 0.447203 0) (0.894398 0.447204 0) (0.894399 0.447205 0) (0.894399 0.447206 0) (0.8944 0.447208 0) (0.894402 0.447208 0) (0.894405 0.447208 0) (0.89441 0.447205 0) (0.894415 0.447203 0) (0.89442 0.447199 0) (0.894424 0.447192 0) (0.894428 0.447187 0) (0.89443 0.447184 0) (0.894429 0.44718 0) (0.894423 0.447182 0) (0.894414 0.447193 0) (0.894401 0.44721 0) (0.894381 0.447234 0) (0.894357 0.447273 0) (0.894334 0.447326 0) (0.894309 0.447384 0) (0.894279 0.447458 0) (0.894256 0.44754 0) (0.894239 0.447622 0) (0.894221 0.447718 0) (0.894217 0.447813 0) (0.894228 0.447894 0) (0.894239 0.447963 0) (0.894259 0.448034 0) (0.8943 0.448084 0) (0.894346 0.448102 0) (0.894391 0.448097 0) (0.894433 0.448075 0) (0.894477 0.448037 0) (0.894516 0.447971 0) (0.894542 0.447885 0) (0.894557 0.447795 0) (0.894563 0.447702 0) (0.894559 0.447603 0) (0.894544 0.447507 0) (0.894522 0.447423 0) (0.894498 0.447354 0) (0.894473 0.447297 0) (0.894449 0.447253 0) (0.89443 0.447223 0) (0.894415 0.447204 0) (0.894405 0.447192 0) (0.894398 0.447187 0) (0.894394 0.447186 0) (0.894393 0.447188 0) (0.894394 0.44719 0) (0.894395 0.447193 0) (0.894396 0.447195 0) (0.894397 0.447197 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.894399 0.4472 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447202 0) (0.894398 0.447203 0) (0.894398 0.447204 0) (0.894397 0.447206 0) (0.894397 0.447208 0) (0.894398 0.447211 0) (0.8944 0.447212 0) (0.894402 0.447214 0) (0.894407 0.447213 0) (0.894412 0.447211 0) (0.894418 0.447208 0) (0.894424 0.447203 0) (0.89443 0.447199 0) (0.894432 0.447195 0) (0.894431 0.447196 0) (0.894425 0.447204 0) (0.894413 0.447217 0) (0.894394 0.447245 0) (0.894369 0.447288 0) (0.894343 0.447343 0) (0.894308 0.447413 0) (0.894273 0.447504 0) (0.894243 0.447604 0) (0.894211 0.447713 0) (0.894183 0.447839 0) (0.894171 0.447961 0) (0.894163 0.448077 0) (0.894164 0.448194 0) (0.894184 0.448296 0) (0.894219 0.448379 0) (0.894263 0.448439 0) (0.894316 0.448469 0) (0.894372 0.448467 0) (0.894433 0.448444 0) (0.894495 0.448389 0) (0.894544 0.448299 0) (0.894583 0.448194 0) (0.894612 0.448078 0) (0.894626 0.447947 0) (0.894623 0.447813 0) (0.894607 0.447689 0) (0.894585 0.447576 0) (0.894556 0.447474 0) (0.894523 0.447386 0) (0.894491 0.447317 0) (0.894462 0.447266 0) (0.894438 0.447229 0) (0.894419 0.447205 0) (0.894406 0.447192 0) (0.894398 0.447186 0) (0.894393 0.447185 0) (0.894392 0.447186 0) (0.894392 0.447188 0) (0.894393 0.447191 0) (0.894395 0.447194 0) (0.894396 0.447196 0) (0.894397 0.447197 0) (0.894398 0.447198 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.447199 0) (0.8944 0.447201 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447202 0) (0.894398 0.447202 0) (0.894397 0.447204 0) (0.894396 0.447207 0) (0.894395 0.44721 0) (0.894395 0.447212 0) (0.894395 0.447217 0) (0.894398 0.44722 0) (0.894402 0.447222 0) (0.894407 0.447222 0) (0.894415 0.44722 0) (0.894422 0.447218 0) (0.894429 0.447214 0) (0.894432 0.447213 0) (0.894431 0.447217 0) (0.894423 0.447229 0) (0.894407 0.447254 0) (0.894384 0.447297 0) (0.894353 0.447356 0) (0.894314 0.447438 0) (0.894271 0.447543 0) (0.894228 0.447666 0) (0.894183 0.447808 0) (0.894144 0.447968 0) (0.894115 0.448132 0) (0.894091 0.4483 0) (0.894083 0.448468 0) (0.894092 0.44862 0) (0.894114 0.448756 0) (0.894156 0.448867 0) (0.894211 0.448939 0) (0.894277 0.44898 0) (0.894355 0.448991 0) (0.894437 0.448953 0) (0.894511 0.44887 0) (0.89458 0.448762 0) (0.894639 0.448628 0) (0.894679 0.448467 0) (0.8947 0.448294 0) (0.894705 0.448123 0) (0.894695 0.447955 0) (0.894671 0.447793 0) (0.894636 0.447647 0) (0.894595 0.447523 0) (0.894552 0.447421 0) (0.894512 0.44734 0) (0.894476 0.447278 0) (0.894446 0.447236 0) (0.894424 0.447209 0) (0.894408 0.447193 0) (0.894398 0.447185 0) (0.894392 0.447183 0) (0.89439 0.447184 0) (0.894391 0.447187 0) (0.894392 0.44719 0) (0.894393 0.447192 0) (0.894395 0.447195 0) (0.894396 0.447197 0) (0.894398 0.447198 0) (0.894398 0.447199 0) (0.894399 0.447199 0) (0.894399 0.447199 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.8944 0.4472 0) (0.894399 0.447201 0) (0.894399 0.447201 0) (0.894398 0.447202 0) (0.894397 0.447204 0) (0.894395 0.447206 0) (0.894394 0.447209 0) (0.894392 0.447214 0) (0.894392 0.447219 0) (0.894392 0.447224 0) (0.894395 0.447229 0) (0.8944 0.447233 0) (0.894408 0.447234 0) (0.894416 0.447233 0) (0.894424 0.447233 0) (0.894429 0.447235 0) (0.894428 0.447243 0) (0.894419 0.447264 0) (0.894398 0.447301 0) (0.894367 0.44736 0) (0.894325 0.447448 0) (0.894274 0.447566 0) (0.894218 0.447713 0) (0.894158 0.44789 0) (0.894101 0.448092 0) (0.894051 0.448311 0) (0.894009 0.448543 0) (0.893984 0.448778 0) (0.893975 0.449003 0) (0.893985 0.449214 0) (0.894019 0.449397 0) (0.89407 0.44954 0) (0.894142 0.449648 0) (0.894233 0.449705 0) (0.894332 0.449703 0) (0.894434 0.449649 0) (0.894537 0.44955 0) (0.89463 0.449403 0) (0.894707 0.449218 0) (0.894766 0.449006 0) (0.894803 0.44878 0) (0.894819 0.448548 0) (0.894812 0.448315 0) (0.894785 0.448095 0) (0.894744 0.447898 0) (0.894695 0.447725 0) (0.894641 0.447576 0) (0.894586 0.447455 0) (0.894535 0.447361 0) (0.894491 0.447292 0) (0.894456 0.447243 0) (0.894429 0.447211 0) (0.89441 0.447193 0) (0.894398 0.447184 0) (0.894391 0.447181 0) (0.894389 0.447182 0) (0.894389 0.447184 0) (0.89439 0.447188 0) (0.894392 0.447191 0) (0.894394 0.447193 0) (0.894396 0.447196 0) (0.894397 0.447197 0) (0.894398 0.447198 0) ) ; boundaryField { emptyPatches_empt { type empty; } top_cyc { type cyclic; } bottom_cyc { type cyclic; } inlet_cyc { type cyclic; } outlet_cyc { type cyclic; } } // ************************************************************************* //
a861455b6d1736a73f157342a5d3d881decfcf2e
e7682d26db65c23111c871a58c0a2fbba8f4e40d
/drv32/irq.cpp
fc723ad7e5a61b91037cb672cf0feb72a3cca96f
[]
no_license
OS2World/DRV-UNIAUD
42de2d1d9dd26f5337ec12d4fed56fa23075f329
9a759917d5f6a1aa9119d097975e2b84484792a7
refs/heads/master
2021-01-02T09:01:47.200875
2014-11-07T02:42:17
2014-11-07T02:42:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,793
cpp
irq.cpp
/* $Id: irq.cpp,v 1.5 2002/04/17 11:13:41 sandervl Exp $ */ /* * IRQ handler functions * * (C) 2000-2002 InnoTek Systemberatung GmbH * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, * USA. * */ #define INCL_NOPMAPI #define INCL_DOSINFOSEG // Need Global info seg in rm.cpp algorithms #include <os2.h> #include <devtype.h> #include <devinfo.h> #include <devhelp.h> #include <include.h> // Defn's for WatCom based drivers. #include <irqos2.h> #include <dbgos2.h> #include "irq.h" // List of handlers here. static FARPTR16 *pISR[NUM_IRQLEVELS] = { NULL, NULL, NULL, &ISR03, &ISR04, &ISR05, NULL, &ISR07, NULL, &ISR09, &ISR10, &ISR11, &ISR12, &ISR13, &ISR14, &ISR15 }; static PFNIRQ pfnAlsaIRQHandler = NULL; //****************************************************************************** //****************************************************************************** BOOL RMSetIrq(ULONG ulIrq, BOOL fShared, PFNIRQ pfnIrqHandler) { USHORT rc = 1; if(pISR[ulIrq] == NULL) { DebugInt3(); return FALSE; } if(fShared) { rc = DevIRQSet((WORD16) *pISR[ ulIrq ], (WORD16)ulIrq, 1 ); // first try shared shared } if (rc != 0) { // If error ... rc = DevIRQSet((WORD16) *pISR[ ulIrq ], (WORD16)ulIrq, 0); // failed, so try exclusive instead } if (rc != 0) { // If error ... dprintf(("ERROR: RMSetIrq %d %d %x FAILED!!", ulIrq, fShared, pfnIrqHandler)); DebugInt3(); return FALSE; } //Always called with the same handler if(pfnAlsaIRQHandler && (pfnAlsaIRQHandler != pfnIrqHandler)) { DebugInt3(); return FALSE; } pfnAlsaIRQHandler = pfnIrqHandler; return TRUE; } //****************************************************************************** //****************************************************************************** BOOL RMFreeIrq(ULONG ulIrq) { return (DevIRQClear((WORD16)ulIrq) == 0); } //****************************************************************************** //****************************************************************************** ULONG ALSA_Interrupt(ULONG irqnr); #pragma aux ALSA_Interrupt "ALSA_Interrupt" parm [ebx] ULONG ALSA_Interrupt(ULONG irqnr) { if(pfnAlsaIRQHandler == NULL) { DebugInt3(); return FALSE; } if(pfnAlsaIRQHandler(irqnr)) { cli(); // We've cleared all service requests. Send EOI and clear // the carry flag (tells OS/2 kernel that Int was handled). DevEOI( (WORD16)irqnr ); return TRUE; } // Indicate Interrupt not serviced by setting carry flag before // returning to OS/2 kernel. OS/2 will then shut down the interrupt! // NOTE: Make sure interrupts are not turned on again when this irq isn't ours! return FALSE; } //****************************************************************************** //******************************************************************************
8c8a7d3c9f5f9b9aa3408e3bf89e48a8ad216f3e
0c80aec0be5a600426006096a5c510c90b3ca949
/Spoj/RGB1/Сүү холих.cpp
2d6add2cf096901edd0daed3128e7727ca86a4c8
[]
no_license
skywithlight/Algorithms
7b8fd78874afffc8ae7c2775b53d2402cc165e65
06a13fbb73ea1404a7d0eaab56765ec2423f9e07
refs/heads/master
2020-03-23T21:20:04.814645
2018-10-16T03:59:42
2018-10-16T03:59:42
142,098,756
0
0
null
null
null
null
UTF-8
C++
false
false
813
cpp
Сүү холих.cpp
#include <iostream> #include <vector> using namespace std; int main(){ unsigned long long n, m, ans = 0; cin >> n >> m; vector< pair <long long, long long> > a(m); for (int i = 0; i < m; i++){ cin >> a[i].first >> a[i].second; } // sort (a.begin(), a.end()); bool swapped; unsigned long long len; len = m; do { swapped = false; for (int i = 1; i < len; i++){ if (a[i - 1].first > a[i].first){ swap(a[i - 1], a[i]); } swapped = true; } len--; } while (swapped == true); int i = 0; while (n > 0){ if (a[i].second <= n){ n = n - a[i].second; ans += (a[i].first * a[i].second); } else { ans += (a[i].first * n); n = 0; } i++; } cout << ans << endl; return 0; }
30e45f7cae13fe683c625ffa0f78d5dbae416fb8
35f97b6050845d78bba2fe3446637566cdec0aed
/sc/src/Preamble.cpp
6715c6aa2eaba59371dd22a073b9a76d6b90d267
[ "MIT" ]
permissive
msnh2012/GL_ogl_to_vlk
eb5932ef25c7d08278c1ab933a4f304bed9ba7cf
9b8863fc175b76ec565f034b25dcbbbdbb8a8ff6
refs/heads/master
2023-03-15T23:47:45.409201
2020-10-04T15:09:13
2020-10-04T15:09:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,634
cpp
Preamble.cpp
// // This file is part of the "sc" project // See "LICENSE" for license information. // #include <fmt/format.h> #include "std_lib.h" #include "Preamble.h" using namespace std; using namespace fmt; namespace { //---------------------------------------------------------------------------------------------------------------------- inline auto is_valid(const std::string& token) { constexpr array<const char*, 2> directives = { "#define", "#undef" }; for (auto& directive : directives) { if (string::npos != token.find(directive)) return true; } return false; } //---------------------------------------------------------------------------------------------------------------------- } // of namespace namespace Sc { //---------------------------------------------------------------------------------------------------------------------- Preamble::Preamble() noexcept : tokens_ {} { } void Preamble::token(const std::string& token) { if (!is_valid(token)) throw format("{} is invalid.", token); tokens_.append(token + '\n'); } //---------------------------------------------------------------------------------------------------------------------- std::string Preamble::str() const noexcept { return tokens_; } //---------------------------------------------------------------------------------------------------------------------- bool Preamble::empty() const noexcept { return tokens_.empty(); } //---------------------------------------------------------------------------------------------------------------------- } // of namespace Sc
5a849b1cb66ea969a14680b80a4dd1dbdb5db551
2be8edebdf05500dcb7108261e331dc66d651ac7
/cpp/td2/dico.cc
72773bfdfcf401bdca99eb83613645088fd29b19
[]
no_license
wissou92/Langage_av
fb362d30aa24707225deda664d7ba4293b2da709
05f3b32fd5137b4b800870eab03e454ad0291aa6
refs/heads/master
2020-08-02T06:46:21.161607
2019-12-20T10:21:14
2019-12-20T10:21:14
211,267,399
0
0
null
null
null
null
UTF-8
C++
false
false
1,267
cc
dico.cc
#include "dico.h" // DEFINITION Definition::Definition(char *m, char *def) { clef = CString(m); def = CString(def); } CString Definition::GetClef() const { return clef; } CString Definition::GetDef() const { cout < } // NODE Node::Node(Definition *d) { def=d; nextNode=NULL; } Node::~Node() { cout<<"destNode~"; } // DICO Dico::Dico(bool own) { head=new Node(NULL); length=0; isOwner=own; } Dico::~Dico() { Destroy(head); cout<<endl; } // Destruction récursive de la liste. void Dico::Destroy(Node *n) { if(n) { if(isOwner && n->def) delete n->def; Destroy(n->nextNode); delete n; } } void Dico::AddDef(Definition *newDef) { if(!newDef) return; Node* newNode = new Node(newDef); CString entry=newDef->Getclef(); Node *curNode=head; Node *tmp; while(tmp=curNode->nextNode) { CString curClef=tmp->def->GetClef(); if(curClef>entry) break; curNode=curNode->nextNode; } newNode->nextNode=tmp; curNode->nextNode=newNode; length++; } CString Dico::GetDef()(CString &entry) { Node* curNode= head->nextNode; CString def =""; while (curNode) { if(!strcmp(entry.GetString(), (curNode->def->GetClef()).getString())) { def=curNode->def->GetDef(); break; } curNode=curNode->nextNode; } return def; }
1e022259b9ec73ef052cf8fd94b04c28efc61e45
346ec890ff38822fef5f122188a52990a8a12710
/include/creature.h
f9de16f025a6eef13e7615a331165af0cd280962
[]
no_license
tupers/rune
9d9ff05ab881c94258ef26b7a64b25b4a8f1111e
bd27c64f9c636757b23fc7edc7f0a44fe904f024
refs/heads/master
2020-03-27T20:55:30.571064
2018-09-11T05:57:54
2018-09-11T05:57:54
147,102,792
0
0
null
null
null
null
UTF-8
C++
false
false
1,114
h
creature.h
#ifndef CREATURE_H #define CREATURE_H #include <string> #include <map> #include <vector> #include "type.h" #include "randomCore.h" using namespace std; class Creature { public: typedef struct { float value; }propertyUnit; typedef struct { string id; }componentUnit; typedef struct { float value; //property }damageUnit; typedef struct { Creature* source; vector<damageUnit> list; }damageInfo; private: string id; map<string, propertyUnit> propertyList; map<string, componentUnit> componentList; RandomCore randomEngine; public: Creature(const string &s = "none"):id(s){ propertyUnit b_hp = { .value = 1 }; propertyList["basic_health"] = b_hp; }; virtual void refresh(); virtual int load(string jsonPath, string id); string info(); string getId(){return id;} float getSpeed()const{return propertyList.find("basic_speed")->second.value;} float getHealth()const{return propertyList.find("health")->second.value;} virtual ~Creature(); //action virtual damageInfo attack(); virtual void defence(const damageInfo& damage); }; #endif /* CREATURE_H */
cbe04181804d13c4ad32445f5c1b7d90e9fd035a
7e385bf9e0740d12e691e2e1004ed4ad64bfcddb
/1249.cpp
d75b3ce78e65dc3c6b8d13000b1808186ce44467
[]
no_license
504281906/ACM
c23def3e50cbcbc020641d1df7021f6a75acd039
481d7d4d16f1cb421500aff3b747ccefe0f3d369
refs/heads/master
2021-01-23T04:13:40.729427
2017-04-18T02:07:34
2017-04-18T02:07:34
32,318,925
1
0
null
null
null
null
UTF-8
C++
false
false
207
cpp
1249.cpp
#include <stdio.h> int main() { int i,t,n; long f[10001]; scanf("%d",&t); f[1]=2; for (i=2;i<=10001;i++) f[i]=f[i-1]+6*(i-1); while (t--) { scanf("%d",&n); printf("%ld\n",f[n]); } return 0; }
41c4df54b26c20c3bd3a94ff9fbd900f5d63ac70
a3d0f92c3fd95c9d0d844405ac80a246ceb86c03
/src/database/coregl/SoXipDepthTest.cpp
1a8378cb1a017ef8ee5d3522ee745d2138e2157b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JoonVan/xip-libraries
79cc97e84ea45e30e0dc61fd8a98503a36fe9194
9f0fef66038b20ff0c81c089d7dd0038e3126e40
refs/heads/master
2020-12-20T18:49:48.942407
2013-06-25T20:57:19
2013-06-25T20:57:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,780
cpp
SoXipDepthTest.cpp
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ #include <xip/system/standard.h> #include "SoXipDepthTest.h" #include <xip/inventor/coregl/SoXipDepthTestElement.h> SO_NODE_SOURCE(SoXipDepthTest); SoXipDepthTest::SoXipDepthTest() { SO_NODE_CONSTRUCTOR(SoXipDepthTest); SO_NODE_ADD_FIELD(enableDepthTest, (true)); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, NEVER); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, ALWAYS); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, LESS); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, LEQUAL); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, EQUAL); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, GEQUAL); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, GREATER); SO_NODE_DEFINE_ENUM_VALUE(DepthFunc, NOTEQUAL); SO_NODE_SET_SF_ENUM_TYPE(depthFunc, DepthFunc); SO_NODE_ADD_FIELD(depthFunc, (LESS)); } SoXipDepthTest::~SoXipDepthTest() { } void SoXipDepthTest::initClass() { SO_NODE_INIT_CLASS(SoXipDepthTest, SoNode, "Node"); SO_ENABLE(SoGLRenderAction, SoXipDepthTestElement); } void SoXipDepthTest::GLRender(SoGLRenderAction *action) { SoXipDepthTestElement::setEnabled(action->getState(), enableDepthTest.getValue()); SoXipDepthTestElement::setDepthFunc(action->getState(), depthFunc.getValue()); }
8d9ff2fadcf119ed76d16d228d5ee43ebfb8d2e8
09ff2fc33ef919a2019a47de47457e355de70924
/include/libmath/exp.hpp
ebbf16ab3d01766239363c2628d2ee7c092a36fd
[]
no_license
LudoBike/Math-library
f50cf1beb541b1b101fe1115daeb5edf1bcd4874
aa683f716ba5c07c9a50c282617c6a19d2b9412b
refs/heads/master
2021-01-10T16:56:39.400349
2016-04-11T10:17:29
2016-04-11T10:17:29
51,687,574
0
0
null
null
null
null
UTF-8
C++
false
false
515
hpp
exp.hpp
/* Math library Exponential function implementation */ #ifndef __EXP_HPP__ #define __EXP_HPP__ #include <type_traits> namespace math { template<typename T> std::enable_if_t<std::is_floating_point<T>{}, T> exp(T const x) { T k; T x_pow_k = 1, fact_k = 1; T to_return = 0; for (k = 0; k < 10; ++k, x_pow_k *= x, fact_k *= k) { to_return += x_pow_k/fact_k; } return to_return; } } #endif // __EXP_HPP__
d303f34b1efbe2f55a78440d049ed2551a9d2a38
df9efcfbde3b1a2877945456b8a5078d627e6928
/TIMEDSORTS/MergeSortImp.cpp
b58cc010ad5930b336fa431d4a22be0fa5a7e965
[]
no_license
SogangSW/TIMEDSORTS
a4eabbd03bb6b5981d7d20ea3b742f8a9226a354
c9b27a06e3a7d8c779ab2c5c26ee71e5f219e265
refs/heads/master
2021-05-31T01:09:21.907792
2016-03-28T14:58:36
2016-03-28T14:58:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,243
cpp
MergeSortImp.cpp
#include "MergeSortdef.h" int MergeSort::min(int x, int y) { return (x < y) ? x : y; } void MergeSort::merge(int arr[], int a, int b) { int mid = floor((a + b) / 2); int i1 = 0; int i2 = a; int i3 = mid + 1; int *temp = NULL; temp = new int[b - a + 1]; while (i2 <= mid && i3 <= b) { if (arr[i2] < arr[i3]) { temp[i1++] = arr[i2++]; } else { arr[i1++] = arr[i3++]; } } while (i3 < b) { temp[i1++] = arr[i3++]; } for (int i = a; i <= b; i++) { arr[i] = temp[i - a]; } delete[] temp; } void MergeSort::mergeSort(int arr[], int z, int x) { m_timeS = clock(); if (z < x) { comparisons++; int mid = floor((z + x) / 2); mergeSort(arr, z, mid); mergeSort(arr, mid + 1, x); merge(arr, z, x); } m_timeE = clock(); m_time_Spent = (float)(m_timeE - m_timeS) / CLOCKS_PER_SEC; setMergeTime(m_time_Spent); setComparisons(comparisons); } void MergeSort::setComparisons(int comp) { this->comparisons = comp; } int MergeSort::getComparisons() { return this->comparisons; } void MergeSort::setMergeTime(float m_Time) { this->m_time_Spent = m_Time; } float MergeSort::getMergeTime() { return this->m_time_Spent; }
cd12c7d71eaccfb6ba3e48c1e42b77613ff11e37
c53d25b27b443ad7a2d367d91321d041ba1095b6
/POJ/1276_Cash Machine/1276.cc
0927d8665b24771b7c5061f7f40973717a9e5bdd
[ "MIT" ]
permissive
hangim/ACM
52323c5e890549e91b17e94ca5f69125e7dc6faf
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
refs/heads/master
2021-01-19T13:52:22.072249
2015-09-28T12:31:11
2015-09-28T12:31:11
19,826,325
1
0
null
null
null
null
UTF-8
C++
false
false
991
cc
1276.cc
#include <iostream> #include <cstring> using namespace std; const int INF = 1 << 29; int main() { int cash, n, w[10], c[10]; int dp[100001]; while (cin >> cash >> n) { for (int i = 0; i < n; i++) cin >> c[i] >> w[i]; for (int i = 0; i <= cash; i++) dp[i] = INF; dp[0] = 0; for (int i = 0; i < n; i++) { int k = 1; while (k <= c[i]) { for (int j = cash; j >= w[i] * k; j--) { dp[j] = min(dp[j], dp[j - w[i] * k] + k); } c[i] -= k; k *= 2; } if (c[i]) for (int j = cash; j >= w[i] * c[i]; j--) { dp[j] = min(dp[j], dp[j - w[i] * c[i]] + c[i]); } } for (int i = cash; ; i--) { if (dp[i] < INF) { cout << i << endl; break; } } } return 0; }
305b278518f2911989a7cd9d2caa2ddbc61a4232
44161564df358d4b106f24bd8992e4621b8808ee
/ServerSocket.h
c03ec0866de8fe9b96cac7b918e129b82a743683
[]
no_license
SelmerZhang/ChatRoomServer
017eb4e2f6e8ebd3d75e265c4b8f952ae3dd53d1
890b30c1971ed82c4ae53b7dbe729ca7a5537e81
refs/heads/master
2020-03-18T23:45:34.448397
2018-05-30T10:15:52
2018-05-30T10:15:52
135,425,875
0
0
null
null
null
null
GB18030
C++
false
false
1,041
h
ServerSocket.h
#pragma once #include "stdafx.h" #include "Message.h" /* 服务器端的socket,用于监听连接和接收、发送消息 */ class ServerSocket : public CSocket { public: ServerSocket(); virtual ~ServerSocket(); public: CPtrList m_pList;//保存服务器上所有socket的链表,表头为监听socket CPtrList *m_ptoList; CString m_UserName; //连接的客户端的用户名 public: virtual void OnClose(int nErrorCode); virtual void OnAccept(int nErrorCode); //接受客户端的连接请求 virtual void OnReceive(int nErrorCode); //收到客户端发来的消息 void OnRegister(Message* rcvMsg); //处理注册消息 void SaveUserinfoToFile(); void OnFindPassword(Message* rcvMsg); void UpdateClientList(); void OnLogin(Message* rcvMsg); }; typedef struct file_user_info //存储用户信息的结构体 { char username[20]; char password[40]; char answer[40]; char online; int userIndex; SOCKADDR addr; SOCKADDR fileaddr; }UserInfo; extern CPtrList UserInfoList; //维护用户信息的全局链表
5f6158f7a07260b74167139d7ff0c7e4053e9ef4
bcfbb6a1f010956b7b5e5414f8652e94aa8c5634
/BOJ/cpp/1202 보석 도둑/1202.cpp
d73de06bf273870e454f0c7d3d8a13e56eab25a4
[]
no_license
YoungWoo93/BOJ
367e0231868ed61753cfb62edc6d2d5c153bf2fd
99bf0f79a0ee9780f794bd124558d104cae08836
refs/heads/master
2023-07-23T16:00:00.234777
2023-07-12T01:59:02
2023-07-12T01:59:02
306,249,576
1
0
null
2020-10-28T14:36:42
2020-10-22T06:57:12
C++
UTF-8
C++
false
false
1,501
cpp
1202.cpp
#include <problem.h> #ifdef _1202_ /// /// problem /// https://www.acmicpc.net/problem/1202 /// /// solution /// https://dev-game-standalone.tistory.com/entry/BOJ-1202%EB%B2%88-%EB%B3%B4%EC%84%9D-%EB%8F%84%EB%91%91 /// #include <iostream> #include <vector> #include <queue> #include <set> #include <algorithm> #include <stdio.h> using namespace std; struct sortRule { bool operator()(pair<int, int> first, pair<int, int> second) { //if(first.second != second.second) return first.second < second.second; //return first.first < second.first; } }; void input(priority_queue<pair<int, int>, vector<pair<int, int>>, sortRule>& jewelList, multiset<int>& bagList) { int jewalCount; int bagCount; cin >> jewalCount >> bagCount; for (int i = 0; i < jewalCount; i++) { pair<int, int> temp; //cin >> temp.first >> temp.second; scanf("%d %d", &temp.first, &temp.second); jewelList.push(temp); } for (int i = 0; i < bagCount; i++) { int temp; //cin >> temp; scanf("%d", &temp); bagList.insert(temp); } } int main() { priority_queue<pair<int, int>, vector<pair<int,int>>, sortRule> jewelList; multiset<int> bagList; unsigned long long result = 0; input(jewelList, bagList); while (!jewelList.empty() && !bagList.empty()) { auto item = jewelList.top(); jewelList.pop(); auto iter = bagList.lower_bound(item.first); if (iter != bagList.end()) { result += item.second; bagList.erase(iter); } } cout << result; return 0; } #endif
8e994f7f13fbd4f47e83856af5d7cd47e6c81df7
11cf0ec1299b719e1e956a46767673b40bfb1901
/Code/source/shell.cpp
0aa6171486ebd9632080cf0eed0aa7a337b9ab8e
[]
no_license
martinerb/RFduino
21048e55be76d8de2f2b8450285838e37b2bbe55
78e8d51df6be48ad625ce5df4acc3278f8db101a
refs/heads/master
2016-09-05T17:38:48.275907
2015-03-24T10:28:45
2015-03-24T10:28:45
27,217,847
0
0
null
null
null
null
UTF-8
C++
false
false
3,727
cpp
shell.cpp
// Copyright (c) 2014 Martin Erb // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to // do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. #include "shell.h" #include "stdio.h" #include "string.h" #include "Arduino.h" #include "variant.h" typedef struct { fcn_ptr command; bool exit_shell; char command_name[24]; char* help_text; } command_struct; command_struct allcommands[MAXNUMBEROFFUNCTIONS]; int commandcounter = 0; void helpOutput(); void shell() { char* help_test = "print a helpoutput for all commands\n"; addNewCommand(helpOutput, "help", help_test,false); Serial.println("Starting Shell!!"); char* shell_prompt = "cmd> "; uint32_t exit = 1; int32_t len = 0; char input[64] = ""; uint8_t command_to_execute = 0; uint32_t counter = 0; int a = 0; while (exit) { Serial.print(shell_prompt); do { if (Serial.available() > 0) { input[len] = (char) Serial.read(); // if(input[len] == 0x7F){ // input[len] = 0; // len -=2; // } if ((input[len]) == '\r') { len++; break; } Serial.print(input[len]); len++; } } while (1); len--; input[len] = 0; Serial.println(""); if (strcmp(input, "exit") == 0) { exit = 0; } else { while (counter < commandcounter) { if (strcmp(input, allcommands[counter].command_name) == 0) { if (allcommands[counter].exit_shell == true) exit = 0; allcommands[counter].command(); command_to_execute = 1; break; } counter++; } if (command_to_execute == 0) { Serial.println(""); Serial.println("Unknwon Command!"); } } len = 0; counter = 0; command_to_execute = 0; } Serial.println("\n\rClose shell"); } void addNewCommand(fcn_ptr function_pointer, char command_name[24], char* help_text, bool exit_shell) { allcommands[commandcounter].command = function_pointer; allcommands[commandcounter].exit_shell = exit_shell; int i; for (i = 0; i < 24; i++) { allcommands[commandcounter].command_name[i] = command_name[i]; } allcommands[commandcounter].help_text = help_text; commandcounter++; } void helpOutput() { Serial.println("-----------------------------------------"); Serial.println("Helpfunction"); Serial.println("The following Commands are availabel now!"); Serial.println("exit:\t\tclose the shell and returns to main"); Serial.println("restart:\trestart the program at the mainfunction"); Serial.println("shutdown:\tclose the program and stop raspbootcom"); Serial.println("load:\t\tstart raspbootin and reload the kernel"); int i; for (i = 0; i < commandcounter; i++) { if (allcommands[i].help_text != 0) { Serial.printf("%s:\t\t%s\r\n", allcommands[i].command_name, allcommands[i].help_text); } } Serial.println(""); }
b26cae6b71994dc53823b489576b9ac963db5d90
748e950db2ab4511a0f32957e653fc0e025d6c20
/Day2/RPNCalculator/src/MathFactory.cpp
01257194427491762f6a942875f23c60f9287ac9
[]
no_license
tektutor/tdd-c--july2018
f4b9e133f94916ab6bbd30441858ffb97bf9472f
7057d7358e95733d277097801db8c09467e24fd6
refs/heads/master
2020-03-22T17:44:58.900540
2018-07-10T11:36:54
2018-07-10T11:36:54
140,413,298
0
0
null
null
null
null
UTF-8
C++
false
false
381
cpp
MathFactory.cpp
#include "MathFactory.h" map<string,MathOperation*> MathFactory::mathOperatorMap; MathOperation* MathFactory::getMathObject ( string mathOperator ) { mathOperatorMap["+"] = new Addition(); mathOperatorMap["-"] = new Subtraction(); mathOperatorMap["*"] = new Multiplication(); mathOperatorMap["/"] = new Division(); return mathOperatorMap.find ( mathOperator )->second; }
e7f9a57280ad616aa2f91b34903afc8a6c84121c
1479561071f34bc92cba23cb9d99efdcf71f05cd
/test/test_cancel.cpp
e9baffb16be78c07902e0faaba1283dc9dbff550
[ "MIT" ]
permissive
bloomen/transwarp
9c9203b8f5f655cd6d875149024612d4ff2c8e39
4c7b2e492b6c389f76d3e4001aeecf4ff516b22c
refs/heads/master
2023-06-01T01:17:52.491657
2023-05-18T09:33:10
2023-05-18T09:33:10
79,993,446
633
58
MIT
2022-06-24T10:53:16
2017-01-25T07:43:33
C++
UTF-8
C++
false
false
2,693
cpp
test_cancel.cpp
#include "test.h" template<typename Functor, typename TaskType> void cancel_with_schedule_all(int expected, Functor functor, TaskType task_type) { std::atomic_bool cont(false); auto f0 = [&cont] { while (!cont); return 42; }; auto task1 = tw::make_task(tw::root, f0); auto task2 = tw::make_task(task_type, functor, task1); tw::parallel executor(2); task2->schedule_all(executor); task2->cancel_all(true); cont = true; REQUIRE_THROWS_AS(task2->future().get(), tw::task_canceled); task2->cancel_all(false); task2->schedule_all(executor); REQUIRE(expected == task2->future().get()); } TEST_CASE("cancel_with_schedule_all_called_before_in_parallel_and_uncancel") { cancel_with_schedule_all(55, [] (int x) { return x + 13; }, tw::consume); cancel_with_schedule_all(55, [] (int x) { return x + 13; }, tw::consume_any); cancel_with_schedule_all(13, [] () { return 13; }, tw::wait); cancel_with_schedule_all(13, [] () { return 13; }, tw::wait_any); } TEST_CASE("cancel_with_schedule_all_called_after") { auto f0 = [] { return 42; }; auto f1 = [] (int x) { return x + 13; }; auto task1 = tw::make_task(tw::root, f0); auto task2 = tw::make_task(tw::consume, f1, task1); task2->cancel_all(true); tw::sequential executor; task2->schedule_all(executor); REQUIRE(task2->future().valid()); } struct functor : tw::functor { functor(std::condition_variable& cv, std::mutex& mutex, bool& flag, std::atomic_bool& cont, bool& started, bool& ended) : cv(cv), mutex(mutex), flag(flag), cont(cont), started(started), ended(ended) {} void operator()() { { std::lock_guard<std::mutex> lock(mutex); flag = true; } cv.notify_one(); while (!cont); started = true; transwarp_cancel_point(); ended = true; } private: std::condition_variable& cv; std::mutex& mutex; bool& flag; std::atomic_bool& cont; bool& started; bool& ended; }; TEST_CASE("cancel_task_while_running") { tw::parallel exec{1}; std::condition_variable cv; std::mutex mutex; bool flag = false; std::atomic_bool cont{false}; bool started = false; bool ended = false; functor f(cv, mutex, flag, cont, started, ended); auto task = tw::make_task(tw::root, f); task->schedule(exec); { std::unique_lock<std::mutex> lock(mutex); cv.wait(lock, [&flag] { return flag; }); } task->cancel(true); cont = true; task->wait(); REQUIRE(started); REQUIRE_FALSE(ended); REQUIRE_THROWS_AS(task->get(), tw::task_canceled); }
8e1efc6b4937d5b79d82977d1aa52d77cb2bcea6
a669f5bc2527de0175d808ec5466cbf884453493
/zerork/src/zerork/perf_net.h
8d693b5a52fa6b4d7a0b86137994ad8be8e0ccfa
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ZmengXu/zero-rk
032c425862ba6a0500a7ce615c519cf570bdcb7c
9341e4f5b96371861e4ba0706c00fac9093d4fd0
refs/heads/master
2020-07-31T00:56:35.648254
2019-07-01T22:17:32
2019-07-01T22:17:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,482
h
perf_net.h
#ifndef ZERORK_PERF_NET_H #define ZERORK_PERF_NET_H #include "info_net.h" #include "rate_const.h" #include "external_funcs.h" namespace zerork { typedef struct { int reactantIdx; int stepIdx; int specIdx; } multSort; int compare_multSort(const void *x, const void *y); int compareSpecStep_multSort(const void *x, const void *y); int compareStepSpec_multSort(const void *x, const void *y); class perf_net { public: perf_net(info_net &netobj, rate_const &Kobj); virtual ~perf_net(); void calcRatesFromTC(const double T, const double C[], double netOut[], double createOut[], double destroyOut[], double stepOut[]); void calcRatesFromTCM(const double T, const double C[], const double C_mix, double netOut[], double createOut[], double destroyOut[], double stepOut[]); void calcRatesFromExplicit(const double T, const double C[], double netOut[], double createOut[], double destroyOut[], double stepOut[]); void calcRatesFromTC_unroll16(const double T, const double C[], double netOut[], double createOut[], double destroyOut[], double stepOut[]); void calcRatesFromTC_perturbROP(const double T, const double C[], const double perturbMult[], double netOut[], double createOut[], double destroyOut[], double stepOut[]); // void writeExplicitRateFunc(const char *fileName, const char *funcName); // void writeExplicitRateFunc_minAssign(const char *fileName, // const char *funcName); void writeExternalFuncs(); void write_func_check(FILE* fptr); void write_func_rates(FILE* fptr); void setUseExRates(){ use_external_rates = true; }; void unsetUseExRates(){ use_external_rates = false; }; void setExRatesFunc(external_func_rates_t fn_handle) { ex_func_calc_rates = fn_handle; }; protected: int nStep; int nSpc; int totProd; int totReac; int maxReactants; // index storage arrays int *reactantSpcIdxList; int *reactantStepIdxList; int *productSpcIdxList; int *productStepIdxList; // working arrays: double *stepRate; double *netSpcProdRate; double *spcDestroyRate; double *spcCreateRate; rate_const *rateConstPtr; info_net *infoPtr; bool use_external_rates; external_func_rates_t ex_func_calc_rates; double cpuKTime,cpuStepTime,cpuProdTime,cpuNetTime; }; } // namespace zerork #endif
ecb6447b48b70daa3d2112947ecf4d5dbc341e4f
22cfc0e071e6f38a568f72df1e6fa328ce96df70
/bin/Inc/WinAPI/WinINetI.inc
429ecafbd98c6d84129045022838f8ed21d08873
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
CN-xLeaves/LzRPA
e0ffa58b449f78ceade57a8000e019e340149110
eb40d5bc2c09e4aaba86276cf1a0331b3acd002e
refs/heads/master
2020-07-01T23:00:30.849126
2020-01-25T20:34:14
2020-01-25T20:34:14
201,329,440
4
0
null
null
null
null
UTF-8
C++
false
false
42
inc
WinINetI.inc
#INCLUDE THIS ONCE #INCLUDE "WinINet.inc"
7a4b2fa47bbb4f23ff470929f618e9417dfd53f9
f7c30f1c5c622c40496170a193693260c5633296
/zip/ZipFile.h
5a6ba94ff890b5782f14c740d2e56dafa1c25f75
[]
no_license
noodle1983/UnityAndroidIl2cppPatchDemo-libboostrap
84596b45d961edcbfcb26e4ed2a47370fa1e6af1
7594c4d715a655460ec4801c1e7ef175f6139616
refs/heads/master
2022-05-11T21:50:55.586689
2022-03-07T14:27:45
2022-03-07T14:27:45
167,650,240
114
59
null
2022-03-07T14:27:47
2019-01-26T04:38:23
C++
UTF-8
C++
false
false
2,057
h
ZipFile.h
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // General-purpose Zip archive access. This class allows both reading and // writing to Zip archives, including deletion of existing entries. // #ifndef __LIBS_ZIPFILE_H #define __LIBS_ZIPFILE_H #include <utils/Errors.h> #include <stdio.h> #include "ZipEntry.h" namespace android { class EndOfCentralDir { public: EndOfCentralDir(void) : mDiskNumber(0), mDiskWithCentralDir(0), mNumEntries(0), mTotalNumEntries(0), mCentralDirSize(0), mCentralDirOffset(0), mCommentLen(0), mComment(NULL) {} virtual ~EndOfCentralDir(void) { delete[] mComment; } status_t readBuf(const unsigned char* buf, int len); status_t write(FILE* fp); //unsigned long mSignature; unsigned short mDiskNumber; unsigned short mDiskWithCentralDir; unsigned short mNumEntries; unsigned short mTotalNumEntries; unsigned long mCentralDirSize; unsigned long mCentralDirOffset; // offset from first disk unsigned short mCommentLen; unsigned char* mComment; enum { kSignature = 0x06054b50, kEOCDLen = 22, // EndOfCentralDir len, excl. comment kMaxCommentLen = 65535, // longest possible in ushort kMaxEOCDSearch = kMaxCommentLen + EndOfCentralDir::kEOCDLen, }; void dump(void) const; }; }; // namespace android #endif // __LIBS_ZIPFILE_H
69642991fee9a4f09b626e40c5434470455b3bb8
90993e6b40799a7011dfea6b962caba704ecd4cc
/graphicsclass.h
1d62f49a884d58585ea3b970f616d93f2e742fab
[]
no_license
SilverXenolupus/DMArcadeInterface
454e797b91503b3445d84a5efcfa3d10ae58cd75
435b07ed227002beaeb4591a9ee5ea031ac06c5e
refs/heads/master
2021-01-16T21:23:21.299231
2015-06-30T18:23:44
2015-06-30T18:28:07
38,325,026
0
0
null
null
null
null
UTF-8
C++
false
false
1,388
h
graphicsclass.h
#ifndef _GRAPHICSCLASS_H_ #define _GRAPHICSCLASS_H_ #define _CRT_SECURE_NO_WARNINGS #include <math.h> #include "d3dclass.h" #include "debugoutput.h" #include "cameraclass.h" #include "modelclass.h" #include "lightshaderclass.h" #include "lightclass.h" #include "textureshaderclass.h" #include "bitmapclass.h" #include "textclass.h" #include "GameInfo.h" #include "transparentshaderclass.h" #include "textureshaderclass.h" const bool FULL_SCREEN = false; const bool VSYNC_ENABLED = true; const float SCREEN_DEPTH = 1000.0f; const float SCREEN_NEAR = 0.1f; class GraphicsClass { public: GraphicsClass(); GraphicsClass(const GraphicsClass&); ~GraphicsClass(); bool Initialize(int, int, HWND); void Shutdown(); bool Frame(string[], string[], int, int[], int, int, float, float, float, int&); bool Render(float[], float[], float[], int, float, float, float); private: D3DClass* m_D3D; DebugOutput* m_Log; CameraClass* m_Camera; ModelClass* m_Models[8]; //ModelClass* m_Textures[]; ModelClass* m_DMModel; ModelClass* m_FadeModel; ModelClass* m_ChooseModel; ModelClass* m_ArrowL; ModelClass* m_ArrowR; LightShaderClass* m_LightShader; LightClass* m_Light; TextureShaderClass* m_TextureShader; BitmapClass* m_Bitmap; TextClass* m_Text; TransparentShaderClass* m_TransparentShader; float turnAmount = 0; float x = 0.01f; float zoom = 0; float fade = 1; }; #endif
5b19ebcefeca85c94f22aa8a87bc66a8f15362e0
8564add3f8918a437269bb3e9c9efeff19852741
/TomaszRoczniak2DEngine/src/Application.cpp
363a5c3cd12a1e25b3ce52a0d0df6ff0b7301b03
[]
no_license
tomaszr123/2DEngine
e6f43e1eae6d50bea04e6b9b7ce789949315bafd
3145fdee6b89e8ee3afa5bebb7b14eccac15b30c
refs/heads/master
2021-01-18T15:18:56.728784
2015-01-29T11:05:12
2015-01-29T11:05:12
26,112,836
0
0
null
null
null
null
UTF-8
C++
false
false
4,612
cpp
Application.cpp
#include <stdio.h> #include <stdlib.h> #include "Application.h" #include <assert.h> #include "CTexture.h" #include "CSpritebatch.h" void APIENTRY glErrorCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam) { (void)source; (void)type; (void)id; (void)severity; (void)length; (void)userParam; printf((std::string(message) + std::string("\n\n")).c_str()); } // initialise static variables Application * Application::ms_singleton = nullptr; void Application::CreateSingleton() { ms_singleton = new Application(); } void Application::DestroySingleton() { delete ms_singleton; ms_singleton = nullptr; } Application *Application::GetInstance() { assert( ms_singleton && "Application be Created First - use CreateSingleton(...)"); return ms_singleton; } Application::Application() { m_uiWindowWidth = 800; m_uiWinidowHeight = 600; m_bFullScreen = false; m_bFrameworkClosed = false; m_bVSyncEnabled = false; } Application::~Application() { delete m_texture; delete m_spriteBatch; m_texture = nullptr; m_spriteBatch = nullptr; } bool Application::InitialseWindow(unsigned int a_uiWindowWidth, unsigned int a_uiWindowHeight, bool a_bFullScreen /*= false*/) { m_uiWindowWidth = a_uiWindowWidth; m_uiWinidowHeight = a_uiWindowHeight; m_bFullScreen = a_bFullScreen; if(!glfwInit()) { return false; } // this creates the window to the size that was passed in and checks if full screen or not glfwOpenWindowHint(GLFW_WINDOW_NO_RESIZE,GL_TRUE); glfwOpenWindow(m_uiWindowWidth, m_uiWinidowHeight, 8,8,8,8, 24, 8,(m_bFullScreen) ? GLFW_FULLSCREEN:GLFW_WINDOW); glfwDisable(GLFW_AUTO_POLL_EVENTS); glfwSetWindowTitle("Application"); // enable / disable vSync EnableVSync(m_bVSyncEnabled); glewExperimental = true; if(glewInit() != GLEW_OK) { glfwTerminate(); return false; } // Setup OpenGL error callbacks if supported if (glewIsSupported("GL_ARB_debug_output")) { glDebugMessageCallbackARB(glErrorCallback, nullptr); glEnable(GL_DEBUG_OUTPUT); } else { printf("OpenGL error callbacks are not supported"); } const char* fontName = "./arial.png"; const char* xmlName = "./arial.xml"; m_texture = new CTexture(); m_spriteBatch = new CSpritebatch(m_uiWindowWidth, m_uiWinidowHeight); m_spriteBatch->Begin(); // sets the colour for the screen glClearColor(0.2f, 0.2f, 0.2f, 1.0f); //Enable some Blending. glEnable(GL_TEXTURE_2D); glEnable(GL_BLEND); glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); glDisable(GL_CULL_FACE); return true; } // closes th window and shuts down the full framework void Application::Shutdown() { m_spriteBatch->End(); glfwCloseWindow(); glfwTerminate(); //delete m_font; //m_font = nullptr; } void Application::EnableVSync(bool a_bEnabled) { m_bVSyncEnabled = a_bEnabled; glfwSwapInterval( (m_bVSyncEnabled)?0:1 ); } // gets the window width unsigned int Application::GetWindowWidth() { return m_uiWindowWidth; } // gets the window height unsigned int Application::GetWindowHeight() { return m_uiWinidowHeight; } // framework update and checks if its still running or been closed bool Application::FrameworkUpdate() { glfwSwapBuffers(); glfwPollEvents(); m_bFrameworkClosed = glfwGetWindowParam( GLFW_OPENED ); return m_bFrameworkClosed; } // clears the back buffer void Application::ClearScreen() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); } float Application::GetDeltaTime() { float lastTime = 0.0; gametime.elapsedGameTime = glfwGetTime(); gametime.DeltaTime = glfwGetTime() - lastTime; lastTime = glfwGetTime(); return gametime.DeltaTime; } // Create and Draw a Texture to the screen also Destroy a Texture functions unsigned int Application::CreateTexture(const char *filename) { return m_texture->CreateTexture(filename); } void Application::DestroyTexture(unsigned int textureID) { m_texture->DestroyTexture(textureID); } void Application::DrawTexture(unsigned int textureID, float xPos, float yPos, float width /*= 0*/, float height /*= 0*/, float rotation /*= 0*/, float xOrigin /*= 0.5f*/, float yOrigin /*= 0.5f*/) { m_spriteBatch->DrawTexture(textureID, xPos, yPos, width, height, rotation, xOrigin, yOrigin); } // Create, Draw and Destroy a Font Function unsigned int Application::CreateFont() { return 0;//m_font->LoadFont("arial.png", "arial.xml"); } void Application::DestroyFont(unsigned int fontID) { //m_font->DestroyFont(fontID); } void Application::DrawFont(const char* text, float xPos, float yPos, float size) { //m_font->DrawString(text, xPos, yPos, size); }
76175b7d786e4f70b034d1c8d51f57971a8fd4f7
b4221d69ee615a6f49d9d8f3720403beab077b95
/PersonnelReport.cpp
bc19febe9b05feef1c3d76173890d3dca2da2376
[]
no_license
01134iexist/CplusplusChapter14Numdays-Timeoff-andPersonnelReport
32e67864c597362005cca18254857be38413bbca
221839f5c18784280a13f5d01d71ffcf19d42ff5
refs/heads/master
2020-03-14T17:57:20.974876
2018-05-01T15:53:14
2018-05-01T15:53:14
131,732,008
0
0
null
null
null
null
UTF-8
C++
false
false
610
cpp
PersonnelReport.cpp
#include "TimeOff.h" #include <iostream> #include <string> #include <fstream> using namespace std; int main() { //gathering user input cout << "Enter amount of time worked (in months) : " << endl; int months; cin >> months; //creating time off object TimeOff testing; testing.setMaxVacation(months); cout << "Vacations hours accumulated : " << testing.getMaxVacation() << endl; cout << "Sick days accumulated : " << months << endl; /*employees accumulate 8 hours of sick leave a month; 8 hours equals 1 work day, therefore employees are allowed one sick day a month*/ system("pause"); return 0; }
f9d5be106ea343e2320bef102f312ea0ee96fb26
2c8c79094ef43b61cb0045c9d381b21c5e7ad8eb
/labs/lab08_google_tests/date.h
1df3021877f50955653eb9bccad2f4af599725c2
[ "MIT" ]
permissive
jonathanzhang98/campus-bus-simulation-system
952ba11640b99b5e5d0505e73aef63a4db31c6ec
0a773cdc2fe6252fe2ab6976e242e31800c55d37
refs/heads/master
2022-11-05T02:10:00.581445
2020-06-24T07:01:15
2020-06-24T07:01:15
272,104,174
1
0
null
null
null
null
UTF-8
C++
false
false
2,383
h
date.h
/** * @file date.h * * @copyright 208 3081 Staff, All rights reserved. */ #ifndef SRC_DATE_H_ #define SRC_DATE_H_ /******************************************************************************* * Class Definitions ******************************************************************************/ /** * @brief A simple representation of a date * It is stored as year, month, and day. Typically displayed as YYYY-MM-DD. */ class Date { public: /** * Constructors **/ Date(void); //Current date Date(int year, int month, int day); /** * Constructor * param [in] epoch: an approximation of the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970 * * Converts epoch time given to this Date format and stored. **/ Date(int epoch); /** * Adding days to the date. * param [in] rhs: right hand side of this+rhs * param [out] New Date object representing the date which is "days" number of days after the date currently stored **/ Date operator+(int days) const; /** * Subtracting days from the date. * param [in] rhs: right hand side of this+rhs * param [out] New Date object representing the date which is "days" number of days before the date currently stored **/ Date operator-(int days) const; /** * Number of days between this date and the date provided * param [in] rhs: left hand side of this-rhs * param [out] number of days between the two dates **/ int DaysBetween(const Date& date) const; /** * Accessor: Get the date as a string in YYYY-MM-DD format * param [out] Date formatted as a YYYY-MM-DD string **/ std::string GetDate() const; /** * Accessor: Get the date as a string in MM-DD-YYY format * param [out] Date formatted as a MM-DD-YYYY string **/ std::string GetUsDate() const; /** * Print the date in YYYY-MM-DD format * param [in] boolean flag, true: print newline, false: don't **/ void PrintDate(bool newline) const; /** * Print the date in MM-DD-YYYY format * param [in] boolean flag, true: print newline, false: don't **/ void PrintUsDate(bool newline) const; private: int yyyy_, mm_, dd_; int ConvertToDays(int yyyy, int mm, int dd) const; int * ConvertFromDays(int days) const; }; #endif /* SRC_DATE_H_ */
ed104019409c6684831afaf9dd3a6968967004c3
f9823b937b589e07af236bdd111dcd95458d348f
/IdasDream/OrthoArcballCamera.cpp
483c73019843581c53a90398e53561a7e2f05c5d
[]
no_license
jercypackson/ezg18-IdasDream
ff083bccf76e65be47d8eae253258dd28638b65f
c72f088f41cf2ad10597c90caea715b9c8b73a92
refs/heads/master
2022-03-29T05:08:03.997264
2019-01-18T19:45:25
2019-01-18T19:45:25
148,811,915
0
0
null
2020-01-18T09:42:40
2018-09-14T16:00:49
C++
UTF-8
C++
false
false
3,519
cpp
OrthoArcballCamera.cpp
#include "pch.h" #include "OrthoArcballCamera.h" OrthoArcballCamera::OrthoArcballCamera(OrthographicProjection op) : Camera(ProjectionMode(op.left, op.right, op.bottom, op.top, op.near, op.far)), _keyspeed(0.1f), _mouseX(0), _mouseY(0), _yaw(0.0f), _pitch(0.0f), _strafe(glm::vec3(0)) { } OrthoArcballCamera::~OrthoArcballCamera() { } void OrthoArcballCamera::update(const Window& window, float dt) { int x, y; window.getCursorPosition(x, y); int dx = x - _mouseX; int dy = y - _mouseY; float speed = 0.005f; glm::vec3 pos; if (_dragging) { _yaw += dx * speed; _pitch += dy * speed; _pitch = glm::min(_pitch, glm::pi<float>()*0.5f - 0.01f); _pitch = glm::max(_pitch, -glm::pi<float>()*0.5f + 0.01f); } pos.x = /*getZoom() **/ glm::cos(_pitch) * -glm::sin(_yaw); pos.y = /*getZoom() **/ glm::sin(_pitch); pos.z = /*getZoom() **/ glm::cos(_pitch) * glm::cos(_yaw); _position = pos; _direction = -glm::normalize(pos); if (_strafing) { glm::vec3 up = glm::vec3(0, 1, 0); glm::vec3 right = glm::normalize(glm::cross(-pos, up)); up = glm::normalize(glm::cross(right, -pos)); float strafeSpeed = speed /** this->getZoom()*/ * 0.1f; _strafe += up * float(dy) * strafeSpeed + right * -float(dx) * strafeSpeed; } _position = _position + _strafe; /*glm::vec3 left = -glm::cross(_direction, glm::vec3(0.0f, 1.0f, 0.0f)); glm::vec3 up = glm::cross(_direction, left); if (window.isKeyPressed(KeyInput::Key::W)) { _position += _keyspeed * _direction; } else if (window.isKeyPressed(KeyInput::Key::S)) { _position -= _keyspeed * _direction; } if (window.isKeyPressed(KeyInput::Key::A)) { _position += _keyspeed * left; } else if (window.isKeyPressed(KeyInput::Key::D)) { _position -= _keyspeed * left; } if (window.isKeyPressed(KeyInput::Key::SPACE)) { _position += _keyspeed * up; } else if (window.isKeyPressed(KeyInput::Key::LEFT_SHIFT)) { _position -= _keyspeed * up; }*/ _viewMatrix = glm::inverse(glm::translate(glm::mat4(1.0f), _position) * glm::yawPitchRoll(-_yaw, -_pitch, 0.0f)); _mouseX = x; _mouseY = y; } void OrthoArcballCamera::registerToWindow(Window & window) { if (_registeredMouseCallbacks.size() == 1) return; ID id = window.registerMouseInputHandler([this](const MouseInput& inp) { if (inp.button == MouseInput::Button::LEFT) { //if (inp.action == MouseInput::Action::PRESSED) this->setDragging(true); //else this->setDragging(false); } else if (inp.button == MouseInput::Button::RIGHT) { //if (inp.action == MouseInput::Action::PRESSED) this->setStrafing(true); //else this->setStrafing(false); } if (inp.action == MouseInput::Action::SCROLLED) { auto op = _projectionMode.getOrthographicProjection(); op.left -= inp.scrollDelta; op.right += inp.scrollDelta; op.bottom -= inp.scrollDelta * 9.f / 16.f; op.top += inp.scrollDelta * 9.f / 16.f; //_projectionMode = ProjectionMode(op); _projMatrix = _projectionMode.getProjectionMatrix(); } }); _registeredMouseCallbacks.push_back(id); window.registerKeyInputHandler([this](const KeyInput& input) { if (input.action != KeyInput::Action::RELEASED) return; if (input.key == KeyInput::Key::UP) _keyspeed *= 2.0f; else if (input.key == KeyInput::Key::DOWN) _keyspeed *= 0.5f; //else if (input.key == KeyInput::Key::LEFT) // this->setZoom(this->getZoom() - 0.5f * this->getZoom() * 0.1f); //else if (input.key == KeyInput::Key::RIGHT) // this->setZoom(this->getZoom() + 0.5f * this->getZoom() * 0.1f); }); }
5d2a5a38ef29abae5b3e965f116f95b75a03adfc
d060557e4b81040e8c922860dbd4601cf3de6ec0
/src/deps/drawlines.cpp
d1a7959e205d5327b501a22f073e85993818feaa
[]
no_license
juvenigi/alma
681b0dd3f8144d443f0cae1ee3b82caf74c50968
1a595bf06bf7f20c084e17873f4b1fed7b98cb22
refs/heads/master
2020-08-15T11:54:53.919663
2020-01-23T11:45:38
2020-01-23T11:45:38
215,337,344
0
0
null
null
null
null
UTF-8
C++
false
false
668
cpp
drawlines.cpp
#include <iostream> #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> void setPixel(int x, int y, unsigned int image[][1001]){ // due to overflow // int cx = abs((int) corr_w * x); // int cy = abs((int) corr_h * y); image[x][y] = 0; } void line(int x0, int y0, int x1, int y1, unsigned int image[][1001]) { int dx = abs(x1-x0), sx = x0<x1 ? 1 : -1; int dy = abs(y1-y0), sy = y0<y1 ? 1 : -1; int err = (dx>dy ? dx : -dy)/2, e2; for(;;){ setPixel(x0,y0, image); if (x0==x1 && y0==y1) break; e2 = err; if (e2 >-dx) { err -= dy; x0 += sx; } if (e2 < dy) { err += dx; y0 += sy; } } }
0e5e7ccb64c558590a0080518a84f0c24d0b51cd
42f7511ef0f4b7fb34b076e6f09571b63d2c4ce0
/nasa-final/nasa-lights/nasa-lights.ino
b1316e586d970f1fb972d884012def31e835cf71
[]
no_license
CassidyJensen/InteractiveSound
b1e7b754624c83e0659b25b17290b7f9dfc9f011
1d5412784377b9107da9a6260b4af92f32538fbf
refs/heads/master
2023-01-20T16:18:27.370626
2020-12-03T23:59:37
2020-12-03T23:59:37
290,927,449
0
0
null
null
null
null
UTF-8
C++
false
false
2,201
ino
nasa-lights.ino
// Arduino Serial Tester // rld, cycling'74, 3.2008 #include "FastLED.h" #define DATA_PIN 6 #define LED_TYPE WS2812B #define COLOR_ORDER GRB #define NUM_LEDS 20 #define BRIGHTNESS 50 CRGB leds[NUM_LEDS]; long randomvalue = 0; // random value long countervalue = 0; // counter value int started = 0; // flag for whether we've received serial yet int isHazard = 0; int absMag = 0; int orbitalPeriod = 0; int diamMin =0; int diamMax = 0; int hazPin = 14; int loopTarget = 0; int loopNum = 0; void setup() { Serial.begin(9600); // open the arduino serial port pinMode(hazPin, OUTPUT); FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip); FastLED.setBrightness(BRIGHTNESS); } void loop() { if(Serial.available()) // check to see if there's serial data in the buffer { isHazard = Serial.read(); // read a byte of serial data absMag = Serial.read(); orbitalPeriod = Serial.read(); diamMin = Serial.read(); diamMax = Serial.read(); started = 1; // set the started flag to on } if(started) // loop once serial data has been received { randomvalue = random(1000); // pick a new random number Serial.print(countervalue); // print the counter Serial.print(" "); // print a space Serial.print(randomvalue); // print the random value Serial.print(" "); // print a space Serial.print(isHazard); Serial.print(" "); // print a space Serial.print(absMag); Serial.print(" "); // print a space Serial.print(orbitalPeriod); Serial.print(" "); // print a space Serial.print(diamMin); Serial.print(" "); // print a space Serial.print(diamMax); Serial.println(); // print a line-feed countervalue = (countervalue+1)%1000; // increment the counter digitalWrite(hazPin, isHazard); if(loopTarget < NUM_LEDS){ for( int i = 0; i < NUM_LEDS; i++) { leds[i] = CRGB(0,0,0); } leds[loopTarget] = CRGB(absMag, diamMin, diamMax); if(loopNum >= orbitalPeriod){ loopTarget ++; loopNum = 0; } loopNum ++; } else{ loopTarget = 0; loopNum = 0; } delay(100); // pause } FastLED.show(); }
41544349a7f5fad1421a371696a82849e067b945
80bfecff7fd6db96372456e2f619ebaf4350a6f1
/ensemble.h
9e644f9991e1f2b7ac1c42b0155f21af54b3feef
[]
no_license
smalov/decision_trees
9be265e39a122873873eb488a89bd172ba2bb6bf
36e867eff64f8ce685f8535ba9f089d0d997540e
refs/heads/master
2021-01-22T05:24:31.387409
2015-08-25T04:14:50
2015-08-25T04:14:50
38,952,502
0
0
null
null
null
null
UTF-8
C++
false
false
3,257
h
ensemble.h
#pragma once #include <vector> #include "training_set.h" #include "math.h" // namespace decision_tree_learning_framework { template <typename Tree, typename Boosting> class ensemble { public: typedef Tree tree_type; typedef std::shared_ptr<tree_type> tree_ptr; typedef Boosting boosting_type; // iteration count - max number of trees // learing rate - not used, tbd explicit ensemble(size_t iteration_count, double learning_rate = 1.0) : iteration_count_(iteration_count), learning_rate_(learning_rate) {} // f - output file void serialize(const char*) {} // f - input file void deserialize(const char*) {} //void add_tree(const tree_ptr& tree) {} void learn(const feature_set& fs, std::ostream* logger = NULL) { training_set ts(fs); size_t n = ts.feature_count(); boosting_type boosting; double F0 = boosting.initial_value(ts); for (size_t m = 0; m < iteration_count_; ++m) { for (size_t i = 0; i < ts.size(); ++i) { double label = ts.y(i); double prediction = (m == 0 ? F0 : predict(ts.x(i), n)); double gradient = boosting.gradient(label, prediction); ts.set_gradient(i, gradient); } if (logger) ts.print(*logger); tree_ptr t(new tree_type()); t->learn(ts, ts.gradient_index(), logger); if (logger) t->print(*logger); trees_.push_back(t); } } void learn_classifier(const feature_set& fs, std::ostream* logger = NULL) { training_set ts(fs); size_t n = ts.feature_count(); boosting_type boosting; double w0 = boosting.initial_value(ts); for (size_t i = 0; i < ts.size(); ++i) ts.set_weight(i, w0); if (logger) ts.print(*logger); for (size_t m = 0; m < iteration_count_; ++m) { //for (size_t i = 0; i < ts.size(); ++i) { // double label = ts.y(i); // double prediction = (m == 0 ? F0 : predict(ts.x(i), n)); // double gradient = boosting.gradient(label, prediction); // ts.set_gradient(i, gradient); //} //if (logger) ts.print(*logger); tree_ptr t(new tree_type()); t->learn(ts, ts.weight_index(), ts.label_index(), logger); if (logger) t->print(*logger); trees_.push_back(t); double total_weight = 0.0; for (size_t i = 0; i < ts.size(); ++i) { double w = ts.w(i) * exp(-ts.y(i) * t->predict(ts.x(i), n)); ts.set_weight(i, w); total_weight += w; } for (size_t i = 0; i < ts.size(); ++i) ts.set_weight(i, ts.w(i) / total_weight); if (logger) ts.print(*logger); } } // x - features // n - feature count double predict(const double* x, size_t n) const { double Fx = 0.0; for (size_t i = 0; i < trees_.size(); ++i) Fx += trees_[i]->predict(x, n); return Fx; } double predict_class(const double* x, size_t n) const { double Fx = 0.0; for (size_t i = 0; i < trees_.size(); ++i) Fx += trees_[i]->predict(x, n); return Fx > 0.0 ? 1.0 : -1.0; } void print(std::ostream& os) const { os << "ENSEBMLE:\n"; for (size_t i = 0; i < trees_.size(); ++i) trees_[i]->print(os); os << "END OF ENSEMBLE" << std::endl; } size_t size() const { return trees_.size(); } const tree_type& tree(size_t i) { return *trees_[i]; } private: size_t iteration_count_; double learning_rate_; std::vector<tree_ptr> trees_; };
1222d4df54855ddedf5a5db2f0d98b01786fdbde
48298469e7d828ab1aa54a419701c23afeeadce1
/Common/Packets/CGCharIdle.cpp
aee8ef63e859f6ca5b9ea6e8f0ee3e85a98ea98b
[]
no_license
brock7/TianLong
c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2
8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b
refs/heads/master
2021-01-10T14:19:19.850859
2016-02-20T13:58:55
2016-02-20T13:58:55
52,155,393
5
3
null
null
null
null
UTF-8
C++
false
false
762
cpp
CGCharIdle.cpp
#include "stdafx.h" // CGCharIdle.cpp // ///////////////////////////////////////////////////// #include "CGCharIdle.h" BOOL CGCharIdle::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t)); iStream.Read( (CHAR*)(&m_posCurrent), sizeof(WORLD_POS)); return TRUE ; __LEAVE_FUNCTION return FALSE ; } BOOL CGCharIdle::Write( SocketOutputStream& oStream )const { __ENTER_FUNCTION oStream.Write( (CHAR*)(&m_ObjID), sizeof(ObjID_t)); oStream.Write( (CHAR*)(&m_posCurrent), sizeof(WORLD_POS)); return TRUE ; __LEAVE_FUNCTION return FALSE ; } UINT CGCharIdle::Execute( Player* pPlayer ) { __ENTER_FUNCTION return CGCharIdleHandler::Execute( this, pPlayer ) ; __LEAVE_FUNCTION return FALSE ; }
abdbc9151607dfda762f0c0aafab757df73a74c3
eadefaad20fdaaf418fee03ccf241968e7c0b828
/lightcone/threads.h
9cdac9d718c15de2287fd1eeacafa30ecebd5785
[ "MIT" ]
permissive
shadow-paw/lightcone
0801d064d49e3ca3f4ada32ec334bf738c2b54dc
b93117fcbd852909171b59f09e7a2e7c3f48a1db
refs/heads/master
2022-05-25T00:07:07.038180
2022-05-08T04:04:56
2022-05-08T04:07:17
138,475,813
3
1
MIT
2019-04-21T05:46:58
2018-06-24T11:20:37
C++
UTF-8
C++
false
false
2,025
h
threads.h
#ifndef LIGHTCONE_THREADS_H__ #define LIGHTCONE_THREADS_H__ #include <thread> #include "copyable.h" namespace lightcone { // ----------------------------------------------------------- //! Thread Pool class Threads : private NonCopyable<Threads> { public: Threads(); virtual ~Threads(); //! Get number of threads //! \return number of threads in this pool unsigned int thread_count() const { return _threads_count; } //! Start threads //! \param[in] num Number of threads, num >= 1 //! \return true on success, false on fail with no side-effect. //! \sa stop bool start(unsigned int num); //! Stop all threads, block until all threads are stopped //! \return true on success, false on fail with no side-effect. //! \sa start void stop(); //! Sleep current thread //! \param[in] seconds Number of seconds //! \sa msleep, usleep static void sleep(unsigned int seconds); //! Sleep current thread //! \param[in] milliseconds Number of milliseconds //! \sa sleep, usleep static void msleep(unsigned int milliseconds); //! Sleep current thread //! \param[in] usec Number of microseconds //! \sa sleep, msleep static void usleep(unsigned int usec); protected: //! Thread worker. Thread stop upon return. //! \param[in] id identity of the thread which run the worker //! \param[in] runflag Reference to a bool indicate true if the thread interrupted by stop() virtual void worker(unsigned int id, bool* runflag) = 0; private: static const size_t kMaxThreads = 128; struct THREAD_INFO { bool runflag; std::thread thread; }; THREAD_INFO _threads[kMaxThreads]; unsigned int _threads_count; private: //! \cond Skip this from doxygen //! Internal thread stub static void stub(Threads* self, unsigned int id); //! \endcond }; // ----------------------------------------------------------- } // namespace lightcone #endif // LIGHTCONE_THREADS_H__
16a45d870f298bb792b8b91d7fbe95f143ff0562
c89bbbf91d09899202c6a430b88a80c47171b504
/Msg42.cpp
8359f1ac2528020f80627acdd67d29e576ee8b44
[ "GPL-2.0-or-later", "Apache-2.0" ]
permissive
diffbot/open-source-search-engine
7a7a410885059da09d79a8cb9a642c62c4798222
deb5c5b1327303e87c3b182d5396caaeb87191ad
refs/heads/master
2020-12-25T17:44:38.936899
2018-06-14T16:17:32
2018-06-14T16:17:32
12,497,126
25
11
Apache-2.0
2018-06-14T16:17:33
2013-08-30T22:59:19
C++
UTF-8
C++
false
false
4,604
cpp
Msg42.cpp
#include "gb-include.h" #include "Msg42.h" static void gotReplyWrapper42 ( void *state , void *state2 ) ; static void handleRequest42 ( UdpSlot *slot , int32_t netnice ) ; bool Msg42::registerHandler ( ) { // . register ourselves with the udp server // . it calls our callback when it receives a msg of type 0x42 if ( ! g_udpServer.registerHandler ( 0x42, handleRequest42 )) return false; return true; } // . returns false if blocked, true otherwise // . sets g_errno on error // . "termIds/termFreqs" should NOT be on the stack in case we block // . i based this on ../titledb/Msg23.cpp bool Msg42::getTermFreq ( char *coll , int32_t maxAge , int64_t termId , void *state , void (* callback)(void *state ) , int32_t niceness ) { // warning if ( ! coll ) log(LOG_LOGIC,"net: NULL collection. msg42."); // keep a pointer for the caller m_state = state; m_callback = callback; m_termFreq = 0LL; m_errno = 0LL; // TODO: have a local by-pass for speed // if we have this termlist local then we can skip the network stuff //if ( g_linkdb.isLocal ( termId ) ) { return getTermFreqLocally(); } // . now what group do we belong to? // . groupMask has hi bits set before it sets low bits //uint32_t groupId = key.n1 & g_hostdb.m_groupMask; uint32_t groupId = g_linkdb.getGroupIdFromUrlHash(termId); // . make a request // . just send the termId and collection name char *p = m_request; *(int64_t *)p = termId ; p += 8; strcpy ( p , coll ); p += gbstrlen(coll) + 1; // copy includes \0 int32_t timeout = 5; // in case it fails somehow *(int64_t *)m_reply = 0LL; // . multicast to a host in group // . returns false and sets g_errno on error if ( ! m_mcast.send ( m_request , p - m_request, // request size 0x42 , // msgType 0x42 false , // multicast owns msg? groupId , false , // send to whole group? termId , // key is termId this , // state data NULL , // state data gotReplyWrapper42 , timeout , //5 , // 5 second timeout niceness , false , // realtime? -1 , // first hostid m_reply , 8 , false ) ) { // free reply buf? log("query: Got error sending request for term " "frequency: %s.", mstrerror(g_errno)); return true; } return false; } void gotReplyWrapper42 ( void *state , void *state2 ) { Msg42 *THIS = (Msg42 *)state; if ( g_errno ) THIS->m_errno = g_errno; // gotReply() does not block, and does NOT call our callback if ( ! THIS->m_errno ) THIS->gotReply( ) ; // call callback since we blocked, since we're here THIS->m_callback ( THIS->m_state ); } void Msg42::gotReply ( ) { // sanity check if ( m_termFreq ) { char *xx = NULL; *xx = 0; } // . get best reply for multicast // . we are responsible for freeing it int32_t replySize; int32_t replyMaxSize; bool freeit; char *reply = m_mcast.getBestReply( &replySize, &replyMaxSize, &freeit ); // if no reply freak out! if ( reply != m_reply ) log(LOG_LOGIC,"query: Got bad reply for term " "frequency. Bad."); // buf should have the # of records for m_termId m_termFreq = *(int64_t *)m_reply ; } // . handle a request to get a linkInfo for a given docId/url/collection // . returns false if slot should be nuked and no reply sent // . sometimes sets g_errno on error void handleRequest42 ( UdpSlot *slot , int32_t netnice ) { // get the request char *request = slot->m_readBuf; int32_t requestSize = slot->m_readBufSize; // if niceness is 0, use the higher priority udpServer UdpServer *us = &g_udpServer; //if ( netnice == 0 ) us = &g_udpServer2; // ensure it's size if ( requestSize <= 8 ) { log("query: Got bad request size of %"INT32" for term frequency.", requestSize); us->sendErrorReply ( slot , EBADREQUESTSIZE ); return; } int64_t termId = *(int64_t *) (request) ; char *coll = request + 8; int64_t termFreq = g_linkdb.getTermFreq(coll,termId); // serialize it into a reply buffer // no need to malloc since we have the tmp buf char *reply = slot->m_tmpBuf; *(int64_t *)reply = termFreq ; // . send back the buffer, it now belongs to the slot // . this list and all our local vars should be freed on return us->sendReply_ass ( reply , 8 , reply , 8 , slot ); return; }
f029bff7dc586be7f4dc939bfb56323358aa8e51
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_IMPLICIT_SURFACE.h
e8329a2081bd2e0bd588093bb2f53517e4524a10
[ "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
C++
false
false
3,627
h
OPENGL_IMPLICIT_SURFACE.h
//##################################################################### // Copyright 2002, Robert Bridson, Eilene Hao, Geoffrey Irving, Neil Molino. // This file is part of PhysBAM whose distribution is governed by the license // contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### // Class OPENGL_IMPLICIT_SURFACE //##################################################################### // //##################################################################### // Bridson - November 12, 2002 // Molino - October 27, 2002 // Irving - August 7, 2003 // Hao - August 22, 2003 //##################################################################### #ifndef __OPENGL_IMPLICIT_SURFACE__ #define __OPENGL_IMPLICIT_SURFACE__ #include <PhysBAM_Tools/Grids_Uniform/GRID.h> #include <PhysBAM_Tools/Grids_Uniform_Arrays/ARRAYS_ND.h> #include <PhysBAM_Tools/Interpolation/LINEAR_INTERPOLATION.h> #include <PhysBAM_Geometry/Implicit_Objects/IMPLICIT_OBJECT.h> #include <PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_MATERIAL.h> #include <PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_OBJECT.h> #include <PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_SHAPES.h> #include <cstring> // for gcc 2.96 for memset namespace PhysBAM{ template<class T> class OPENGL_IMPLICIT_SURFACE:public OPENGL_OBJECT { typedef VECTOR<T,3> TV; public: IMPLICIT_OBJECT<TV>& surface; bool two_sided; OPENGL_MATERIAL front_material, front_material_gray; OPENGL_MATERIAL back_material, back_material_gray; int nx,ny,nz; // resolution of grid in eye space mutable float *slice1,*slice2; mutable unsigned int *up_to_date1,*up_to_date2,up_to_date_counter; OPENGL_IMPLICIT_SURFACE(IMPLICIT_OBJECT<TV>& surface_input,const OPENGL_MATERIAL& material_input=OPENGL_MATERIAL::Plastic(OPENGL_COLOR(.6f,.5f,1.f))); OPENGL_IMPLICIT_SURFACE(IMPLICIT_OBJECT<TV>& surface_input,const OPENGL_MATERIAL &front_material_input,const OPENGL_MATERIAL& back_material_input); ~OPENGL_IMPLICIT_SURFACE(); virtual RANGE<VECTOR<float,3> > Bounding_Box() const PHYSBAM_OVERRIDE {return surface.box;} void Set_Two_Sided(bool two_sided_input=true) {two_sided=two_sided_input;} void Set_Front_Material(const OPENGL_MATERIAL &front_material_input) {front_material=front_material_input;front_material_gray=front_material_input.Grayscale();} void Set_Back_Material(const OPENGL_MATERIAL &back_material_input) {back_material=back_material_input;back_material_gray=back_material_input.Grayscale();} //##################################################################### void Set_Resolution(const int nx_input,const int ny_input,const int nz_input); void Initialize_Slices(); float inline Phi(VECTOR<T,3> x) const; void Display(const int in_color=1) const PHYSBAM_OVERRIDE; void Display_Tetrahedron(const VECTOR<T,3>& x1,const VECTOR<T,3>& x2,const VECTOR<T,3>& x3,const VECTOR<T,3>& x4, const float phi1,const float phi2,const float phi3,const float phi4,ARRAY<typename OPENGL_POLICY<T>::T_GL>& vertices,ARRAY<GLfloat>& normals) const; void Display_Brick(const VECTOR<T,3>& x1,float p1,const VECTOR<T,3>& x2,float p2,const VECTOR<T,3>& x3,float p3,const VECTOR<T,3>& x4, float p4,const VECTOR<T,3>& x5,float p5,const VECTOR<T,3>& x6,float p6,const VECTOR<T,3>& x7,float p7,const VECTOR<T,3>& x8, float p8,const int parity,ARRAY<typename OPENGL_POLICY<T>::T_GL>& vertices,ARRAY<GLfloat>& normals) const; //##################################################################### }; } #endif
34c016ae6dda66666a6b7fedc572ccaaa559c595
bf9fe5d49f5eadb5438788993718332d620052c0
/Classes/HelloWorldScene.h
8640757e39ad3254d8575afa368704cb82e59b79
[ "MIT" ]
permissive
noprops/SpriteTest
3a3b9dc15e7740f95d18a7311bb672aee1b6c7b1
090b76ed37310f452b8ac87a896d3a4ed8c99573
refs/heads/master
2021-01-01T05:46:01.982152
2016-05-20T06:18:42
2016-05-20T06:18:42
59,269,529
0
0
null
null
null
null
UTF-8
C++
false
false
1,188
h
HelloWorldScene.h
#ifndef __HELLOWORLD_SCENE_H__ #define __HELLOWORLD_SCENE_H__ #include "cocos2d.h" #define North cocos2d::Vec2(0,1) #define NorthEast cocos2d::Vec2(1,1) #define East cocos2d::Vec2(1,0) #define SouthEast cocos2d::Vec2(1,-1) #define South cocos2d::Vec2(0,-1) #define SouthWest cocos2d::Vec2(-1,-1) #define West cocos2d::Vec2(-1,0) #define NorthWest cocos2d::Vec2(-1,1) class HelloWorld : public cocos2d::Layer { private: cocos2d::Sprite* _sprite; bool _tint; cocos2d::Vec2 _direction; public: HelloWorld(); virtual ~HelloWorld(); static cocos2d::Scene* createScene(); virtual bool init() override; void tintButtonPressed(cocos2d::Ref* sender); void setColorButtonPressed(cocos2d::Ref* sender); // implement the "static create()" method manually CREATE_FUNC(HelloWorld); void runAnimate(const cocos2d::Vec2& direction); virtual bool onTouchBegan(cocos2d::Touch* touch, cocos2d::Event* event) override; virtual void onTouchMoved(cocos2d::Touch* touch, cocos2d::Event* event) override; virtual void onTouchEnded(cocos2d::Touch* touch, cocos2d::Event* event) override; }; #endif // __HELLOWORLD_SCENE_H__
a09112856dc5149becb6eb456b47fb7116b78a67
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/angle/src/libANGLE/renderer/gl/wgl/WindowSurfaceWGL.cpp
9c856a16ca69b0bb1133d9a73a61f98b24c9d441
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "LicenseRef-scancode-unknown-license-reference" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
5,116
cpp
WindowSurfaceWGL.cpp
// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // WindowSurfaceWGL.cpp: WGL implementation of egl::Surface for windows #include "libANGLE/renderer/gl/wgl/WindowSurfaceWGL.h" #include "common/debug.h" #include "libANGLE/renderer/gl/RendererGL.h" #include "libANGLE/renderer/gl/wgl/FunctionsWGL.h" #include "libANGLE/renderer/gl/wgl/wgl_utils.h" namespace rx { WindowSurfaceWGL::WindowSurfaceWGL(const egl::SurfaceState &state, EGLNativeWindowType window, int pixelFormat, const FunctionsWGL *functions, EGLint orientation) : SurfaceWGL(state), mPixelFormat(pixelFormat), mWindow(window), mDeviceContext(nullptr), mFunctionsWGL(functions), mSwapBehavior(0) { // EGL_ANGLE_surface_orientation is not supported for regular WGL window surfaces ASSERT(orientation == 0); } WindowSurfaceWGL::~WindowSurfaceWGL() { ReleaseDC(mWindow, mDeviceContext); mDeviceContext = nullptr; } egl::Error WindowSurfaceWGL::initialize(const egl::Display *display) { mDeviceContext = GetDC(mWindow); if (!mDeviceContext) { return egl::EglBadNativeWindow() << "Failed to get the device context from the native window, " << gl::FmtErr(GetLastError()); } // Require that the pixel format for this window has not been set yet or is equal to the // Display's pixel format. int windowPixelFormat = GetPixelFormat(mDeviceContext); if (windowPixelFormat == 0) { PIXELFORMATDESCRIPTOR pixelFormatDescriptor = {}; if (!DescribePixelFormat(mDeviceContext, mPixelFormat, sizeof(pixelFormatDescriptor), &pixelFormatDescriptor)) { return egl::EglBadNativeWindow() << "Failed to DescribePixelFormat, " << gl::FmtErr(GetLastError()); } if (!SetPixelFormat(mDeviceContext, mPixelFormat, &pixelFormatDescriptor)) { return egl::EglNotInitialized() << "Failed to set the pixel format on the device context, " << gl::FmtErr(GetLastError()); } } else if (windowPixelFormat != mPixelFormat) { return egl::EglNotInitialized() << "Pixel format of the NativeWindow and NativeDisplayType must match."; } // Check for the swap behavior of this pixel format switch ( wgl::QueryWGLFormatAttrib(mDeviceContext, mPixelFormat, WGL_SWAP_METHOD_ARB, mFunctionsWGL)) { case WGL_SWAP_COPY_ARB: mSwapBehavior = EGL_BUFFER_PRESERVED; break; case WGL_SWAP_EXCHANGE_ARB: case WGL_SWAP_UNDEFINED_ARB: default: mSwapBehavior = EGL_BUFFER_DESTROYED; break; } return egl::NoError(); } egl::Error WindowSurfaceWGL::makeCurrent(const gl::Context *context) { return egl::NoError(); } egl::Error WindowSurfaceWGL::swap(const gl::Context *context) { if (!mFunctionsWGL->swapBuffers(mDeviceContext)) { // TODO: What error type here? return egl::EglContextLost() << "Failed to swap buffers on the child window."; } return egl::NoError(); } egl::Error WindowSurfaceWGL::postSubBuffer(const gl::Context *context, EGLint x, EGLint y, EGLint width, EGLint height) { UNIMPLEMENTED(); return egl::NoError(); } egl::Error WindowSurfaceWGL::querySurfacePointerANGLE(EGLint attribute, void **value) { *value = nullptr; return egl::NoError(); } egl::Error WindowSurfaceWGL::bindTexImage(const gl::Context *context, gl::Texture *texture, EGLint buffer) { UNIMPLEMENTED(); return egl::NoError(); } egl::Error WindowSurfaceWGL::releaseTexImage(const gl::Context *context, EGLint buffer) { UNIMPLEMENTED(); return egl::NoError(); } void WindowSurfaceWGL::setSwapInterval(EGLint interval) { if (mFunctionsWGL->swapIntervalEXT) { mFunctionsWGL->swapIntervalEXT(interval); } } EGLint WindowSurfaceWGL::getWidth() const { RECT rect; if (!GetClientRect(mWindow, &rect)) { return 0; } return rect.right - rect.left; } EGLint WindowSurfaceWGL::getHeight() const { RECT rect; if (!GetClientRect(mWindow, &rect)) { return 0; } return rect.bottom - rect.top; } EGLint WindowSurfaceWGL::isPostSubBufferSupported() const { // PostSubBuffer extension not exposed on WGL. UNIMPLEMENTED(); return EGL_FALSE; } EGLint WindowSurfaceWGL::getSwapBehavior() const { return mSwapBehavior; } HDC WindowSurfaceWGL::getDC() const { return mDeviceContext; } } // namespace rx
3b93f1fc1d1fbb7869096d103bf0fbdfab198664
0460c2da88903203448225d2a6d08d0a1a648521
/CRMui/examples/AllMethods/AllMethods.ino
9ae2a1bf5156c431c514f3a46688d7ac27f9a887
[ "MIT" ]
permissive
ilyukevich/CRMui
8c4adf6a1c089e97383034a762df0ec7b6a052b6
0f608decbc7bd076e212dcb4299f07694d754fab
refs/heads/master
2023-05-31T13:55:03.700438
2021-07-07T06:41:11
2021-07-07T06:41:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,038
ino
AllMethods.ino
#include "CRMui.h" #define LED 2 //Светодиод на плате, муляж устройства. CRMui crm; long cnt; //тестовая переменная bool checkbox_1; void setup() { Serial.begin(115200); crm.led_conf(LED, LOW, true); //LED индикация (Порт, Начальное значение, Инверсия значения) //СИСТЕМНЫЕ ПЕРЕМЕННЫЕ, ID - CONST. При отсутствии создаются автоматом с дефолтными параметрами. crm.var(F("mWiFi"), F("AP")); //Режим по умолчанию, (STA, AP, AP_STA). crm.var(F("SSID"), F("___")); //Имя сети к которой подключаемся. Если не задан запускается режим AP. crm.var(F("Pass"), F("___")); //Пароль от подключаемой сети. crm.var(F("WTCon"), F("120")); //Время ожидания подключения к WiFi, сек. crm.var(F("AP_SSID"), F("CRMui")); //Имя точки доступа, она же идентификатор для OTA. crm.var(F("AP_Pass"), F("")); //Пароль точки доступа. //ПОЛЬЗОВАТЕЛЬСКИЕ ПЕРЕМЕННЫЕ crm.var(F("HAU"), F("admin")); crm.var(F("HAP"), F("admin")); crm.var(F("TEXT"), F("Текст текст текст")); crm.var(F("password_input"), F("Pass-1234")); crm.var(F("number_input"), F("5645454")); crm.var(F("time_input"), F("13:45")); crm.var(F("dt"), F("2019-09-20")); crm.var(F("dtat"), F("2019-09-20T00:01")); crm.var(F("email_input"), F("my-email@bk.ru")); crm.var(F("range_input"), F("45")); crm.var(F("select_input"), F("1")); crm.var(F("checkbox_1"), F("true")); crm.var(F("color_input"), F("#ff00ff")); crm.var(F("textarea_input"), F("Просто не учи физику в школе и вся твоя жизнь будет наполнена чудесами, и волшебством.")); //ОБЯЗАТЕЛЬНЫЕ МЕТОДЫ crm.ui(interface); //Интерфейс UI. Обязательно crm.getRequest(dataReq); //GET запросы. Вида: http://IP/data?ПЕРЕМЕННАЯ=ЗНАЧЕНИЕ&П2=З2 и т.д. crm.aliveArray(adata); //Динамические данные на странице. Обязательно crm.update(update_vol); //Выполнение функции, при обновлении переменных через Web crm.begin(); //Старт Фреймворка update_vol(); } //Выполнение при обновлении переменных через Web void update_vol() { checkbox_1 = crm.param(F("checkbox_1")) == F("true") ? true : false; crm.setWebAut(crm.param(F("HAU")), crm.param(F("HAP"))); //Авторизация в Web интерфейсе Serial.println(String(F("Использовать подсветку: ")) + (checkbox_1 ? F("ДА") : F("НЕТ"))); Serial.println("Обновление переменных"); } void loop() { crm.handle(); crm.btnCallback(F("btn_print"), test_print); crm.btnCallback(F("btn_invert"), test_invert); crm.btnCallback(F("btn_reboot"), rbt); crm.btnCallback(F("btn_reset"), rst); } //Обработка GET запроса void dataReq() { Serial.println(crm.param_get(F("text"))); //Вывод в терминал значения переменной "text", для запроса: http://IP/data?text=Тестовое сообщение //Возврат ответа в Web if (crm.param_get(F("stat")) != F("null")) crm.getResponse(crm.time_work()); else crm.getResponse(String(millis())); } void interface() { crm.app_name("Проект-15"); //Название устройства/проекта, отображается в меню. //Разделы меню crm.menu(F("Главная")); //Пункт 1 crm.menu(F("Настройки")); //Пункт 2 crm.menu(F("WiFi")); //Пункт 3 crm.page(); //Соответствует 1 пунку меню crm.alive_tabl(F("TimeWork"), F("Время работы")); crm.alive_tabl(F("Dev_IP"), F("IP адрес"), WiFi.localIP().toString()); crm.alive_tabl(F("Dev_MAC"), F("MAC адрес"), String(WiFi.macAddress())); crm.alive_tabl(F("WFP"), F("Мощность WiFi")); crm.alive_tabl(F("RAM"), F("Свободно ОЗУ")); crm.alive_tabl(F("ledst"), F("Состояние LED")); crm.alive_tabl(F("PrintTerm"), F("Количество нажатий")); crm.hr(); crm.button(F("btn_print"), F("Печать в терминал"), false); crm.button(F("btn_invert"), F("Переключить LED")); crm.button(F("btn_reboot"), F("&#8634; Перезагрузить")); crm.page(); //Соответствует 2 пунку меню crm.text(F("TEXT"), F("Какой то текст")); crm.password(F("password_input"), F("Пароль от всего")); crm.number(F("number_input"), F("Только числа")); crm.time(F("time_input"), F("Будильник")); crm.date(F("dt"), F("Дата мероприятия")); crm.datetime(F("dtat"), F("Дата и время включения")); crm.email(F("email_input"), F("Адрес электронки")); crm.range(F("range_input"), 0, 100, 0.1, F("Ползунок с шагом"), F("°C")); crm.option(F("Комедии"), F("0")); crm.option(F("Боевики"), F("1")); crm.option(F("Ужасы"), F("2")); crm.select(F("select_input"), F("Что любишь?")); crm.color(F("color_input"), F("Цвет подсветки ОЗУ")); crm.checkbox(F("checkbox_1"), F("Использовать подсветку")); crm.checkbox(F("checkbox_2"), F("Авто режим")); crm.checkbox(F("checkbox_3"), F("Использовать LED индикацию")); crm.br(); //Строчный интервал, размер в пикселях. По умолчанию = 10 crm.textarea(F("textarea_input"), F("Текстовое поле для большого ввода текста прямо в него")); crm.hr(); crm.text(F("HAU"), F("WEB LOGIN")); crm.password(F("HAP"), F("WEB PASSWORD")); crm.button(F("btn_reset"), F("Reset settings")); crm.page(); //Соответствует 3 пунку меню crm.wifi_page(); crm.hr(); crm.button(F("btn_reboot"), F("&#8634; Перезагрузить")); crm.page(); //И т.д. } //Выполняется по запросу обрадного вызова. void adata() { crm.aliveData_tabl (F("TimeWork"), crm.time_work(), F("0f0")); //Вставка данных по ID для crm.alive_tabl (ID, ДАННЫЕ, ЦВЕТ) int wfrssi = WiFi.RSSI(); crm.aliveData_tabl (F("WFP"), String(wfrssi) + F(" dBm (") + String(map(wfrssi, -100, -40, 0, 100)) + F(" %)")); crm.aliveData_tabl (F("RAM"), String(ESP.getFreeHeap()) + F(" Бт"), crm.param(F("color_input"))); !digitalRead(LED) ? crm.aliveData_tabl (F("ledst"), F("ВКЛ"), F("f00")) : crm.aliveData_tabl (F("ledst"), F("ВЫКЛ"), F("0f0")); crm.aliveData_tabl (F("PrintTerm"), String(cnt)); } void rbt() { crm.reboot(); // Перезагрузка ESP } void rst() { crm.reset_cfg(); // Перезагрузка ESP } //************************************ Т Е С Т Ф У Н К Ц И И ************************************ void test_print() { Serial.println(String(F("Количество нажатий: ")) + String(++cnt)); } void test_invert() { crm.led_use((crm.param(F("checkbox_3")) == F("true") ? true : false)); digitalWrite(LED, !digitalRead(LED)); Serial.println(String(F("LED: ")) + String(digitalRead(LED) ? F("ВЫКЛ") : F("ВКЛ"))); }
294867e473e678f9467e67a6299feb7a3b9015f5
b6ae8feca67392d8d350a84c9c0b88ea8e21c031
/src/cpp/lib/Profiler.cpp
bca7e20357bda0b4b3d6573ad22612e51fc06164
[]
no_license
gradido/gradido_login_server
3192135cc563b068ebc9b9eb4ac416c1dae29f88
ca71af1817a801db9a108c205bc298250d498c4b
refs/heads/master
2023-03-23T15:38:55.649220
2021-03-14T09:21:18
2021-03-14T09:21:18
335,353,004
0
0
null
null
null
null
UTF-8
C++
false
false
1,654
cpp
Profiler.cpp
#include "Profiler.h" #include <sstream> Profiler::Profiler() { reset(); } Profiler::Profiler(const Profiler& copy) { mStartTick = copy.mStartTick; } Profiler::~Profiler() { } double Profiler::millis() const { auto current = std::chrono::high_resolution_clock::now(); std::chrono::duration<double, std::milli> fp_ms = current - mStartTick; return fp_ms.count(); } double Profiler::micros() const { auto current = std::chrono::high_resolution_clock::now(); std::chrono::duration<double, std::micro> fp_micros = current - mStartTick; return fp_micros.count(); //auto diff = current - mStartTick; //return diff.count() / 1000.0; } double Profiler::nanos() const { auto current = std::chrono::high_resolution_clock::now(); return static_cast<double>((current - mStartTick).count()); } double Profiler::seconds() const { auto current = std::chrono::high_resolution_clock::now(); std::chrono::duration<double, std::milli> fp_ms = current - mStartTick; return fp_ms.count() / 1000.0; } std::string Profiler::string() const { auto current = std::chrono::high_resolution_clock::now(); auto diff = current - mStartTick; std::stringstream ss; ss.precision(3); if (diff < std::chrono::microseconds{1}) { ss << diff.count() << " nano s"; } else if (diff < std::chrono::milliseconds{ 1 }) { ss << (double)diff.count() / 1000.0 << " micro s"; } else if (diff < std::chrono::seconds{ 1 }) { ss << (double)std::chrono::duration_cast<std::chrono::microseconds>(diff).count() / 1000.0 << " ms"; } else { ss << (double)std::chrono::duration_cast<std::chrono::milliseconds>(diff).count() / 1000.0 << " s"; } return ss.str(); }
c79b0b41f27169d32091316aa2c6214cdadf2288
4756d850723f624613b5c79f0385987e6b3c03db
/atb70d.cpp
d170f24635d04febd950152fb5dba2180473c76e
[]
no_license
helycopter/learning
7012d76f62f1dfa5770974c43fa1a5dda753471c
302c46b370608bb3ad5f952181c2084f4d91b98f
refs/heads/master
2021-07-11T19:31:24.956760
2017-10-08T11:04:57
2017-10-08T11:04:57
106,122,249
0
0
null
null
null
null
UTF-8
C++
false
false
860
cpp
atb70d.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_pair #define ff first #define ss second #define sc(x) scanf("%lld",&x) #define pr(x) printf("%lld\n",x) #define clr(x) memset(x, 0, sizeof(x)) #define all(x) x.begin(), x.end() typedef pair<ll, ll> pii; typedef vector< ll > vl; typedef vector< pii > vpii; const ll N= 1e5+55,mod = 1e9+7; vpii v[N]; bool b[N]; ll dist[N]; void dfs(ll s){ b[s]=true; ll i,j,x,y; for(i=0;i<v[s].size();i++){ x=v[s][i].ff;y=v[s][i].ss; if(!b[x]){ dist[x]=dist[s]+y; dfs(x); } } } int main() { // freopen("Task.in","r",stdin);freopen("Task.out","w",stdout); ll i,j,x,y,a,b,c,n,q,k; sc(n); for(i=1;i<n;i++){ sc(a);sc(b);sc(c); v[a].pb(mp(b,c)); v[b].pb(mp(a,c)); } sc(q);sc(k); dfs(k); while(q--){ sc(x);sc(y); a=dist[x]+dist[y]; pr(a); } }
a243174f32100266eb2ec05246688c31245d1a0f
4b0c1bbed45c0299d3b5e2b3198baf3056eef485
/cone.h
77263afa2be797c5d7096ea7ae6f7301d15f2360
[]
no_license
EgorBloke/Cone
3b3b87c6d60530271915136ed795d28cf475b2f3
ab389e4ba95adbde34da83b24eb894387aa8e696
refs/heads/main
2023-07-15T17:44:02.402999
2021-08-25T08:03:08
2021-08-25T08:03:08
399,738,378
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,365
h
cone.h
#ifndef CONE_H #define CONE_H #include<iostream> #include<vector> #include<cmath> //class Point; //class Triangle; class Point { //класс для хранения координат точки public: Point(double x = 0., double y = 0., double z = 0.) : x(x), y(y), z(z) {} void setValues(double x, double y, double z) { this->x = x; this->y = y; this->z = z; } double x; double y; double z; }; class Triangle //класс треугольника. содержить указатели на вершины { public: Triangle(Point* first = nullptr, Point* second = nullptr, Point* top = nullptr):first(first),second(second),top(top) { } const Point& getFirst() { return *first; } const Point& getSecond() { return *second; } const Point& getTop() { return *top; } protected: Point *first; //координаты основания Point *second; Point *top; //координата вершины }; class Cone //класс конуса. определяется радиусом, высотой, количеством сегментов { public: Cone(double height=1., double r=1., unsigned int segmentNumber=3) //: height(height), r(r), segmentNumber(segmentNumber) { this->height = height > 0 ? height : -height; //проверка корректности инициализации this->r = r > 0 ? r : -r; this->segmentNumber = segmentNumber > 2 ? segmentNumber : 3; //если меньше 3, инициализируется 3я сегментами top.setValues(0, 0, height); //инициализация координаты вершины for (int i = 0; i < segmentNumber; ++i) //инициализация координат точек на окружности в основании { circlePoints.push_back(new Point(r * cos(2 * 3.14159 * i / segmentNumber), r * sin(2 * 3.14159 * i / segmentNumber), 0)); } } ~Cone() { for (auto e : circlePoints) { delete e; } } Triangle operator[](int i) //перегрузка оператора доступа через [] (для удобства) //возвращает треугольник, образованный двумя соседними точками из контейнера circlePoints //и точкой вершини конуса. С целью не хранить контейнер с треугольниками { i = abs(i); //если передано отрицательное значение if (i > segmentNumber - 1) { //если передано значение больше количества сегментов i = i % (segmentNumber - 1); } if (i == segmentNumber - 1) { // крайний треугольник. чтобы обеспечить закольцовывание для корректности работы оператора << для класса Cone return Triangle(circlePoints[i], circlePoints[0], &top); } else { return Triangle(circlePoints[i], circlePoints[i + 1], &top); //общий случай } } int getSegmentNumber() { return segmentNumber; } protected: double height; double r; int segmentNumber; //количество сегментов Point top; //координаты вершины std::vector<Point*> circlePoints; //контейнер с координатами точек на окружности }; std::ostream& operator<<(std::ostream& out,const Point& p) { out.precision(4); return out << "x = " << p.x << "; \ty = " << p.y << "; \tz = " << p.z; } std::ostream& operator<<(std::ostream& out, Triangle& tr) { out.precision(4); return out << "\tfirst: \t" << tr.getFirst() <<'\n'<< "\tsecond: " << tr.getSecond() << '\n' << "\ttop: \t" << tr.getTop(); } std::ostream& operator<<(std::ostream& out, Cone& cone) //печать всех треугольников, из которых состоит конус { out.precision(4); for (unsigned int i = 0; i < cone.getSegmentNumber(); ++i) { Triangle && tr = cone[i]; //перехват временного объекта, возвращенного оператором [] out <<"Triangle: "<< i << '\n' << tr << std::endl; } return out; } #endif // !CONE_H
94cca017d2d32d850fc33d5460645854b6086ba4
74bfbe4e43762bf8d13832b22e0c777421084099
/Classes/KeyboardControl.h
769baeab2924f094073a535c74734a04b1f12fa0
[]
no_license
Brusi/Ledge
3205b9f4c70fe54800febc7be27c6cbace0bf51d
bf7571cf3e787541ab1cf72d52cb14d1c827d5df
refs/heads/master
2016-09-05T11:01:31.909903
2014-09-25T19:00:20
2014-09-25T19:00:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
459
h
KeyboardControl.h
#ifndef _KEYBOARD_CONTROL_H_ #define _KEYBOARD_CONTROL_H_ #include "Control.h" #include "cocos2d.h" #include <set> /* * Keyboard Control */ class KeyboardControl : public Control { public: // Constructor. Gets the node to listen to. KeyboardControl::KeyboardControl(cocos2d::Node* node); virtual bool isKeyPressed(Key key) const; private: std::set<Key> _pressed; cocos2d::EventListenerKeyboard* _listener; }; #endif _KEYBOARD_CONTROL_H_