/ Vijos /

记录详情

Compile Error

foo.cc:5:48: error: narrowing conversion of '1.000000007e+9' from 'double' to 'll' {aka 'long long int'} [-Wnarrowing]
    5 | typedef long long ll;ll mod[2]={998244353,1e9+7};
      |                                                ^
foo.cc: In function 'int main()':
foo.cc:10:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |     scanf("%d%d",&n,&m);len[0]=1;//保险起见用了双hash,欧皇们可以尝试单hash
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:19:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 |         scanf("%s",mde+1);//处理出前缀和后缀的hash值
      |         ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P2017 硬币游戏
语言
C++
递交时间
2022-06-24 15:32:41
评测时间
2022-06-24 15:32:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes