Simple Programming
30 points Easy

Can you help me? I need to know how many lines there are where the number of 0's is a multiple of 3 or the numbers of 1s is a multiple of 2. Please! Here is the file: https://mega.nz/#!7aoVEKhK!BAohJ0tfnP7bISIkbADK3qe1yNEkzjHXLKoJoKmqLys

Flag
Rating 4.41
5
4
3
2
1

Discussion

I used Python, I opened the file in read mode and iterated through all the lines while increasing the count by 1 when either no. of 0s is divisible by 3 or no. of 1s is even.

0

I used C++

0

I used C++

0

Try once from yourself

hint - if unable to solve you can use online compiler - python for this and chatgpt to write code

0
Protected
0

hey I don't know what to write in the flag

0

if you got a number as an answer then you should directly write it in

0
Protected
0

took 20 sec's with chatgpt

-4
Protected
0

would give -10^googleplex if could: this is def not an "ez" programming prob: i.e. rank beginner like moi has no chance (I humbly bow to those that found it ez - u have god-like powers to me). i spent over a week googling and stumbling through error codes. finally read community and found sol'n given by m1tn1ck 3mo ago (keep refreshing cuz sometimes it shows up, sometimes it don't...ctf"learn" idea of a joke?). anyways thank u m1tn1ck for saving me from impending insanity

-1