This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
#include <cstdint> | |
using namespace std; | |
int CX[200], CY[200], BX[200], BY[200]; | |
int N, M; | |
int maxt = 0; | |
bool CheckPoint(int64_t A, int64_t B, int64_t C, int64_t D, int64_t x, int64_t y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
vector<int> V, P; | |
int a, b; | |
void Input() | |
{ | |
char A[500001]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
#include <stack> | |
using namespace std; | |
string tbl[11] = { | |
"xxxxx" | |
"x...x" | |
"x...x" | |
"x...x" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright © 2014 Mislav Blažević <[email protected]> | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version 2, | |
as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
#include <gtk/gtk.h> | |
#include <vte/vte.h> | |
GtkWidget *buttonvid, *buttonsub, *term; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int mul_znam(char* A) | |
{ | |
int b = A[0] - '0', i; | |
for (i = 1; A[i]; ++i) | |
if (A[i] != '0') | |
b *= A[i] - '0'; | |
return b; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
str = "derp"; | |
int = 43 + 12; | |
chr = "k"; | |
print(str); | |
print ( "herp" + "cherp"); | |
print (int ); | |
print(420 - 83 + int); | |
print(chr); | |
print("j"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <assert.h> | |
typedef enum | |
{ | |
INT, | |
STRING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int x,y,n; | |
char** ploca; | |
char** arraymalloc(size_t width, size_t height) | |
{ | |
int i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
char map[3][3]; | |
void* memset(void* s, int c, size_t n); | |
int p=1; | |
int win=0; | |
int input; | |
char turn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/server/game/Entities/Creature/GossipDef.h b/src/server/game/Entities/Creature/GossipDef.h | |
index 6c5f465..139ffd4 100755 | |
--- a/src/server/game/Entities/Creature/GossipDef.h | |
+++ b/src/server/game/Entities/Creature/GossipDef.h | |
@@ -277,6 +277,14 @@ class PlayerMenu | |
void SendQuestGiverOfferReward(Quest const* quest, uint64 npcGUID, bool enableNext) const; | |
void SendQuestGiverRequestItems(Quest const* quest, uint64 npcGUID, bool canComplete, bool closeOnCancel) const; | |
+ void hack_SendQuestGiverQuestList(std::vector<uint32> Entries, uint64 guid) | |
+ { |