-- Job: Distinguish two classes of images -- Two images are supplied at once, one of each class. -- Task is to find out if the two images are swapped or not. -- -- input variables: img1, img2, solution [to last pair] -- output: a function returning true or false (swapped or no) return function() return true end
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #483 |
Snippet name: | Image distinguisher (trivial solution 1 - always returns true) |
Eternal ID of this version: | #483/1 |
Text MD5: | 2ca57ffaa8757241bae00964bd72fa53 |
Author: | stefan |
Category: | |
Type: | Lua code - Image distinction (learner) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-03-03 18:27:21 |
Source code size: | 324 bytes / 10 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 716 / 299 |
Referenced in: | [show references] |