/in/foo.c:4:1: error: unknown type name 'using'
using namespace std;
^~~~~
/in/foo.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^~~
/in/foo.c: In function 'main':
/in/foo.c:9:16: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%I64d%I64d",&n,&m);
^
/in/foo.c:9:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
scanf("%I64d%I64d",&n,&m);
^
/in/foo.c:14:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",ways%1000000007);
^