CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 15:45:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=2c1c69ed869fb6fa63b2680ccea59262a39b1c1fc4f0d184841b8de0bb42aceda%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22Y5Dkj2Dp8RHnGVg8Y7WXMLOvIbD11tXX%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cf7c32b8ec5ace-BLR
Unltracolumnizer - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* The app reads text from stdin -- the text is two columns of words
- * separated by tab characters -- removes the first column and the tab
- * characters, splits the remaining text into single letters, removes
- * duplicates and capitalizez the letters. The result is written to
- * stdout.*/
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- #include <ctype.h>
- int main()
- {
- char *input_buffer;
- (void)scanf("%m[a-z\t\n]", &input_buffer);
- char *output_buffer;
- size_t input_buffer_size = strlen(input_buffer);
- output_buffer = malloc(input_buffer_size);
- int input_buffer_index = 0;
- int copy_flag = 0;
- int output_buffer_index = 0;
- while (input_buffer[input_buffer_index] != '\0') {
- if (input_buffer[input_buffer_index] == '\t') copy_flag = 1;
- if (input_buffer[input_buffer_index] == '\n') copy_flag = 0;
- if (copy_flag != 0 && input_buffer[input_buffer_index] != '\t')
- {
- output_buffer[output_buffer_index] = input_buffer[input_buffer_index];
- output_buffer_index++;
- }
- input_buffer_index++;
- }
- output_buffer[output_buffer_index] = '\0';
- size_t output_buffer_size = strlen(output_buffer);
- size_t i, j;
- for (i = 0; i < output_buffer_size; ++i)
- {
- for (j = i + 1; j < output_buffer_size; ++j)
- {
- if (output_buffer[j] == output_buffer[i]) output_buffer[j] = '\0';
- }
- }
- for (i = output_buffer_size; i > 0; --i)
- {
- if (output_buffer[i - 1] != '\0') printf("%c\n", toupper(output_buffer[i - 1]));
- }
- free(output_buffer);
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 1 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ⭐⭐ S
JavaScript | 3 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 11 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 6
JavaScript | 14 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 21 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ E
JavaScript | 25 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 30 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ M
JavaScript | 36 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand