Problem | specialgirlfriends |
---|---|
User | mentcletan |
Submission Time | 2024-07-03 16:52:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
specialgirlfriends.cpp: In function ‘int main()’:
specialgirlfriends.cpp:9:16: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
9 | double arr[a];
| ^
specialgirlfriends.cpp:9:16: error: could not convert ‘a’ from ‘double’ to ‘long unsigned int’
specialgirlfriends.cpp:9:16: error: size of array ‘arr’ has non-integral type ‘double’
specialgirlfriends.cpp:11:19: error: invalid types ‘double [1][double]’ for array subscript
11 | cin>>arr[i];
| ^
specialgirlfriends.cpp:14:23: error: invalid types ‘double [1][double]’ for array subscript
14 | sum+=pow(arr[i],b);
| ^
specialgirlfriends.cpp:16:8: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
16 | sum%=x;
| ~~~^~~
specialgirlfriends.cpp:16:10: error: in evaluation of ‘operator%=(double, double)’
1