#include <stdio.h>
int main() {
char arquivo[] = "1 2 3 4 5";
int a, b, c, d, e;
sscanf (arquivo
, "%d %d %d %d %d", &a
, &b
, &c
, &d
, &e
); printf ("%d - %d - %d - %d - %d", a
, b
, c
, d
, e
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKCWNoYXIgYXJxdWl2b1tdID0gIjEgMiAzIDQgNSI7CglpbnQgYSwgYiwgYywgZCwgZTsKCXNzY2FuZiAoYXJxdWl2bywgIiVkICVkICVkICVkICVkIiwgJmEsICZiLCAmYywgJmQsICZlKTsKCXByaW50ZiAoIiVkIC0gJWQgLSAlZCAtICVkIC0gJWQiLCBhLCBiLCBjLCBkLCBlKTsKCXJldHVybiAwOwp9