The problem says:
We have N students want to compute their average in a test by circulating a sheet (originally blank). Each student writes a number and passes the sheet to his neighbor (sequentially). No student or a group of students should be able to figure out another student's score.

You may replace students by PC's, etc.

Could any one push me to the correct way?

Recommended Answers

All 3 Replies

Well if the sheet starts out blank, then the second student knows a hell of a lot about the first student.

How would you solve this problem?

invisible ink?

I'm just wondering if the OP has figured this out, or just ran away to get the answer from somewhere else.
Or perhaps they're thinking about it still.

I do have one idea on how to solve the initial case though, but I was waiting (hoping, perhaps) for more OP involvement in the post to begin with.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.