if i put !cin.eof() in most outer while loop it will give me Time limit Exceed Error
and if i put ture in most outer while loop it will give me wrong answer please tell me whats the problem with my program.
[cpp]
#include <iostream>
using namespace std;
int main (void)
{
const short maxlength ...
Search found 2 matches
- Sat Jul 10, 2004 11:54 am
- Forum: Volume 101 (10100-10199)
- Topic: 10192 - Vacation
- Replies: 58
- Views: 23957
- Sat Jul 10, 2004 11:36 am
- Forum: Volume 6 (600-699)
- Topic: 661 - Blowing Fuses
- Replies: 67
- Views: 30959
661 blowing fuses please help me out i got WA
please tell me what to do. tell me if there is some logical mistake or others mistakes this is code which i have submitted to acm and got WA
[/cpp]
#include <iostream>
using namespace std;
int main(void)
{
int d = 0;
int o = 0;
int c = 0;
int *inarray;
int *farray;
int cap = 0;
int cindex ...
[/cpp]
#include <iostream>
using namespace std;
int main(void)
{
int d = 0;
int o = 0;
int c = 0;
int *inarray;
int *farray;
int cap = 0;
int cindex ...