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 25, 2025 07:21Adam FolwarcznyAdam FolwarcznyScore: 4,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 07:214,45326,331,65513,233,0001,017,0002,441,216
2Apr 25, 2025 07:214,45533,615,54912,220,0002,036,0002,269,184
3Apr 25, 2025 07:214,46830,329,81213,278,0001,021,0002,441,216
4Apr 25, 2025 07:214,47135,238,56513,286,0001,022,0002,269,184
5Apr 25, 2025 07:214,47933,198,16313,309,0001,023,0002,531,328
6Apr 25, 2025 07:214,48436,845,56013,324,0001,024,0002,531,328
7Apr 25, 2025 07:214,48631,516,41213,329,0001,025,0002,531,328
8Apr 25, 2025 07:214,49545,183,06713,357,0001,027,0002,441,216
9Apr 25, 2025 07:214,50133,467,86413,374,0001,028,0002,445,312