./Main.cpp: In member function ‘void A::init()’:
./Main.cpp:8:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d%I64d%I64d%I64d",&Q,&H,&S,&D,&N);
^
./Main.cpp:8:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
./Main.cpp:8:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
./Main.cpp:8:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
./Main.cpp:8:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
./Main.cpp: In member function ‘void A::work()’:
./Main.cpp:11:97: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",min((N%2==0)?N/2*D:((N-1)/2*D+min(S,min(H*2,Q*4))),min(...