mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
18 lines
268 B
C++
18 lines
268 B
C++
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
char buffer[1024];
|
|
|
|
fgets (buffer, sizeof (buffer), stdin);
|
|
fprintf (stdout, "%s", buffer);
|
|
|
|
|
|
fgets (buffer, sizeof (buffer), stdin);
|
|
fprintf (stderr, "%s", buffer);
|
|
|
|
return 0;
|
|
}
|