User contributions

Jump to navigation Jump to search
Search for contributions
 
 
      
 
   

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

  • 00:19, 8 March 2019 diff hist +1,710‎ N Typedef vs ‎ Created page with "ในการกำหนดชื่อชนิดตัวแปรใหม่ของเราเองขึ้นมา ในการเลือกใช้ระ..." current
  • 00:18, 8 March 2019 diff hist +367‎ N Operator ‎ Created page with "=== วิธีเรียกใช้แบบแปลกๆ === อันนี้เป็นตัวอย่างของโปรแกรม นำค่า a+b..." current
  • 00:18, 8 March 2019 diff hist +1,270‎ N STL Containers ‎ Created page with "อยากใช้ STL เป็นเร็วๆ T^T ใครใช้เป็นก็ช่วยๆกันใส่หน่อยละกัน (อ้างอ..." current
  • 00:18, 8 March 2019 diff hist +2,779‎ N ตัวอย่าง Code STL ‎ Created page with "== ข้อ Editor == โจทย์ : [http://www.acioi.in.th/Problem/editor.pdf] <pre> #include<stdio.h> #include<string> #include<list> #include<iostream> using namespace..." current
  • 00:17, 8 March 2019 diff hist +920‎ N Min-max ‎ Created page with "==วิธีเขียน min max แบบปกติ== if(a < b) { min = a; max = b; } else { min = b; max = a; } ==วิธีเขียนหา..." current
  • 00:17, 8 March 2019 diff hist +768‎ N Quine in C ‎ Created page with "Quine คือ โปรแกรมที่เมื่อรันแล้ว Output จะเหมือนกับ Sourcecode เด๊ะๆ *ลองก๊อบ..." current
  • 00:17, 8 March 2019 diff hist +2,269‎ N Bit Count ‎ Created page with "== อันนี้เป็นแบบ version ทำมือ == เห็นฟังก์ชั่นนี้มันเจ๋งดี ใช้นับจำน..." current
  • 00:16, 8 March 2019 diff hist +490‎ N Printf ‎ Created page with "หาอาสาสมัครช่วยแปลอิงเป็นไทยด้วย 555 http://www.cplusplus.com/reference/clibrary/cstdio/printf/ == เทค..." current
  • 00:16, 8 March 2019 diff hist +541‎ N Graph Representation with stl list ‎ Created page with "<pre> #include <stdio.h> #include <list> using namespace std; int main(int argc, const char * argv[]) { int v,e; scanf("%d%d",&v,&e); list<int> graph[1000]; in..." current
  • 00:16, 8 March 2019 diff hist +471‎ N Solving Dynamic Programming with Matrix Exponentiation ‎ Created page with "ตัวอย่างโจทย์ Unweighted Undirected graph หา จำนวน path ที่ length = k ให้ egde มา ทุก edge = 1 A[i][j]..." current
  • 00:15, 8 March 2019 diff hist +366‎ N Big Mod Algorithm ‎ Created page with "https://golammostaeen.wordpress.com/2012/10/20/big-mod-algorithm/ <math>a^b % p = a^(b%(p-1)) % p</math> เพราะว่ามันจะ cycle ค่า mod ทุ..." current
  • 00:15, 8 March 2019 diff hist +989‎ N Max Flow ‎ Created page with "Max Flow imprement with scaling algorithm O(nmlgU) #include<stdio.h> #include<algorithm> #include<vector> #define INF 2000000000 using namespace std; struct Edge { i..." current
  • 00:14, 8 March 2019 diff hist +4,439‎ N String Matching ‎ Created page with " #include<stdio.h> #include<algorithm> #include<string.h> #include<math.h> #include<time.h> using namespace std; char text[50000005],word[1000005]; int f[1000005]; in..." current
  • 00:14, 8 March 2019 diff hist +1,066‎ N Knuth-Morris-Pratt (KMP) ‎ Created page with "อันนี้เป็น snippet ที่ copy มาจาก http://www.cprogramming.com/snippets/source-code/knuthmorrispratt-kmp-string-search-algorithm เห็..." current
  • 00:13, 8 March 2019 diff hist +1,779‎ N Sliding Window Minimum ‎ Created page with "== Problem == for (i = 0; i < ARR.size(); i++) { remove ARR[i-K] from the sliding window insert ARR[i] into the sliding window output the smallest value in the wind..." current
  • 00:13, 8 March 2019 diff hist +268‎ N ห.ร.ม. ยูคลิด ‎ Created page with "ข้างล่างเป็นตัวอย่าง function นะ ส่วนลองหาอ่านทฤษฎีจากใน google int gcd(int x, int..." current
  • 00:13, 8 March 2019 diff hist +1,752‎ N Floyd-Warshall ‎ Created page with "*เป็น Algorithm หา Shortest Path ให้ทุกสองจุดใดๆ (หมายความว่า สามารถบอก Shortest Path จา..." current
  • 00:12, 8 March 2019 diff hist +1,347‎ N Prim Algorithm ‎ Created page with "<pre> #include<stdio.h> #define infi 999999 int mat[10000][10000],v,e,sel[10000],pass[10000],parent[10000]; int main(){ printf("Enter number of vertex and edge : "); s..." current
  • 00:12, 8 March 2019 diff hist +2,626‎ N Summary Graph Algorithm ‎ Created page with "MST ===================================================== 1. Kruskal O(V log V) + เรียง edge + วนทุกเส้นแล้วดูว่าทั้..." current
  • 00:12, 8 March 2019 diff hist +44‎ N Monotonous Queue ‎ Created page with "* https://github.com/hokein/monotonous-queue" current
  • 00:12, 8 March 2019 diff hist +2,578‎ N Tree Traversal ‎ Created page with "<pre> #include<stdio.h> #include<stdlib.h> struct node{ char val; node *l,*r; }; void pre(node *root){ printf("%c",root->val); if(root->l!=NULL) pre(root->l);..." current
  • 00:11, 8 March 2019 diff hist +1,839‎ N Linked List ‎ Created page with " #include<stdio.h> #include<stdlib.h> struct Node { int val; Node* next; }; Node* new_node(int val) { Node* node = (Node*)malloc(sizeof(Node)); node->val = val..." current
  • 00:11, 8 March 2019 diff hist +1,289‎ N Binary Heap ‎ Created page with "== Priority Queue == <pre> #include<stdio.h> int pq[100000],n; int cmd; int main(){ while(true){ scanf("%d",&cmd); // cmd = 0 : push / cmd = 1 : top / cmd = 2 : po..." current
  • 00:11, 8 March 2019 diff hist +51,480‎ N USACO ‎ Created page with "== วิธีส่งโปรแกรม == เขียนโปรแกรมโดยการอ่านเขียนไฟล์ โดยคำสั่ง FIL..." current
  • 00:10, 8 March 2019 diff hist +2,065‎ N คูณเมทริกซ์ 3 (matmul3) ‎ Created page with "== โจทย์ == จงเขียนโปรแกรมเพื่อคำนวณว่า เมทริกซ์จำนวน n ตัว มีขนาด..." current
  • 00:10, 8 March 2019 diff hist +1,380‎ N คูณเมทริกซ์ 2 (matmul2) ‎ Created page with "== โจทย์ == จงเขียนโปรแกรมเพื่อคำนวณว่า เมทริกซ์จำนวน n ตัว มีขนาด..." current
  • 00:10, 8 March 2019 diff hist +130‎ N TASKS FOR ACIOI ‎ Created page with "== Dynamic Programming == * คูณเมทริกซ์ 2 (matmul2) * คูณเมทริกซ์ 3 (matmul3)" current
  • 00:09, 8 March 2019 diff hist +1,611‎ N Final Test star ‎ Created page with "* ขอขอบคุณข้อCromartie Mountainจาก การแข่งขันคอมพิวเตอร์โอลิมปิกสอวน.ครั้..." current
  • 00:09, 8 March 2019 diff hist +941‎ N Special star 4 ‎ Created page with "* ขอขอบคุณข้อสอบจากสอวน.ค่าย1ปี2553 * input ** บรรทัดที่ 1 : รับ ตัวเลขจำนว..." current
  • 00:09, 8 March 2019 diff hist +119‎ N Special star 3 ‎ Created page with "* ขอบคุณข้อมูลจาก [A3C#9] Frog chocolate * link : http://www.acioi.in.th/Problem/frog.pdf" current
  • 00:08, 8 March 2019 diff hist +117‎ N Special star 2 ‎ Created page with "* ขอบคุณข้อมูลจาก [A3C#9] Star Problem * link : http://www.acioi.in.th/Problem/star.pdf" current
  • 00:08, 8 March 2019 diff hist +115‎ N Special star 1 ‎ Created page with "* ขอบคุณข้อมูลจาก [A3C#9] Snow Flake * link : http://www.acioi.in.th/Problem/snow.pdf" current
  • 00:08, 8 March 2019 diff hist +304‎ N Hard star 4 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:07, 8 March 2019 diff hist +304‎ N Hard star 3 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:07, 8 March 2019 diff hist +304‎ N Hard star 2 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:07, 8 March 2019 diff hist +304‎ N Hard star 1 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:07, 8 March 2019 diff hist +342‎ N Normal star 4 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:06, 8 March 2019 diff hist +322‎ N Normal star 3 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:06, 8 March 2019 diff hist +342‎ N Normal star 2 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:06, 8 March 2019 diff hist +316‎ N Normal star 1 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:06, 8 March 2019 diff hist +304‎ N Easy star 4 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:06, 8 March 2019 diff hist +304‎ N Easy star 3 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:05, 8 March 2019 diff hist +291‎ N Easy star 2 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:05, 8 March 2019 diff hist +291‎ N Easy star 1 ‎ Created page with "* inputตัวเลขจำนวนเต็มบวก1ตัว * outputตามความสัมพันธ์ดังตัวอย่าง '''INPUT:''' 3..." current
  • 00:05, 8 March 2019 diff hist +522‎ N โจทย์ดวงดาวมหาสนุก ‎ Created page with "'''INTRO:''' ขอให้น้องๆสนุกกับโจทย์ดาวต่างๆที่จะทำให้น้องๆคล่องfor2ชั..." current
  • 00:04, 8 March 2019 diff hist +1,479‎ N Unique num1 ‎ Created page with "'''โจทย์ : ''' *ต้องการตรวจสอบชุดตัวเลขที่ให้มาว่า มีตัวเลขใดๆซ้ำห..." current
  • 00:04, 8 March 2019 diff hist +627‎ N Sort easy2 ‎ Created page with "*บรรทัดแรก รับค่า n คือจำนวนตัวมา *บรรทัดที่สอง รับค่ามาทั้งหมด n..." current
  • 00:03, 8 March 2019 diff hist +626‎ N Sort easy1 ‎ Created page with "*บรรทัดแรก รับค่า n คือจำนวนตัวมา *บรรทัดที่สอง รับค่ามาทั้งหมด n..." current
  • 00:03, 8 March 2019 diff hist +982‎ N โจทย์ของเดะๆ ‎ Created page with "'''แนะนำ:''' * ขอให้น้องๆพยายามทำโจทย์ไปเรื่อยๆนะ ลองเลือกทำข้อง่..." current
  • 00:03, 8 March 2019 diff hist +333‎ N สสวท ค่าย 2 ปี 2556 ‎ Created page with "---- รอบพิเศษ https://www.dropbox.com/sh/ksnk5w7iakjspjg/9nd_P2kvLp ---- ค่าย2 https://www.dropbox.com/sh/z5p348tbswpovqu/RChdqsWUZH ---- //ว่า..." current

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)