OII logo
  • Home
    • School selections
    • Regionals
    • Nationals & OIS
    • Tasks by technique
    • Tasks by contest
    • Tasks by year
  • Ranking
  • Algobadge
  • Forum
Log in / Sign up

Flappy Bird

Time limit: 1 sec
Memory limit: 256 MB
Input/output: stdin / stdout
Maximum score: 10
Translations:
English
Uploaded on: 20 January 2022
StatementAttachmentsTagsStatsSubmitSubmissionsHelp

Forum posts

Ruscee's profile picture
Aiuto con flappy bird
#include #include using namespace std; int main() { ifstream fin("input.txt"); ofstream fout("output.txt"); int N; fin > > N; int A1,B1,A2,B2; fin > > A1; fin > > B1; for (int i=0;i < N-1;i++) { fi...
Francesco0404's profile picture
Flappy Bird non capito
Non ho capito come implementare https://training.olinfo.it/#/task/ois_flappybird/statement questo esercizio . Nel senso che, non ne ho compreso le dinamiche: Ho capito che bisogna dire se una parti...
fmaglia's profile picture
Flappybird 25/100
Secondo me c'è un problema nella tua condizione. Io invertirei la condizione e scriverei solo quando il passaggio del bird non è accettabile ovvero quando if ( (newLeft > right & & newRight > left)...
Search other topics
Create new topic