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 listAug 3, 2024 04:58MylesMylesScore: 4,449Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:584,42535,863,26912,137,0002,022,0002,281,472
2Aug 3, 2024 04:584,43130,262,13512,153,0002,025,0002,281,472
3Aug 3, 2024 04:584,43633,247,65613,181,0001,013,0002,441,216
4Aug 3, 2024 04:584,43834,715,92912,173,0002,028,0002,281,472
5Aug 3, 2024 04:584,43831,515,74312,174,0002,029,0002,281,472
6Aug 3, 2024 04:584,44139,478,02812,180,0002,030,0002,453,504
7Aug 3, 2024 04:584,44941,693,00012,203,0002,033,0002,277,376
8Aug 3, 2024 04:584,45237,591,90812,212,0002,035,0002,453,504
9Aug 3, 2024 04:584,45340,109,47413,231,0001,017,0002,281,472
10Aug 3, 2024 04:584,69982,068,30715,036,50002,191,360
11Aug 3, 2024 04:584,70268,548,74815,047,45802,203,648
12Aug 3, 2024 04:584,74789,269,86415,189,10302,203,648