#include <stdio.h> int main() { double m1=10000,m2=10000; for(int i=1;i<=5;i++) { m1*=1.035; } m2+=5.0*10000.0*0.04; printf("%.1lf %.0lf",m1,m2); return 0; }
By signing up a QFNU-OJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your QFNU-OJ universal account