Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Challenges relating to the 95 printable ASCII characters (space to ~). Tabs and newlines may be included as well, depending on the challenge.
1
vote
Converting a string to lower-case (without built-in to-lower functions!)
Just for fun, because Java's my language.
Java - 162 175
Fixed for OP's updates.
class a{public static void main(String[]a){String b="";for(char c:new java.util.Scanner(
System.in).nextLine().toCha …
1
vote
Converting a string to lower-case (without built-in to-lower functions!)
Python 3 - 70
Updated for OP's changes.
I'm a Python newbie, so any critique is welcome.
print("".join(chr(ord(c)+32) if 64<ord(c)<91 else c for c in input()))
19
votes
Print every character your program doesn't have
I know it's not winning any contests. I just wanted to try it in a language not normally used, just for kicks.
Java - 209 195 152 140 characters
class a{public static void main(String[]a){for(char …