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 listMay 3, 2025 18:43lukostlukostScore: 4,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 18:434,39931,632,40212,066,0002,011,0002,449,408
2May 3, 2025 18:434,41631,410,32912,113,0002,018,0002,277,376
3May 3, 2025 18:434,43131,503,40612,154,0002,025,0002,539,520
4May 3, 2025 18:434,43332,386,95912,160,0002,026,0002,277,376
5May 3, 2025 18:434,43833,111,97112,173,0002,028,0002,539,520
6May 3, 2025 18:434,44130,898,19912,180,0002,030,0002,539,520
7May 3, 2025 18:434,44431,108,56013,205,0001,015,0002,437,120
8May 3, 2025 18:434,45932,801,38413,250,0001,019,0002,539,520
9May 3, 2025 18:434,46638,522,74213,272,0001,020,0002,539,520