Problem | snail |
---|---|
User | matt |
Submission Time | 2024-02-15 12:15:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snail.cpp: In function ‘int32_t main()’:
snail.cpp:17:10: error: invalid types ‘long long int[int]’ for array subscript
17 | if (p[0]>0) cout<<ceil((double)h/(double)x[0])-1<<" "<<0;
| ^
snail.cpp:18:15: error: invalid types ‘long long int[int]’ for array subscript
18 | else if (p[0]<0) cout<<-1<<" "<<-1;
| ^