0_0_16393855_1104.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:9:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp:10:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393855_1104.cpp: In function 'int main()':
0_0_16393855_1104.cpp:15:19: error: 'scanf' was not declared in this scope
scanf("%d", &t);
^
0_0_16393855_1104.cpp:19:9: error: expected ';' before 'scanf'
scanf("%d", &a[i]);
^
0_0_16393855_1104.cpp:19:27: error: expected ')' before ';' token
scanf("%d", &a[i]);
^
0_0_16393855_1104.cpp:20:22: error: 'sort' was not declared in this scope
sort(a, a + n);
^
0_0_16393855_1104.cpp:23:39: error: 'pow' was not declared in this scope
ans += pow(0.95, n - 1 - i) * a[i];
^
0_0_16393855_1104.cpp:25:31: error: 'printf' was not declared in this scope
printf("%.10lf\n", ans);
^
|