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 listJul 13, 2021 20:55Andrey TsvetkovAndrey TsvetkovScore: 5,997Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 20:555,95242,005,99316,039,0003,007,0002,523,136
2Jul 13, 2021 20:555,96844,751,82916,081,0003,015,0002,334,720
3Jul 13, 2021 20:555,97751,718,54017,114,0002,013,0002,527,232
4Jul 13, 2021 20:555,98848,429,87215,128,0004,034,0002,334,720
5Jul 13, 2021 20:555,99280,161,47019,173,75902,232,320
6Jul 13, 2021 20:555,99343,669,36017,161,0002,018,0002,334,720
7Jul 13, 2021 20:555,99734,025,96217,171,0002,020,0002,519,040
8Jul 13, 2021 20:556,00038,890,91416,168,0003,031,0002,334,720
9Jul 13, 2021 20:556,01752,108,99317,229,0002,026,0002,334,720
10Jul 13, 2021 20:556,03743,910,19117,284,0002,033,0002,531,328
11Jul 13, 2021 20:556,03992,665,22319,324,27102,236,416
12Jul 13, 2021 20:556,11984,400,41419,582,34102,232,320