Search found 1 match

by braverman
Sat Apr 13, 2013 6:32 am
Forum: Volume 114 (11400-11499)
Topic: 11407 - Squares
Replies: 24
Views: 14333

Squares, 11407

Getting WA, I checked my code with all inputs, and it gives me good results, I do not really know the problem
please help me, here is my code #include <math.h>
#include <stdio.h>
int main(){
int n,k=0,occ,max,t,i,j,a;
scanf("%d",&n);
while(k<n){
scanf("%d",&a);
max=100;
if(a==0) max=1;
for(j ...

Go to advanced search