User Profile

Collapse

Profile Sidebar

Collapse
sunfeifei
sunfeifei
Last Activity: Sep 25 '07, 12:17 PM
Joined: Aug 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sunfeifei
    replied to Check for parity property in matrix using C++
    in C
    I dont know how to write a code to calculate the 1 in a matrix...
    See more | Go to post

    Leave a comment:


  • sunfeifei
    started a topic Check for parity property in matrix using C++
    in C

    Check for parity property in matrix using C++

    Your job is to write a C++ program that reads in a matrix and checks if
    it has the parity property. If not, your program should check if the parity
    property can be established by changing only one bit. If this is not possible
    either, the matrix should be classified as corrupt.
    1Stolen from Miguel A. Revilla, Error Correction, http://online-
    judge.uva.es/p/v5/541.html, accessed 1 Nov, 2005
    1
    The Input...
    See more | Go to post

  • Given input time, print out time in text (2:00 = Two o'clock)

    Write a program that allows a user to input two numbers (the first between
    1 and 12, the second between 0 and 59 inclusive) and then prints out the
    time they represent, in words. You should follow the format of the example:
    Hours: 4
    Minutes: 12
    Twelve minutes past four
    If the number of minutes is greater than 30, you should say the time is “to”
    the next hour, otherwise the time should be...
    See more | Go to post
No activity results to display
Show More
Working...