diff options
feat(Week03): Add exercises and solutions
1 files changed, 10 insertions, 0 deletions
| -rw-r--r-- | Week03/Exercise01.cpp | 10 |
diff --git a/Week03/Exercise01.cpp b/Week03/Exercise01.cpp new file mode 100644 index 0000000..80a4149 --- /dev/null +++ b/Week03/Exercise01.cpp @@ -0,0 +1,10 @@ +#include <iostream> + +int main() { + int x; + std::cin >> x; + + std::cout << ((x + 1) % 2); + + return 0; +} |
