Compiler output
prog.cpp:8:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(push)
^
prog.cpp:9:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable: 4996)
^
prog.cpp:77:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(pop)
^
prog.cpp: In function 'int main()':
prog.cpp:33:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", y - x + 1);
^
prog.cpp:48:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", y - x + 1);
^
prog.cpp:67:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", y - x + 1);
^