# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
14899 | cepiloth | 줄 세우기 (KOI13_jul) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
typedef char BOOL;
BOOL getUserMessage(char* arg)
{
char szTemp[256];
printf("input first change \r\n");
scanf("%c", szTemp);
arg = (char*)malloc(sizeof(char) * strlen(szTemp));
strcpy(arg, szTemp, strlen(szTemp));
return TRUE;
}
int main()
{
BOOL nRet = TRUE;
nRet = getUserMessage();
if(nRet == FALSE)
printf("invalid message exit() \r\n");
return TRUE;
}