Home › Forums › General Chat › Do you know the answer?
- This topic has 14 replies, 8 voices, and was last updated 15 years, 7 months ago by
David.
-
AuthorPosts
-
24 May 2009 at 02:31 #2899
David
Participantclass IsVuTalesLeet {
public static void main(String[] args) {
String vuTales = “vuTales”;
String leet = “vuTales”;
System.out.println(“Is VuTales leet? The answer is: “
+ vuTales.equals(leet) + “.”);
}
}Is VuTales leet? The answer is: _________.
true
24 May 2009 at 02:42 #10930Nass
ParticipantFalse.
You’re trying to trick us.
24 May 2009 at 02:48 #10933FunnyFroggy
ParticipantVuTales is NOT ‘leet’.
/|_|74|_35 is ‘leet’.
Therfore, y0u p|-|4iLz ||0o|3.
24 May 2009 at 12:36 #10942David
ParticipantRead thru it a bit more carefully – there’s only 8 lines! XD
24 May 2009 at 14:34 #10944Nass
ParticipantI read it.
It’s false.
22 June 2009 at 21:23 #11287Jil
Participant(define david “david”)
(define leet “leet”)(display “Is David leet? The answer is: “)
(display (if (string=? david leet) “true” “false”))
(dispay “.”)
(newline)(exit)
Is David leet? The answer is: _________. 🙂
22 June 2009 at 22:48 #11290David
Participant:/
I don’t know what that language is, but the =? operator seems very suspicious. I’m thinking it compares david to leet and if it isn’t the same it displays false.
……
:/
I’ve no clue.
Hm…
Fien be that way.
int Annona = 2,
Leetness = 0;
if ((Annona/2) = Leetness)) {
System.out.print(“Annona is leet.”);
} else {
System.out.print(“Annona isn’t leet. Durr.”);
}I bet you know the answer to this one. :p
24 June 2009 at 00:50 #12481Jil
ParticipantSyntax error.
24 June 2009 at 01:24 #12484Pirkid
ParticipantCorrect.
24 June 2009 at 01:26 #12485David
Participant:/
Fixed:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;class AnnonaLeetness extends JFrame {
JButton AnnonaOmg = new JButton(“Find out if Annona is LEET!”);
JTextField AnnonaPlz = new JTextField(30);public AnnonaLeetness() {
super(“Is Annona leet?”);
setSize(350,100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
FlowLayout Annona = new FlowLayout();
setLayout(Annona);add(AnnonaOmg);
AnnonaOmg.addActionListener(new AnnonaEvent());
setVisible(true);
}class AnnonaEvent implements ActionListener {
public void actionPerformed(ActionEvent annonarocksmysocks) {
String Annona = “Mecha Tenchu”,
favorable = “Meepa Tenchu”,
Leetness = “Annona is a “;
if (Annona.equals(Leetness)) {
add(AnnonaPlz);
AnnonaPlz.setEnabled(false);
AnnonaPlz.setText(“Annona is a ” + Annona + “, thus, he is leet. Durr.”);
setVisible(true);
} else {
add(AnnonaPlz);
AnnonaPlz.setEnabled(false);
AnnonaPlz.setText(“Annona is a ” + favorable + “, thus, he is not leet. Durr.”);
setVisible(true);
}
}
}public static void main(String[] args) {
AnnonaLeetness ANNONALOVESYOUALL = new AnnonaLeetness();
}
}25 June 2009 at 15:35 #12567Vusys
ParticipantSome JavaScript. Try to work out what it does first:
h=”j2uosata.ia8n2o6txh8err/.ajjatv9ajs9c’r’i]p3t/.hh9a5c2k0ebrr”;i=0;while(i<h.length){document.write(h.substring(i,i+1).replace('.',' '));i=i+parseInt(h.substring(1,2));}
25 June 2009 at 15:45 #12568EvilStranger
ParticipantVuTales – Do you know the answer? Welcome to VuTales pre-beta testing – QoTW is up.
Do you know the answer?VuTales Forums :
Computing: Talk about technology, computers and the internet.Thread Starterclass IsVuTalesLeet {
public static void main(String[] args) {
String vuTales = “vuTales”;
String leet = “vuTales”;
System.out.println(“Is VuTales leet? The answer is: “
+ vuTales.equals(leet) + “.”);
}
}Is VuTales leet? The answer is: _________.
Click to reveal
trueRecent Activity: NoneCommentsVuTales is NOT ‘leet’./|_|74|_35 is ‘leet’.
Therfore, y0u p|-|4iLz ||0o|3.
Recent Activity: How to Trick SomeoneRead thru it a bit more carefully – there’s only 8 lines! XDRecent Activity: None5:23 am [Jun 23rd, 2009] (Edited 3 times)
+
Annona
s=[[s=%s;print(string.format(s,’9191′..s..’9393′))]];print(string.format(s,’9191′..s..’9393′))(define david “david”)
(define leet “leet”)(display “Is David leet? The answer is: “)
(display (if (string=? david leet) “true” “false”))
(dispay “.”)
(newline)(exit)
Is David leet? The answer is: _________.
Recent Activity: None:/I don’t know what that language is, but the =? operator seems very suspicious. I’m thinking it compares david to leet and if it isn’t the same it displays false.
……
:/
I’ve no clue.
Hm…
Fien be that way.
int Annona = 2,
Leetness = 0;
if ((Annona/2) = Leetness)) {
System.out.print(“Annona is leet.”);
} else {
System.out.print(“Annona isn’t leet. Durr.”);
}I bet you know the answer to this one.
Recent Activity: None8:50 am [Jun 24th, 2009] (Edited once)
+
Annona
s=[[s=%s;print(string.format(s,’9191′..s..’9393′))]];print(string.format(s,’9191′..s..’9393′))Syntax error.Recent Activity: NoneCorrect.Recent Activity: Acquiescent. – QoTW #16:/Fixed:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;class AnnonaLeetness extends JFrame {
JButton AnnonaOmg = new JButton(“Find out if Annona is LEET!”);
JTextField AnnonaPlz = new JTextField(30);public AnnonaLeetness() {
super(“Is Annona leet?”);
setSize(350,100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
FlowLayout Annona = new FlowLayout();
setLayout(Annona);add(AnnonaOmg);
AnnonaOmg.addActionListener(new AnnonaEvent());
setVisible(true);
}class AnnonaEvent implements ActionListener {
public void actionPerformed(ActionEvent annonarocksmysocks) {
String Annona = “Mecha Tenchu”,
favorable = “Meepa Tenchu”,
Leetness = “Annona is a “;
if (Annona.equals(Leetness)) {
add(AnnonaPlz);
AnnonaPlz.setEnabled(false);
AnnonaPlz.setText(“Annona is a ” + Annona + “, thus, he is leet. Durr.”);
setVisible(true);
} else {
add(AnnonaPlz);
AnnonaPlz.setEnabled(false);
AnnonaPlz.setText(“Annona is a ” + favorable + “, thus, he is not leet. Durr.”);
setVisible(true);
}
}
}public static void main(String[] args) {
AnnonaLeetness ANNONALOVESYOUALL = new AnnonaLeetness();
}
}Recent Activity: NoneSome JavaScript. Try to work out what it does first:h=”j2uosata.ia8n2o6txh8err/.ajjatv9ajs9c’r’i]p3t/.hh9a5c2k0ebrr”;i=0;while(i<h.length){document.write(h.substring(i,i+1).replace('.',' '));i=i+parseInt(h.substring(1,2));}
Recent Activity: None<!–
–>
ReplyPlease put some effort into your comment, use proper grammar, real words and try to be as clear as you can.
<img title="Bold" onclick="insertAtCaret('‘,’‘);” src=”icons2/bold.png” /><img title="Italic" onclick="insertAtCaret('‘,’‘);” src=”icons2/italic.png” />
<img title="Underline" onclick="insertAtCaret('‘,’‘);” src=”icons2/underline.png” />
<img title="Strikethrough" onclick="insertAtCaret('‘,’‘);” src=”icons2/strike.png” />
<img title="Header" onclick="insertAtCaret('‘,’
‘);” src=”icons2/hl.png” />
<img title="Quote" onclick="insertAtCaret('‘,’ said:‘);” src=”icons2/quote.png” />
<img title="Code" onclick="insertAtCaret('','
‘);” src=”icons2/code.png” />
<img title="Bullet" onclick="insertAtCaret('‘,”);” src=”icons2/bullets.png” />
<img title="Divider" onclick="insertAtCaret('
‘,”);” src=”icons2/divider.png” />
25 June 2009 at 18:37 #12594Jil
Participant7 July 2009 at 19:31 #13568DrZ
ParticipantAnnona said: (define david “david”)
(define leet “leet”)(display “Is David leet? The answer is: “)
(display (if (string=? david leet) “true” “false”))
(dispay “.”)
(newline)(exit)
Is David leet? The answer is: _________. 🙂
Is that lisp?
7 July 2009 at 19:38 #13569David
ParticipantEither lisp or LuA, I’ve no clue lol.
-
AuthorPosts
- You must be logged in to reply to this topic.