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 27, 2025 15:57lukostlukostScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 15:584,90247,033,54614,641,0001,045,0002,277,376
2Apr 27, 2025 15:584,90944,534,68314,662,0001,047,0002,277,376
3Apr 27, 2025 15:574,91442,807,99214,676,0001,048,0002,445,312
4Apr 27, 2025 15:584,95942,009,65814,878,000991,0002,539,520
5Apr 27, 2025 15:584,96040,557,47314,881,000992,0002,441,216
6Apr 27, 2025 15:574,96138,231,15514,883,000992,0002,277,376
7Apr 27, 2025 15:584,96129,303,34313,890,0001,984,0002,535,424
8Apr 27, 2025 15:584,96247,665,68713,894,0001,984,0002,277,376
9Apr 27, 2025 15:584,96336,629,95213,895,0001,985,0002,441,216
10Apr 27, 2025 15:584,97131,307,68813,920,0001,988,0002,539,520
11Apr 27, 2025 15:574,97238,995,02813,921,0001,988,0002,277,376
12Apr 27, 2025 15:584,97640,611,70313,933,0001,990,0002,539,520