Cody

Solution 332252

Submitted on 10 Oct 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
%% tic n=17; exp=101; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

2   Fail
%% n=19; exp=123; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

3   Fail
%% n=23; exp=183; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

4   Fail
%% n=29; exp=289; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

5   Fail
%% n=31; exp=327; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

6   Fail
%% n=37; exp=465; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

7   Fail
%% n=41; exp=573; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

8   Fail
%% n=43; exp=627; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

9   Fail
%% n=47; exp=751; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

10   Fail
%% n=53; exp=953; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

11   Fail
%% n=59; exp=1179; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

12   Fail
%% n=61; exp=1257; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

13   Fail
%% n=67; exp=1515; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

14   Fail
%% n=71; exp=1703; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

15   Fail
%% n=73; exp=1797; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

16   Fail
%% n=79; exp=2103; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

17   Fail
%% n=83; exp=2323; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

18   Fail
%% n=89; exp=2669; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".

19   Fail
%% n=97; exp=3165; S=Graceful_Wichmann(n); assert(S(end)==exp) delta=abs(repmat(S,n,1)-repmat(S',1,n)); assert(length(unique(delta(:)))==S(end)+1) % zero increases delta unique toc

Error: Undefined function or variable "c".