/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:36:27: warning: array subscript has type 'char' [-Wchar-subscripts]
   36 |         if(isalpha(ch)) a[ch]++;
      |                           ^~
foo.cc:47:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   47 |     for(int i=0;i<p.size();i++)
      |                 ~^~~~~~~~~
foo.cc:43:8: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
   43 |     n=e-'e';
      |       ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 512.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 4ms 512.0 KiB
#7 Accepted 4ms 548.0 KiB

信息

递交者
类型
递交
题目
P1244 Matrix67的情书
语言
C++
递交时间
2022-02-06 07:28:51
评测时间
2022-02-06 07:28:51
评测机
分数
70
总耗时
24ms
峰值内存
548.0 KiB