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 listMay 8, 2024 21:51Joad NacerJoad NacerScore: 5,024Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:514,95733,488,88913,880,0001,982,0002,273,280
2May 8, 2024 21:514,99235,510,92913,977,0001,996,0002,519,040
3May 8, 2024 21:514,99832,338,28213,995,0001,999,0002,273,280
4May 8, 2024 21:515,00635,328,15514,017,0002,002,0002,281,472
5May 8, 2024 21:515,00838,493,48114,022,0002,003,0002,269,184
6May 8, 2024 21:515,01148,595,91914,032,0002,004,0002,289,664
7May 8, 2024 21:515,02446,437,61814,069,0002,009,0002,289,664
8May 8, 2024 21:515,03834,684,92514,107,0002,015,0002,289,664
9May 8, 2024 21:515,07034,147,44214,197,0002,028,0002,523,136
10May 8, 2024 21:515,08377,725,45916,264,10702,297,856
11May 8, 2024 21:515,09783,593,96816,310,68202,297,856
12May 8, 2024 21:515,12482,563,34316,396,53302,179,072