Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA
SOLVED

Challenge #135: Locker Problem

knagano
7 - Meteor

I misunderstood the question.
I thought that each student open/close only 5 lockers, finally I could get the answer...

My solution is as follows;

 

Spoiler
Challenge_135_Nagano1.png

Challenge_135_Nagano2.png

lwolfie
11 - Bolide

If only every iterative macro made sense like this one.

yongjae
7 - Meteor

My Solution

Carolyn
12 - Quasar
12 - Quasar

That was fun! And I did it without an Iterative macro

 

Spoiler
I used MOD(LockerID, Student ID) and filtered for when the MOD=0 which tells me that it's a locker that the Student would change its state. 

I then counted each time a student touched the locker. If it was even, the end state would be Closed. If it was odd, the end state would be Open

2024-09-05_14-41-44.png

Yogesh1795
8 - Asteroid

I love using Iterative Macro. There is something so satisfying about it, especially when it works. Took no help for this one, and I believe my logic is the simplest.

cmoussa
8 - Asteroid

WF.png

 

Layton_Mosley
7 - Meteor

Yall got there quicker than I did but I am still proud of it 

DylanBell
8 - Asteroid

My solution