Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

team B solution #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

AAAAA11331
Copy link

@AAAAA11331 AAAAA11331 commented Nov 27, 2022

CS Games 2023 Team B Application

PLEASE FILL IN THE FOLLOWING!

Full Name

Yian Lyu

UWindsor Email

[email protected]

Application Form

Briefly explain how your solution works and how to run it

loop the array start the last element and compare each element with the minimum element (use custom function findMin()) before it, store the largest difference value in the variable 'max_profit', record the position and value of max number and min number that create max profit, and store those value, print them out at last.

@AAAAA11331 AAAAA11331 changed the title Create solution.c team B solution Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant