Giter VIP home page Giter VIP logo

ieeextreme11.0's Introduction

IEEEXtreme11.0-PComplete 🚀

IEEEXtreme 11.0 Solutions by PComplete Team (48th Rank Worldwide)

Team Comprised of (alphabetically):

Solutions

Solutions to challenges were submitted in C++ or Python.

Tasks

The tasks are located on CSAcademy (practice environment)

Ranking

  1. Country Ranking: 1
  2. Region Ranking (R8): 13
  3. Worldwide Ranking: 48

ieeextreme11.0's People

Contributors

kameranis avatar papachristoumarios avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ieeextreme11.0's Issues

Ερώτηση πάνω στο πρόβλημα Math Challenge

Προετοιμάζομαι για τον xtreme που θα γίνει 22 Οκτωβρίου 2022 και έχω κολλήσει σε αυτό το πρόβλημα.
Προς το παρόν παίρνω 40/100 (με python) στο csacademy οπότε έψαχνα online να βρω ποια είναι η λύση που παίρνει 100. Ευτυχώς, βρήκα αυτό το repo αλλά δεν έχω καταλάβει τον τρόπο επίλυσης, ούτε κατάφερα να τον μεταφέρω στην python.

Η σκέψη μου ήταν ότι αρκεί να υπολογίσω το ${n\choose r} mod (10^9 + 6)$ και μετά να πάρω το α σε αυτήν τη δύναμη mod 10**9 + 7 (που το κάνει η python εύκολα μέσω της pow())

Δυσκολεύομαι όμως να το υπολογίσω αποτελεσματικά. Σε αυτήν τη λύση βλέπω ότι βρίσκετε το modular inverse (νομίζω) του παρονομαστή mod (MOD - 1)/2 και μετά όλο mod MOD-1 που μου φαίνεται περίεργο γιατί τι σχέση έχει το (MOD - 1)/2?

Γνωρίζω ότι το MOD-1 δεν είναι πρώτος οπότε δεν υπάρχει πάντα το modular inverse και εκεί είναι που κολλάω. Μπορείτε να εξηγήσετε γιατί δουλεύει το (MOD - 1)/2 ή να με κατευθύνετε σε κάποια πηγή?

Ευχαριστώ

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.