| Problem | sort |
|---|---|
| User | fanqie |
| Submission Time | 2026-02-17 16:59:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘int main()’:
sort.cpp:6:11: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | double A[N];
| ^
sort.cpp:6:11: error: could not convert ‘N’ from ‘double’ to ‘long unsigned int’
sort.cpp:6:11: error: size of array ‘A’ has non-integral type ‘double’
sort.cpp:8:11: error: invalid operands of types ‘double [1]’ and ‘double’ to binary ‘operator+’
8 | sort(A, A+N);
| ~^~
| | |
| | double
| double [1]