Search found 2 matches

by alfar01
Wed Feb 15, 2012 11:19 am
Forum: Volume 119 (11900-11999)
Topic: 11946 - Code Number
Replies: 49
Views: 17572

Re: 11946 - Code Number

still get WA after removing the code of file reading
by alfar01
Tue Feb 14, 2012 3:35 pm
Forum: Volume 119 (11900-11999)
Topic: 11946 - Code Number
Replies: 49
Views: 17572

11946 - Code Number

Why I got WA with my code?

#include<stdio.h>
#include<string.h>
int main()
{
freopen("11946.in","r",stdin);
freopen("11946.out","w",stdout);
int i,j,stat,part=1,flag1=1,flag2=1;
char c[110][100],ans[]={"OIZEASGTBP"};
scanf("%d\n",&stat);
while(part<=stat){
flag1?flag1=0:putchar('\n');
for ...

Go to advanced search