Problem sort
User DoubleShaurya
Submission Time 2024-01-29 20:35:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:8:13: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
8 | double arr[N];
| ^
sort.cpp:8:13: error: could not convert ‘N’ from ‘double’ to ‘long unsigned int’
sort.cpp:8:13: error: size of array ‘arr’ has non-integral type ‘double’