Wrong Answer
foo.cc: In function 'int main()':
foo.cc:18:21: warning: array subscript has type 'char' [-Wchar-subscripts]
   18 |             cnt[s[j]] ++;
      |                     ^
foo.cc:19:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   19 |             if (cnt[s[j]]>1)
      |                         ^
foo.cc:8:9: warning: unused variable 'n' [-Wunused-variable]
    8 |     int n=0,l;
      |         ^
foo.cc:11:9: warning: variable 'start' set but not used [-Wunused-but-set-variable]
   11 |     int start=-1;
      |         ^~~~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1108 无重复最长子串
 - 语言
 - C++
 - 递交时间
 - 2022-07-18 18:30:01
 - 评测时间
 - 2022-07-18 18:30:01
 - 评测机
 
- 分数
 - 75
 - 总耗时
 - 11ms
 - 峰值内存
 - 384.0 KiB