/ Vijos /

记录详情

Compile Error

foo.cc:8:6: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
    8 | ll f[1e7];
      |      ^~~
foo.cc:8:6: error: could not convert '1.0e+7' from 'double' to 'long unsigned int'
foo.cc:8:6: error: size of array 'f' has non-integral type 'double'
foo.cc: In function 'void cx()':
foo.cc:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |  scanf("%lld", &n);
      |  ~~~~~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:25:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |  scanf("%lld", &T);
      |  ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1599 货币
语言
C++
递交时间
2022-04-22 16:05:59
评测时间
2022-04-22 16:05:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes