Compile Error
foo.cc:4:9: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
4 | int n,p[M];
| ^
foo.cc:4:9: error: could not convert ‘M’ from ‘const double’ to ‘long unsigned int’
4 | int n,p[M];
| ^
| |
| const double
foo.cc:4:9: error: size of array ‘p’ has non-integral type ‘const double’
信息
- 递交者
- 类型
- 递交
- 题目
- P3020 货仓选址
- 语言
- C++
- 递交时间
- 2026-02-14 13:45:55
- 评测时间
- 2026-02-14 13:45:55
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes