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 16:43jeffplaisancejeffplaisanceScore: 4,435Success
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 16:434,40231,878,58312,074,0002,012,0002,281,472
2Aug 3, 2024 16:434,42332,321,74812,132,0002,022,0002,281,472
3Aug 3, 2024 16:434,42438,711,95312,136,0002,022,0002,281,472
4Aug 3, 2024 16:434,43034,713,61012,152,0002,025,0002,449,408
5Aug 3, 2024 16:434,43032,279,44212,152,0002,025,0002,445,312
6Aug 3, 2024 16:434,43340,526,18912,158,0002,026,0002,281,472
7Aug 3, 2024 16:434,43536,203,17712,164,0002,027,0002,449,408
8Aug 3, 2024 16:434,44230,875,49912,184,0002,030,0002,281,472
9Aug 3, 2024 16:434,45126,615,66712,209,0002,034,0002,273,280
10Aug 3, 2024 16:434,67599,006,23814,959,21902,207,744
11Aug 3, 2024 16:434,71190,088,88515,074,29002,207,744
12Aug 3, 2024 16:434,71484,991,19315,084,92602,207,744