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 28, 2025 21:27lukostlukostScore: 4,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:274,43833,927,82512,173,0002,028,0002,441,216
2Apr 28, 2025 21:274,44832,485,75312,201,0002,033,0002,445,312
3Apr 28, 2025 21:274,44838,116,33912,201,0002,033,0002,445,312
4Apr 28, 2025 21:274,45735,978,18813,243,0001,018,0002,277,376
5Apr 28, 2025 21:274,46425,799,88713,265,0001,020,0002,531,328
6Apr 28, 2025 21:274,46735,605,31413,274,0001,021,0002,277,376
7Apr 28, 2025 21:274,46835,791,14513,278,0001,021,0002,539,520
8Apr 28, 2025 21:274,47130,051,31413,285,0001,021,0002,539,520
9Apr 28, 2025 21:274,47341,787,72312,269,0002,044,0002,449,408