/ new_bzoj /

记录详情

Compile Error

/in/foo.cc:3:109: error: narrowing conversion of '1.0e+4' from 'double' to 'long long int' inside { } [-Wnarrowing]
 long long a,b,dp[20],po[20]={1,10,100,10e3,10e4,10e5,10e6,10e7,10e8,10e9,10e10,10e11,10e12,10e13,10e14,10e15},all_=0,cnt[20];
                                                                                                             ^
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+5' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+6' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+7' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+8' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+9' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+10' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+11' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+12' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+13' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+14' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+15' from 'double' to 'long long int' inside { } [-Wnarrowing]
/in/foo.cc:3:109: error: narrowing conversion of '1.0e+16' from 'double' to 'long long int' inside { } [-Wnarrowing]

信息

递交者
类型
递交
题目
count 数字计数
语言
C++
递交时间
2020-07-15 11:29:41
评测时间
2020-07-15 11:29:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes