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 04:52MylesMylesScore: 4,439Success
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 04:524,40132,379,33112,072,0002,012,0002,281,472
2Aug 3, 2024 04:524,41634,060,22912,112,0002,018,0002,281,472
3Aug 3, 2024 04:524,41632,009,39912,112,0002,018,0002,281,472
4Aug 3, 2024 04:524,41629,932,62812,113,0002,018,0002,445,312
5Aug 3, 2024 04:524,42226,425,69212,128,0002,021,0002,449,408
6Aug 3, 2024 04:524,43734,971,00912,171,0002,028,0002,449,408
7Aug 3, 2024 04:524,43932,846,37412,176,0002,029,0002,281,472
8Aug 3, 2024 04:524,44428,403,88312,189,0002,031,0002,273,280
9Aug 3, 2024 04:524,44830,292,85812,202,0002,033,0002,449,408
10Aug 3, 2024 04:524,68089,278,30114,974,66102,330,624
11Aug 3, 2024 04:524,70688,418,63815,058,75602,203,648
12Aug 3, 2024 04:524,72180,063,37815,107,69802,199,552