
Search found 5 matches
- Mon Nov 21, 2005 7:05 am
- Forum: Volume 4 (400-499)
- Topic: 454 - Anagrams
- Replies: 97
- Views: 36568
- Wed Sep 14, 2005 3:03 pm
- Forum: Volume 4 (400-499)
- Topic: 454 - Anagrams
- Replies: 97
- Views: 36568
454 RTE Why?
I dont know why I get RTE on this problem,could you help me?
This is my code:
#include <iostream.h>
//#include <fstream.h>
#include <string.h>
char st[100][1000];
int check(int n,int m)
{
int k,i,j,sw[1000],ssw;
k=0;
for(i=0 ; st[n][i] ; i++)
if(st[n][i]!=' ')
k++;
j=0;
for(i=0 ; st[m][i ...
This is my code:
#include <iostream.h>
//#include <fstream.h>
#include <string.h>
char st[100][1000];
int check(int n,int m)
{
int k,i,j,sw[1000],ssw;
k=0;
for(i=0 ; st[n][i] ; i++)
if(st[n][i]!=' ')
k++;
j=0;
for(i=0 ; st[m][i ...
- Tue Aug 30, 2005 6:29 am
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 68183
- Sun Aug 28, 2005 11:13 am
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 68183
10013 Why RTE??
this is my code ,I dont know Why I got RunTimeError!!!
can you help me!?
#include <iostream.h>
//#include <fstream.h>
#include <string.h>
char a[3][10000000];
void main()
{
int i,j,k,n,m,carry;
//ifstream f("10013.in");
cin>>m;
for(j=0 ; j<m ; j++)
{
cin>>n;
for(k=0 ; k<n ; k++)
{
cin>>a ...
can you help me!?
#include <iostream.h>
//#include <fstream.h>
#include <string.h>
char a[3][10000000];
void main()
{
int i,j,k,n,m,carry;
//ifstream f("10013.in");
cin>>m;
for(j=0 ; j<m ; j++)
{
cin>>n;
for(k=0 ; k<n ; k++)
{
cin>>a ...
- Fri Aug 26, 2005 11:34 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 68183
10013 WA,Please Help me!!
my code give the correct answer for any input I have tried,
I dont know whats wrong with that,
would you help me!
#include <iostream.h>
//#include <fstream.h>
#include <string.h>
//#include <math.h>
#include <stdlib.h>
int a[1000001],b[1000001],r[1000001];
void main()
{
int i,j,k,n,m,l,sum ...
I dont know whats wrong with that,
would you help me!
#include <iostream.h>
//#include <fstream.h>
#include <string.h>
//#include <math.h>
#include <stdlib.h>
int a[1000001],b[1000001],r[1000001];
void main()
{
int i,j,k,n,m,l,sum ...