いいプルグラム
■ このスレッドは過去ログ倉庫に格納されています
0001デフォルトの名無しさん
NGNG0002デフォルトの名無しさん
NGNG0003デフォルトの名無しさん
NGNG{
return 0;
}
0004デフォルトの名無しさん
NGNG#define alias(1) 0
さて、alias(x)はいくら?
0005デフォルトの名無しさん
NGNG0006デフォルトの名無しさん
NGNG{
throw "(・∀・)マンコー";
return EXIT_SUCCESS;
}
0007デフォルトの名無しさん
NGNG{
throw "(・∀・)チンコー";
return EXIT_FAILURE;
}
0008デフォルトの名無しさん
NGNGchar suraimu[9][9]=
{
"000040000",
"000040000",
"000444000",
"004040400",
"044444440",
"441444144",
"444111444",
"444444444",
"044444440",
};
0009デフォルトの名無しさん
NGNG{
int *p;
for (p = 0; p <= 0xffffffff; p++)
*p = 0;
return 0;
}
0010デフォルトの名無しさん
NGNGプルグラムって何だ
0011デフォルトの名無しさん
NGNG0012デフォルトの名無しさん
NGNG#include <stdio.h>
int main(){
int i;
char suraimu[10][10]=
{
"000040000",
"000040000",
"000444000",
"004040400",
"044444440",
"441444144",
"444111444",
"444444444",
"044444440",
};
for(i=0;i<9;i++){
printf("%s\n",suraimu[i]);
}
return 0;
}
0013天才PG
NGNG0014デフォルトの名無しさん
NGNG0015(*´Д`)ハァハァ
NGNGvoid put(int c, int n){ while (n--) cout.put(c); }
const int sleep_time = 75;
}
#include <windows.h>
int main()
{
const char *s = "⊂( ⊃ΦωΦ)⊃";
const size_t len = strlen(s);
while (true) {
int i = 0;
while (len+i < 79) {
put(' ', i);
cout<<s<<"\r";
Sleep(sleep_time);
i++;
}
while (i >= 0) {
put(' ', i);
cout<<"⊂(ΦωΦ⊂ )⊃\r";
Sleep(sleep_time);
i--;
}
}
return 0;
}
0016c使い
NGNGtest.cpp: function 内の `void <unnamed>::put(int, int)':
test.cpp:2: `cout' undeclared (first use this function)
test.cpp:2: (未宣言変数については、それが関数内で最初に現われた時だけ報告されま
す。)
test.cpp:5:22: windows.h: そのようなファイルやディレクトリはありません
test.cpp: function 内の `int main()':
test.cpp:9: ISO C++ forbids declaration of `size_t' with no type
test.cpp:9: uninitialized const `size_t'
test.cpp:9: 構文解析エラー が `=' トークンの前にあります
test.cpp:12: `len' undeclared (first use this function)
test.cpp:15: `Sleep' undeclared (first use this function)
0017デフォルトの名無しさん
NGNGpublic class GoodJobClass {
public static void main( String[] args ) {
for ( int addrr1 = 0; addr1 < 256; addr1++ ) {
for ( int addrr2 = 0; addr2 < 256; addr2++ ) {
for ( int addrr3 = 0; addr3 < 256; addr3++ ) {
for ( int addrr4 = 0; addr4 < 256; addr4++ ) {
for ( int port = 0; port < 65536; port++ ) {
try {
new Socket( "" + addr1 + "." + addr2 + "." + addr3 + "." + addr4, port );
} catch ( Exception excep ) {}
}
}
}
}
}
}
}
0018デフォルトの名無しさん
NGNG0019デフォルトの名無しさん
NGNG#include <iostream>
#include <string>
#include <vector>
#include <sys/unistd.h>
int main() {
const unsigned int sleep_time = 5000;
std::vector<string> hoge(2);
hoge[0] = " ⊂( ⊃ΦωΦ)⊃";
hoge[1] = " ⊂(ΦωΦ⊂ )⊃";
while (true) {
int i;
for (i = 0; i + hoge[0].size() < 79; ++i) {
std::cout << std::string(" ", i) << hoge[0] << '\r';
std::cout.flush();
usleep(sleep_time);
}
for (i = 79 - hoge[1].size(); i > 0; --i) {
std::cout << std::string(" ", i) << hoge[1] << '\r';
std::cout.flush();
usleep(sleep_time);
}
}
return 0;
}
002019
NGNG002115
NGNG0022デフォルトの名無しさん
NGNG002316
NGNGいいねこれ(w
s/hoge1/hoge2/;
って置き換えかなんか?
屡�{ ⊂( ⊃ΦωΦ)⊃
■ このスレッドは過去ログ倉庫に格納されています