Time Exceeded
foo.cc: In function 'void compare(int, int)':
foo.cc:14:40: warning: left operand of comma operator has no effect [-Wunused-value]
  for (char c1 = str[a], c2 = str[b]; a < tempa + n, b < tempb + n; a ++, b ++ , c1 = str[a], c2 = str[b])
                                      ~~^~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:31:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s", str);
  ~~~~~^~~~~~~~~~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1301 H. String Shifting
 - 比赛
 - 南京师范大学2021年11月程序设计竞赛
 - 语言
 - C++
 - 递交时间
 - 2021-11-21 16:17:11
 - 评测时间
 - 2021-11-21 16:17:11
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - ≥21502ms
 - 峰值内存
 - ≥2.113 MiB