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 listFeb 22, 2024 13:12Huy Duc LeHuy Duc LeScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:124,91935,264,58314,692,0001,049,0002,289,664
2Feb 22, 2024 13:124,95641,140,97513,877,0001,982,0002,289,664
3Feb 22, 2024 13:124,95744,082,68713,880,0001,982,0002,281,472
4Feb 22, 2024 13:124,96037,086,75013,889,0001,984,0002,297,856
5Feb 22, 2024 13:124,96332,934,46113,896,0001,985,0002,273,280
6Feb 22, 2024 13:124,96434,615,91413,899,0001,985,0002,277,376
7Feb 22, 2024 13:124,96433,314,70614,894,000992,0002,289,664
8Feb 22, 2024 13:124,96544,595,66014,895,000993,0002,289,664
9Feb 22, 2024 13:124,96741,620,10914,900,000993,0002,289,664
10Feb 22, 2024 13:125,15977,856,06416,509,46002,174,976
11Feb 22, 2024 13:125,18177,774,10516,579,50002,179,072
12Feb 22, 2024 13:125,18580,142,17216,590,57802,179,072