WA always, What is the error..?
Could any point me out the test cases.?
#include <cstdio>
int main() {
int N, flag, kase = 0;
while(scanf("%d",&N) && N) {
if(kase) printf("\n\n"); kase++;
flag = 0;
for(int fghij = 1234; fghij <= 98765/N; fghij++) {
int abcde = N * fghij;
int tmp, used ...
Search found 2 matches
- Tue Feb 24, 2015 8:55 am
- Forum: Volume 7 (700-799)
- Topic: 725 - Division
- Replies: 49
- Views: 31803
- Sat Apr 28, 2012 7:22 pm
- Forum: Volume 6 (600-699)
- Topic: 661 - Blowing Fuses
- Replies: 67
- Views: 31106
Re: 661 - Blowing Fuses
What is the mistake in my code..?
all the time it is reporting runtime error..??
here my code,
#include<stdio.h>
#define max(A,B) ((A>B)?A:B)
int main()
{
int n,m,c,t=1;
int current[22],op[22];
while(1)
{
scanf("%d %d %d",&n,&m,&c);
if(n==0&&m==0&&c==0)
break;
register i;
int flag[22]={0 ...
all the time it is reporting runtime error..??
here my code,
#include<stdio.h>
#define max(A,B) ((A>B)?A:B)
int main()
{
int n,m,c,t=1;
int current[22],op[22];
while(1)
{
scanf("%d %d %d",&n,&m,&c);
if(n==0&&m==0&&c==0)
break;
register i;
int flag[22]={0 ...