Balanso skaičius
- [1] 2018-10-27 15:33 (0)
- [2] 2018-10-27 15:36 (0)
- [3] 2018-10-27 15:37 (0)
- [4] 2018-10-27 15:38 (0)
- [5] 2018-10-27 15:39 (0)
- [6] 2018-10-27 15:40 (0)
- [7] 2018-10-27 15:42 (0)
- [8] 2018-10-27 15:44 (100)
Taškai: 0
Compile: FAIL
balanso_skaicius.cpp: In function ‘int main()’: balanso_skaicius.cpp:13:15: error: size of array ‘a’ has non-integral type ‘double’ double a[n],sum; ^ balanso_skaicius.cpp:16:16: error: invalid types ‘double [1][double]’ for array subscript fd>>a[n]; ^ balanso_skaicius.cpp:17:17: error: invalid types ‘double [1][double]’ for array subscript sum+=a[n]; ^ balanso_skaicius.cpp:19:33: error: ‘setprecision’ was not declared in this scope cout<<fixed<<setprecision(10)<<sum/n; ^
nr. | result | time | message |
---|