Idea: Formula Verifier

This is a discussion on Idea: Formula Verifier within the Contests Board forums, part of the Community Boards category; Well why has the contest here going slugish.. well here is a contest sugestion... Ok write an efficient program which ...

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Idea Ide Idea Hear This I Say Damit

    Well why has the contest here going slugish.. well here is a contest sugestion...


    Ok write an efficient program which validates formulaes.... that is brackets



    x=x2[{s2(x+y)(x+y)}(x)] is a valid formulae

    x=2z)+3x( is invalid and so on...

    the program should be able to handle even very big formulaes.....
    The contest can also be made like this.. write a function validat which takes an argumen as char array and return an integer



    x=validate(array);



    so it should return 1 if valid 0 if invalid...

    So any one hearing....

  2. #2
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    do you mean that the function should only see if the brackets are correct?

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Yes for it to be simple(so that many contest..) if you want the equation can also be validated....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. project idea ???
    By gemini_shooter in forum C Programming
    Replies: 2
    Last Post: 06-09-2005, 09:56 AM
  2. Have an idea?
    By B0bDole in forum Projects and Job Recruitment
    Replies: 46
    Last Post: 01-13-2005, 02:25 PM
  3. A little problem about an idea, help please
    By louis_mine in forum C++ Programming
    Replies: 3
    Last Post: 09-10-2004, 09:52 PM
  4. totally screwed up idea
    By iain in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 08-17-2001, 12:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21