0_0_38524095_32391.cpp:4:1: error: 'db' does not name a type
db ans ;
^
0_0_38524095_32391.cpp:5:1: error: 'db' does not name a type
db res ;
^
0_0_38524095_32391.cpp:8:1: error: 'db' does not name a type
db expow(db x, int y){
^
0_0_38524095_32391.cpp: In function 'int main()':
0_0_38524095_32391.cpp:19:12: error: 'cin' was not declared in this scope
while (cin >> q){
^
0_0_38524095_32391.cpp:23:29: error: 'ans' was not declared in this scope
if (m <= 1) ans = 1.0 * n ;
^
0_0_38524095_32391.cpp:24:22: error: 'ans' was not declared in this scope
else ans = (expow(m, n) - 1.0) / (1.0 * (m - 1.0)) ;
^
0_0_38524095_32391.cpp:24:39: error: 'expow' was not declared in this scope
else ans = (expow(m, n) - 1.0) / (1.0 * (m - 1.0)) ;
^
0_0_38524095_32391.cpp:27:17: error: 'res' was not declared in this scope
res = 1 ; ans = 0.0 ;
^
0_0_38524095_32391.cpp:27:27: error: 'ans' was not declared in this scope
res = 1 ; ans = 0.0 ;
^
0_0_38524095_32391.cpp:31:32: error: 'ans' was not declared in this scope
printf("%.10lf\n", ans) ;
^
0_0_38524095_32391.cpp:31:35: error: 'printf' was not declared in this scope
printf("%.10lf\n", ans) ;
^
0_0_38524095_32391.cpp:33:5: error: expected '}' at end of input
}
^
|