ICode9

精准搜索请尝试: 精确搜索
  • 数据结构:利用辅助栈进行队列的逆置2022-06-22 10:33:11

    #include<stdio.h> #include<stdlib.h> #define MAX 100 #define TRUE 1 #define FALSE 0 typedef struct Stuck //定义栈 { int data[MAX]; //存数据 int top; }Stuck; typedef struct Node //定义队列 { int data;

  • 查看dmesg 里面部分内容的精确时间2022-04-12 08:01:59

    for i in `dmesg |grep "stuck for" |awk '{print $1}' |awk -F "." '{print $1}' |awk -F '[' '{print $2}' |xargs `; do date -d "1970-01-01 UTC `echo "$(date +%s)-$(cat /proc/uptime|cut -f

  • [LeetCode] 1706. Where Will the Ball Fall2022-03-01 11:31:06

    You have a 2-D grid of size m x n representing a box, and you have n balls. The box is open on the top and bottom sides. Each cell in the box has a diagonal board spanning two corners of the cell that can redirect a ball to the right or to the left. A

  • BUG: soft lockup - CPU#0 stuck for s!2021-09-03 09:01:11

    目前看来就是内核中有死循环! 解决BUG: soft lockup - CPU#0 stuck for 61s!问题1 在网上看到很多软死锁的问题,经过对自己程序的理解,结合网上一些相关资料,基本上可以确定是由于内核bug造成的,这个问题基本上在内核模块加载或者卸载的时候发生,对我的模块而言,每次卸载时候发生,其他一切

  • 【CCF-CSP】I'm stuck!2021-08-18 16:04:18

    给定一个 R 行 C 列的地图,地图的每一个方格可能是 #, +, -, |, ., S, T 七个字符中的一个,分别表示如下意思: #: 任何时候玩家都不能移动到此方格; +: 当玩家到达这一方格后,下一步可以向上下左右四个方向相邻的任意一个非 # 方格移动一格; -: 当玩家到达这一方格后,下一步可以向左右两

  • I’m stuck!题解2021-06-14 16:02:26

    题面见链接:https://www.cnblogs.com/hyf200803050946/p/14882604.html #include<cstdio> #include<cstring> #include<queue> using namespace std; struct node{ int x,y; }t1,t2; int r,c,ans; char a[55][55]; int sx,sy,tx,ty; bool flag1[55][55],

  • oracle RAC ONLINE INTERMEDIATE shdb1 Stuck Archiver2021-04-24 18:04:27

    查看rac资源信息时发现如下错误:# crsctl stat res -t ora.shinfo.db 1 ONLINE INTERMEDIATE shdb1 Stuck Archiver 2 ONLINE INTERMEDIATE shdb2 Stuck Archiver   查看alert日志 ARCH: Archival stopped, err

  • ceph 运维操作-PG2021-04-20 10:56:01

    1.说明1.1介绍PG全称Placement Grouops,是一个逻辑的概念,一个PG包含多个OSD。引入PG这一层其实是为了更好的分配数据和定位数据。2. 常用操作2.1 查看pg组映射信息$ ceph pg dump2.2 查看一个PG的map$ ceph pg map 1.2f6 osdmap e7768 pg 1.2f6 (1.2f6) -> up [6,14,2

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

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

ICode9版权所有