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 listNov 23, 2024 12:22MatthiasMatthiasScore: 5,134Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 12:225,11140,873,88514,310,0002,044,0002,289,664
2Nov 23, 2024 12:225,11642,800,06414,324,0002,046,0002,289,664
3Nov 23, 2024 12:225,11841,279,31914,332,0002,047,0002,289,664
4Nov 23, 2024 12:225,12838,491,99815,385,0001,025,0002,289,664
5Nov 23, 2024 12:225,13434,309,59515,403,0001,026,0002,277,376
6Nov 23, 2024 12:225,13443,095,25514,377,0002,053,0002,285,568
7Nov 23, 2024 12:225,13632,523,33215,409,0001,027,0002,273,280
8Nov 23, 2024 12:225,13837,302,22815,414,0001,027,0002,289,664
9Nov 23, 2024 12:225,15137,705,29815,453,0001,030,0002,289,664