ICode9

精准搜索请尝试: 精确搜索
  • 1148 Werewolf - Simple Version (20 分)2022-01-25 21:34:40

    Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 said: “Player #2 is a werewolf.”; player #2 said: “Player #3 is a human.”; player #3 said: “Player #4 i

  • pat 11482020-07-17 14:31:40

    1148 Werewolf - Simple Version (20分)   Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 said: "Player #2 is a werewolf."; player #2 said: &

  • 信息学奥赛一本通C++语言——1148:连续出现的字符2020-03-16 13:07:29

    【题目描述】 给定一个字符串,在字符串中找到第一个连续出现至少k次的字符。 【输入】 第一行包含一个正整数k,表示至少需要连续出现的次数。1 ≤ k ≤ 1000。 第二行包含需要查找的字符串。字符串长度在1到2500之间,且不包含任何空白符。 【输出】 若存在连续出现至少k次的字

  • 解决Mac在MySQL workbench 中出现的Error 11482020-02-26 13:06:43

    在workbench上尝试导入.txt文件后,出现1148错误提示。 load data local infile '/Users/w**/Desktop/SQL/all.txt' into table Monthly_Indicator fields terminated by '\t' ignore 1 lines; 提示错误 ERROR 1148 (42000): The used command is not allowed with

  • 1148 H. Holy Diver2019-08-26 22:57:17

    1148 H. Holy Diver 题意: 强制在线,初始数组为空.每次询问给出四个整数\(a,l,r,k\),表示在数组末尾添加\(a\),求满足\(l\leq x\leq y\leq r\)以及\(\text{mex}(a_{x},a_{x+1},\cdots,a_y)=k\)的整数对\(x,y\)的个数. \(\text{mex}\)定义可见Mex (mathematics) - Wikipedia. 题解:

  • 1148 Werewolf - Simple Version (20 分)2019-08-04 15:40:58

    1148 Werewolf - Simple Version (20 分) Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 said: "Player #2 is a werewolf."; player #2 said: "P

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有