杭电ACM,1002题,总是格式错误

问题描述:

杭电ACM,1002题,总是格式错误
Input
Input contains an integer N in the first line,and then N lines follow.Each line starts with a integer M,and then M integers follow in the same line.
我的程序:
Output
For each group of input integers you should output their sum in one line,and you must note that there is a blank line between outputs.
#include"stdio.h"
#define N 100
int main()
{int n,m,i,j,sum[N]={0},a;
scanf("%d",&m);
for(j=0;j
1个回答 分类:综合 2014-11-15

问题解答:

我来补答
#include"stdio.h"
#define N 100
int main()
{
int n,m,i,j,sum[N]={0},a;
scanf("%d",&m);
for(j=0;j
再问: 还是格式错误啊
再答: 我没有密码进不去,我只能猜你是怎么个PE。。 你给我个密码吧 或者试试这个: #include"stdio.h" #define N 100 int main() { int n,m,i,j,sum[N]={0},a; scanf("%d",&m); for(j=0;j
 
 
展开全文阅读
剩余:2000
上一页:关于ATP```````