Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Palindrome-detection/APL/palindrome-detection-1.apl
Normal file
4
Task/Palindrome-detection/APL/palindrome-detection-1.apl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{⍵≡⌽⍵} 'abc'
|
||||
0
|
||||
{⍵≡⌽⍵} '⍋racecar⍋'
|
||||
1
|
||||
4
Task/Palindrome-detection/APL/palindrome-detection-2.apl
Normal file
4
Task/Palindrome-detection/APL/palindrome-detection-2.apl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(⊢≡⌽) 'abc'
|
||||
0
|
||||
(⊢≡⌽) 'nun'
|
||||
1
|
||||
5
Task/Palindrome-detection/APL/palindrome-detection-3.apl
Normal file
5
Task/Palindrome-detection/APL/palindrome-detection-3.apl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
inexact←{Aa←(⎕A,⎕a) ⋄ (⊢≡⌽)(⎕a,⎕a)[Aa⍳⍵/⍨⍵∊Aa]}
|
||||
inexact 'abc,-cbA2z'
|
||||
0
|
||||
inexact 'abc,-cbA2'
|
||||
1
|
||||
Loading…
Add table
Add a link
Reference in a new issue