{"problem":{"name":"[CCC 2023 J1] Deliv-e-droid","description":{"content":"In the game, Deliv-e-droid, a robot droid has to deliver packages while avoiding obstacles. At the end of the game, the final score is calculated based on the following point system: - Gain $50$ poin","description_type":"Markdown"},"platform":"Luogu","limit":{"time_limit":3000,"memory_limit":524288},"difficulty":{"LuoguStyle":"P1"},"is_remote":true,"is_sync":true,"sync_url":null,"sign":"LGP9299"},"statements":[{"statement_type":"Markdown","content":"In the game, Deliv-e-droid, a robot droid has to deliver packages while avoiding obstacles.\n\nAt the end of the game, the final score is calculated based on the following point system:\n- Gain $50$ points for every package delivered.\n- Lose $10$ points for every collision with an obstacle.\n- Earn a bonus $500$ points if the number of packages delivered is greater than the number of collisions with obstacles.\n\nYour job is to determine the final score at the end of a game.\n\n## Input\n\nThe input will consist of two lines. The first line will contain a non-negative integer $P$,representing the number of packages delivered. The second line will contain a non-negative integer $C$,representing the number of collisions with obstacles.\n\n## Output\n\nThe output will consist of a single integer $F$,representing the final score.\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"LGP9299","tags":["2023","CCC（加拿大）"],"sample_group":[["5\n2","730"],["0\n10","-100"]],"created_at":"2026-03-03 11:09:25"}}