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 17, 2024 01:08Joad NacerJoad NacerScore: 5,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 01:085,61141,204,06015,961,0001,995,0002,289,664
2Apr 17, 2024 01:085,62944,138,29816,011,0002,001,0002,269,184
3Apr 17, 2024 01:085,63946,124,12816,041,0002,005,0002,289,664
4Apr 17, 2024 01:085,64034,534,83916,042,0002,005,0002,289,664
5Apr 17, 2024 01:085,65836,272,05616,093,0002,011,0002,289,664
6Apr 17, 2024 01:085,66842,046,90316,123,0002,015,0002,273,280
7Apr 17, 2024 01:085,66943,157,42818,142,00002,289,664
8Apr 17, 2024 01:085,67640,545,27618,163,00002,289,664
9Apr 17, 2024 01:085,67740,773,11917,158,0001,009,0002,289,664
10Apr 17, 2024 01:085,79193,202,03918,532,27802,179,072
11Apr 17, 2024 01:085,79290,350,96118,532,88102,301,952
12Apr 17, 2024 01:085,80957,379,16218,590,27302,297,856