(HDU)1095 --A+B for Input-Output Practice (VII)(输入输出练习(VII))

#include<stdio.h>

int main()
{
    int a,b;
    while(~scanf("%d%d",&a,&b))
    {
        printf("%d\n\n",a+b);
    }
return 0;
}
时间: 2024-10-17 21:55:03

(HDU)1095 --A+B for Input-Output Practice (VII)(输入输出练习(VII))的相关文章

(HDU)1090 --A+B for Input-Output Practice (II)(输入输出练习(II))

#include <stdio.h> int main() { int m,n,t,i; scanf("%d",&t); for(i=1;i<=t;i++) { scanf("%d %d",&m,&n); printf("%d\n",m+n); } return 0; }

(HDU)1096 --A+B for Input-Output Practice (VIII)(输入输出练习(VIII))

#include<stdio.h> int main() { int n,a[100],sum,m,i; scanf("%d",&n); while(n--) { sum=0; scanf("%d",&m); for(i=1;i<=m;i++) { scanf("%d",&a[i]); sum=sum+a[i]; } if(n!=0) printf("%d\n\n",sum); if(

(HDU)1091 --A+B for Input-Output Practice (III)(输入输出练习(III))

#include <stdio.h> int main() { int a,b; while(~scanf("%d %d",&a,&b)) { if(a==0 && b==0) continue; else printf("%d\n",a+b); } return 0; }

(HDU)1089 --A+B for Input-Output Practice (I)(输入输出练习(I))

#include <stdio.h> int main() { int a,b,c; while(~scanf("%d %d",&a,&b)) { c = a + b; printf("%d\n",c); } return 0; }

(HDU)1092 --A+B for Input-Output Practice (IV)(输入输出练习(IV))

#include <stdio.h> int main() { int n,i; while(~scanf("%d",&n)) { if(n==0) break; int a,sum = 0; for(i=1;i<=n;i++) { scanf("%d",&a); sum += a; } printf("%d\n",sum); } return 0; }

(HDU)1093 --A+B for Input-Output Practice (V)(输入输出练习(V))

#include <stdio.h> int main() { int n,m; scanf("%d",&n); while(n--) { scanf("%d",&m); int i,j,sum = 0; for(i=1;i<=m;i++) { scanf("%d",&j); sum += j; } printf("%d\n",sum); } return 0; }

数据库服务器Input/output error (故障20170122)

描述: 数据库系统出现告警,登陆查看使用系统命令报错,提示Input/output error 模拟故障处理过程: 检查文件系统时,该文件系统必须卸载.当出现错误时fsck会提示是否修复, 可以用-y参数:不提示是否修复 fsck - check and repair a Linux file system # df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/vg_mysql80-lv_root 2

解决NGINX+PHP-FPM failed to ptrace(PEEKDATA) Input/output error出错问题

网站总是出现bad gateway 提示,时有,时无,查看了一下日志,居然出现一堆错误,如下 [29-Mar-2014 22:40:10] ERROR: failed to ptrace(PEEKDATA) pid 4276: Input/output error (5) [29-Mar-2014 22:53:54] ERROR: failed to ptrace(PEEKDATA) pid 4319: Input/output error (5) [29-Mar-2014 22:56:30]

解决ubuntu挂载NTFS磁盘时出现input/output error

错误内容如下: Error mounting: mount exited with exit code 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read NTFS $Bitmap: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID ha