This file contains hidden or 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
| /*** | |
| เทอร์โมมิเตอร์ต่อ PA1 | |
| ลำโพงต่อ PD1 | |
| ***/ | |
| #include<analog.h> | |
| #include<sound.h> | |
| int main(){ | |
| while(1) | |
| { | |
| if(analog(1)>465) |
This file contains hidden or 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
| /*** | |
| ลำโพงต่อ PD0 | |
| ไฟต่อ PD1 | |
| เทอร์โมต่อ PA4 | |
| ***/ | |
| #include<sleep.h> | |
| #include<sound.h> | |
| #include<analog.h> | |
| #include<in_out.h> |
This file contains hidden or 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
| /* | |
| LANG:C++ | |
| COMPILER:WCB | |
| */ | |
| #include<cstdio> | |
| using namespace std; | |
| class TreeNode | |
| { | |
| public: | |
| int key; |
This file contains hidden or 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<string.h> | |
| #include<math.h> | |
| #include<stdlib.h> | |
| int main() | |
| { | |
| char word[200]; | |
| gets(word); | |
| char buff[20]; | |
| int i,x; |
This file contains hidden or 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
| I/ActivityManager( 538): START u0 {act=android.intent.action.MAIN cat=[android. | |
| intent.category.LAUNCHER] flg=0x10200000 cmp=com.pureexe.testroottool/.MainActiv | |
| ity} from pid 893 | |
| D/alsa_ucm( 185): Set mixer controls for HiFi Lowlatency enable 1 | |
| D/ALSAModule( 185): Device value returned is hw:0,14 | |
| D/ALSAModule( 185): setHardwareParams: reqBuffSize 1024 channels 2 sampleRate 4 | |
| 8000 | |
| D/ALSAModule( 185): setHardwareParams: buffer_size 2048, period_size 1024, peri | |
| od_cnt 2 | |
| D/dalvikvm( 6826): Late-enabling CheckJNI |
This file contains hidden or 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> | |
| using namespace std; | |
| int main() | |
| { | |
| int i,x,isMember,upper,n,sum=0; | |
| cin >>isMember>>upper>>n; | |
| for(i=0;i<n;i++) | |
| { | |
| cin >>x; | |
| sum+=x; |
This file contains hidden or 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; | |
| class box | |
| { | |
| public: | |
| int a,w; | |
| box(int c,int v) | |
| { |
This file contains hidden or 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> | |
| using namespace std; | |
| int blink(int n) | |
| { | |
| static bool b; | |
| static int a=0; | |
| if((n%2==0&&b==false)) | |
| { | |
| a=0; | |
| } |
This file contains hidden or 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<algorithm> | |
| using namespace std; | |
| int tab[20][20],c[20],M,u=0,n; | |
| int gen(int r,int v) | |
| { | |
| if(r>=n) | |
| { | |
| if(v>u&&v<=M) |
This file contains hidden or 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> | |
| using namespace std; | |
| int row,money,tab[21][21],big=-1; | |
| int gen(int n,int value) | |
| { | |
| int i; | |
| if(value>money) | |
| { | |
| return 0; |