-
+147
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
Hello, <i>truekenny</i>!<br />
<br />
На Ваш e-mail была запрошена регистрация на сайте Говнокод.ру!<br />
<br />
Для подтверждения своих намерений перейдите по этой ссылке:<br />
<br />
<a href="http://govnokod.ru/user/confirm?code=0938740efc5e3004 ... </a><br />
<br/>
<br/>
Внимание! Ссылка будет доступна в течение 3-х суток. Если Вы не ... заново!<br />
<br />
<br />
<br />
С уважением, Ваш <a href="http://govnokod.ru">Говнокод</a>.
<p>
Hello, <em>truekenny</em>!
</p>
<p>
На Ваш e-mail была запрошена регистрация на сайте Говнокод.ру!
</p>
...
truekenny,
20 Января 2012
-
+150
- 1
- 2
- 3
- 4
- 5
- 6
- 7
int MyNewClass::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
return _id;
}
Из Qt 4.8.0, генерится сие чудо и находится в файле moc_ИмяВашегоКласса.
Glaciuse,
20 Января 2012
-
+140
- 1
http://govnokod.ru/kucha
kucha - транслит
KO
truekenny,
20 Января 2012
-
+119
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
FROM: Glype 1.2
SITE: http://www.glype.com/download.php
FILE: themes/default/framedForm.inc.php
LINE: 23
#include script {
display:none;
}
truekenny,
20 Января 2012
-
+107
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
begin
writeln('Enter 1st number');
readln(a);
writeln('Enter 2st number');
readln(b);
writeln('Enter 3st number');
readln(c);
if a = b then if a = c then if b = c then ;
writeln('numbers are');
if a > b then if a = c then if b < c then
writeln('a Equally c and it is more b') ;
if a = b then if a > c then if b > c then
writeln('a Equally b and it is more c') ;
if a < b then if a < c then if b = c then
writeln('b Equally c and it is more a') ;
if a > b then if a > c then if b > c then
writeln('a it is more ') ;
if a > b then if a > c then if b < c then
writeln('a it is more ') ;
if a > b then if a > c then if b = c then
writeln('a it is more ') ;
if a < b then if a = c then if b > c then
writeln('b it is more ') ;
if a < b then if a > c then if b > c then
writeln('b it is more ') ;
if a < b then if a < c then if b > c then
writeln('b it is more ') ;
if a = b then if a < c then if b < c then
writeln('c it is more ') ;
if a > b then if a < c then if b < c then
writeln('c it is more ') ;
if a < b then if a < c then if b < c then
writeln('c it is more ') ;
Такое выдал один из моих учеников в 10м классе после того, как отказался учится рисовать блок-схемы и сказал, что сразу сможет писать. Задание заключалось в том, чтобы программа выводила большее из 3х введенных пользователем чисел.
Rage,
20 Января 2012
-
+65
- 1
- 2
- 3
- 4
public int getSysEmailId() {
return super.getJdbcTemplate().queryForInt(
"SELECT id FROM sys_email");
}
Коллега порадовал. Говнонюанс в том, что sys_email имеет структуру (id SERIAL PRIMARY KEY, login text NOT NULL UNIQUE, password text NOT NULL).
0rt,
20 Января 2012
-
+111
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
while (true)
{
if (sec > 10)
{
sec = 0;
// Вызор функции
}
else
sec++;
Thread.Sleep(1000);
}
Боевой код, который допиливаю(
yorikim,
20 Января 2012
-
+150
- 1
- 2
$id = $_GET['id'];
$id = (int) intval($id);
Чтобы уж наверняка :)
DropWorld,
19 Января 2012
-
+953
- 1
- 2
- 3
- 4
- 5
void Update()
{
float anime = (animation.wrapMode = WrapMode.Loop);
anime = false;
}
Хентай повышенной концентрации.
alexz,
19 Января 2012
-
+142
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
private void run() throws Exception {
Scanner s = new Scanner(new File("input.txt"));
PrintWriter p = new PrintWriter(new File("output.txt"));
int n = s.nextInt();
int sum = 0;
init();
for(int i = 1; i <= n; i++) {
sum += find(i);
}
p.print(sum);
s.close();
p.close();
}
private void init() {
for(int i = 0; i < 100; i++) {
pow_2[i] = (int) Math.pow(2, i + 1);
}
for(int i = 0; i < 100; i++) {
pow_3[i] = (int) Math.pow(3, i + 1);
}
for(int i = 0; i < 100; i++) {
pow_4[i] = (int) Math.pow(4, i + 1);
}
for(int i = 0; i < 100; i++) {
pow_5[i] = (int) Math.pow(5, i + 1);
}
}
private int find(int num) {
for(int i = 0; i < 100; i++) {
if(pow_2[i] == num) return 2;
if(num > pow_2[99]) break;
}
for(int i = 0; i < 100; i++) {
if(pow_3[i] == num) return 3;
if(num > pow_3[99]) break;
}
for(int i = 0; i < 100; i++) {
if(pow_4[i] == num) return 4;
if(num > pow_4[99]) break;
}
for(int i = 0; i < 100; i++) {
if(pow_5[i] == num) return 5;
if(num > pow_5[99]) break;
}
return 0;
}
Говнолаба... есть идеи как оптимизировать по скорости?
Nyashka,
19 Января 2012