This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
#include <assert.h>
|
|
#include <string.h>
|
|
|
|
extern void sort_strings(const char * input, char * output, unsigned int n);
|
|
|
|
int main() {
|
|
char buf[100];
|
|
sort_strings("", buf, 1);
|
|
assert(memcmp(buf, "", 1) == 0);
|
|
return 0;
|
|
}
|