GithubHelp home page GithubHelp logo

dpcpp-hackathon's Introduction

Intel(R) Hackathon as part of ITMM Day

Repository

This repository contains an example of possible solution for the final task of the Intel(R) Haskaton 2019 in Nizhny Novgorod.

Files in the repository:

  • data.txt - public set of data for final task
  • example.cpp - simple sequential solution based on exaustive search (written on C++)
  • launch.sh - script for building & launching solution
  • run.py - an implementation of a script, which will be used for rating of the participants

Task description

The program receives the following input:

  1. The number of points to be received, N
  2. 2*N floating point numbers: x1, y1, x2, y2, ..., xN, yN; where each pair represent a 2D Point p0, p1, ... , pN

Participant should write a program, which finds the shortest way from p0 to p1 through all other points. Each point must participate in the path only once. Distance between points is considered as Euclidean.

Participants should send their paths to stdout. Each path must contain the indices of the points, except first and last one. Point indices must be separated by comma. For example, if N=4: 2, 3 3, 2

where first line represents the path p0-p2-p3-p1, and the second is p0-p3-p2-p1

Conditions of the competition

Execution time of a program is limited by 60 seconds and the program will be killed after this time.

The scoring script analyses stdout starting from the last line and accepts the first appropriate solution

The participant who finds the shortest path wins

dpcpp-hackathon's People

Contributors

michael-smirnov avatar rlnx avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.