Skip to content

Commit

Permalink
[C++] Add solution for Shandy
Browse files Browse the repository at this point in the history
  • Loading branch information
ejrcarr committed Feb 18, 2024
1 parent d015d76 commit 9a54134
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Solutions/Shandy/shandy.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include <iostream>

int main() {
int a, b;
std::cin >> a >> b;
std::cout << std::min(a, b) * 2;
return 0;
}

0 comments on commit 9a54134

Please sign in to comment.