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 listJan 3, 2026 14:22HattonuriHattonuriScore: 4,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 14:214,43836,260,28812,173,0002,028,0002,281,472
2Jan 3, 2026 14:224,44736,223,76412,198,0002,033,0002,281,472
3Jan 3, 2026 14:214,45530,463,63612,221,0002,036,0002,449,408
4Jan 3, 2026 14:224,45733,882,73613,244,0001,018,0002,453,504
5Jan 3, 2026 14:224,45833,883,11612,227,0002,037,0002,433,024
6Jan 3, 2026 14:224,45829,441,68012,228,0002,038,0002,535,424
7Jan 3, 2026 14:224,46430,234,09812,244,0002,040,0002,449,408
8Jan 3, 2026 14:214,46428,020,79613,266,0001,020,0002,281,472
9Jan 3, 2026 14:224,47234,136,43812,265,0002,044,0002,281,472
10Jan 3, 2026 14:224,47331,347,00613,290,0001,022,0002,441,216
11Jan 3, 2026 14:224,47328,473,51512,270,0002,045,0002,281,472
12Jan 3, 2026 14:224,47634,985,00113,301,0001,023,0002,281,472
13Jan 3, 2026 14:224,47831,707,99413,305,0001,023,0002,445,312
14Jan 3, 2026 14:224,49243,618,77113,347,0001,026,0002,445,312
15Jan 3, 2026 14:224,49441,512,44314,381,00002,449,408
16Jan 3, 2026 14:224,49433,609,32613,355,0001,027,0002,445,312
17Jan 3, 2026 14:224,49835,748,97613,367,0001,028,0002,445,312
18Jan 3, 2026 14:224,58839,460,66513,634,0001,048,0002,281,472