Serpent03 / usaco-dpal
0 j'aimes
0 forks
1 fichiers
Dernière activité
1 | #include <stdio.h> |
2 | #include <string.h> |
3 | #include <stdlib.h> |
4 | |
5 | char* rev(char buf[]) { |
6 | for (int i = 0; i < strlen(buf); i++) { |
7 | char t = buf[i]; |
8 | buf[i] = buf[strlen(buf) - i - 1]; |
9 | buf[strlen(buf) - i - 1] = t; |
10 | } |
Plus récent
Plus ancien