Microsoft Q# Coding Contest - Summer 2018

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1002 Microsoft Q# Coding Contest - Summer 2018 FINISHED False 259200 200930399 July 6, 2018, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 446 ) B2 Distinguish GHZ state and W state PROGRAMMING 2100

B'You are given N qubits (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89N xe2 x80 x89 xe2 x89 xa4 xe2 x80 x898) which are guaranteed to be in one of the two states: Your task is to perform necessary operations and measurements to figure out which state it was and to return 0 if it was GHZ state or 1 if it was W state. The state of the qubits after the operations does not matter. You have to implement an operation which takes an array of N qubits as an input and returns an integer. Your code should have the following signature: '...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
40097431 eatmore B2 July 9, 2018, 1:15 a.m. OK Q# TESTS 7 280 0 2100
40047807 251 B2 July 7, 2018, 1:16 a.m. OK Q# TESTS 7 280 0 2100
40046504 tzik B2 July 6, 2018, 11:23 p.m. OK Q# TESTS 7 280 0 2100
40035076 Picks B2 July 6, 2018, 4:10 p.m. OK Q# TESTS 7 280 0 2100
40067982 pimmo B2 July 7, 2018, 6:23 p.m. OK Q# TESTS 7 295 0 2100
40050535 carre B2 July 7, 2018, 4:12 a.m. OK Q# TESTS 7 295 0 2100
40045886 algmyr B2 July 6, 2018, 10:33 p.m. OK Q# TESTS 7 295 0 2100
40045577 arkadius B2 July 6, 2018, 10:07 p.m. OK Q# TESTS 7 295 0 2100
40043755 AnimeshSinha1309 B2 July 6, 2018, 8:32 p.m. OK Q# TESTS 7 295 0 2100
40043127 shay.tzabari B2 July 6, 2018, 8 p.m. OK Q# TESTS 7 295 0 2100

remove filters

Back to search problems