- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 Ubuntu更新源时,提示“无法获得锁”,“资源暂时不可用”问题
使用Ubuntu更新源时,出现问题,如图所示:在找了些资料之后,将问题得到解决:方法——杀死相关进程,步骤:1、#ps -e|grep apt2、#sudo killall ** (其中**是刚刚命令得到的进程)如图:3、#sudo apt-get update如图:问题解决,记录。...
2020-03-26 00:09:25 1184 1
原创 杭电OJ-1196(C)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1196#include <stdio.h>#include <math.h>int main(){ int n,a,num,count; while(scanf("%d",&n)!=EOF) { if(n==0) break; num=count=0;...
2020-03-03 23:31:00 129
原创 杭电OJ-2115(C)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=2115#include <stdio.h>#include <string.h>typedef struct{ char name[30]; char time[30]; int mm,ss;}aa;aa player[13],a;void deal(int pos...
2020-03-02 16:37:48 178
原创 杭电OJ-2113(C)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=2113#include <stdio.h>#include <string.h>int main(){ int sum,flag=0; char a[40]; memset(a,0,sizeof(a)); while(~scanf("%s",a)) { if(...
2020-03-02 15:26:30 151
原创 杭电OJ-1877(C)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1877#include <stdio.h>#include <math.h>#include <string.h>int aa[10000];int solve(int m,long long num){ int f=0,count=0; while(...
2020-03-02 11:40:19 5411
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人