Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listApr 4, 2024 01:55Christopher TarryChristopher TarryScore: 5,947Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 01:555,91141,645,15616,925,0001,991,0002,281,472
2Apr 4, 2024 01:555,91243,624,16916,926,0001,991,0002,273,280
3Apr 4, 2024 01:555,91343,563,04316,931,0001,991,0002,289,664
4Apr 4, 2024 01:555,91743,230,98416,942,0001,993,0002,273,280
5Apr 4, 2024 01:555,93241,729,60617,982,000999,0002,531,328
6Apr 4, 2024 01:555,93747,403,52816,999,0001,999,0002,289,664
7Apr 4, 2024 01:555,94740,900,76717,026,0002,003,0002,269,184
8Apr 4, 2024 01:555,94840,132,63917,029,0002,003,0002,285,568
9Apr 4, 2024 01:555,97350,627,01618,109,0001,006,0002,273,280
10Apr 4, 2024 01:556,15391,636,81919,688,97702,297,856
11Apr 4, 2024 01:556,16388,962,56619,720,00302,179,072
12Apr 4, 2024 01:556,17794,360,60419,765,26302,174,976