- a
vswap
OpenVZ VPS or a KVM/Xen/VMware VPS with Ubuntu Server 12.04 LTS installed (architecture doesn't matter), or a dedicated server - patience and a willingness to learn
- approximately 10 minutes of time
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 <math.h> | |
double f(double,double); | |
int main(void) | |
{ | |
double t0[10] = {1.558, 1.560, 1.563, 1.565, 1.566, 1.565, 1.565, 1.563, 1.561, 1.559}; | |
double t[10] = {1.568, 1.569, 1.571, 1.573, 1.576, 1.582, 1.584, 1.587, 1.590, 1.595}; | |
for (int i = 0; i < 10; ++i) | |
{ | |
printf("%.3f\n",f(t0[i], t[i])*180/3.1415926 ); |
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> | |
double f(double); | |
int main(int argc, char const *argv[]) | |
{ | |
double u[17] = {4.115, 5.88, 6.79, 7.2275, 7.745, 7.83, 7.8425, 7.9025, 7.8925, 7.8525, 7.84, 7.8225, 7.455, 7.165, 6.6, 5.39, 3.5115}; | |
for (int i = 0; i < 17; ++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
`-/oshdmNNMMMMMNNmdhys+/-` | |
-ohmNMMMMMMMMMMMMMMMMMMMMMMMMMNho/. | |
`:+ohNNMMmhys++oydmMMMMMMMMMMMMMMMMMMMMMMMNy+. | |
.odMMMMMMMMMMMMMMd:----:+shmMMMMMMMMMMMMMMMMMMMMMmo- | |
-hMMMMMMMMMMMMMMMMMMN+......---/oydNMMMMMMMMMMMMMMMMMMd+` | |
+NMMMMMMMMNhysyNMMMMMMM+..........---/ohmMMMMMMMMMMMMMMMMNs. | |
+NMMMMMMNy/--..--hMMMMMMN-..............--:oymMMMMMMMMMMMMMMNs` | |
-dmsdmmds/--.......-mMMMMMMs..................--:ohNMMMMMMMMMMMMm/ | |
+Ny-.----............+MMMMMMh.......----...........--/ymMMMMMMMMMMMy` | |
`yN+-..................-omMMMMo......oNNNNmy/...........--/ymMMMMMMMMMm. |
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
`:+ydmNMMMMNmdyo/. | |
`/shNMMmdo+sydNMMMMMMMMNy/` | |
+NMMMmdmMMMo...-:+sdNMMMMMMMy- | |
`sdNds:..-yMMM:.......-/sdMMMMMMy. | |
-y:........-dMM/..:yyo-....-+hNMMMN/ | |
:y-..-/ooo/-..--...-hMMMho/:----yMMMM/ | |
.h--sso:-.-/y+........:odMMMMMMMd/oMMMM- | |
y/..-.......-y+.....-/ooosdNmmmdy-.hMMMd | |
`+s+........:++:-+.../ss/-....-sy-....+MMMM. | |
+s:.........hMmhMo....:oyy+-...../h-...oMMMM: |
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
`-:////sdmNmdho/` | |
.:/oydmNNNmmNNNmmNNmNmmmh/` | |
.-/shmNNNmNNNNNmmNNNNmmmmmNmmmmmm+` | |
-+ydmmmNmmmmmNmNNNdoNNNNmmNNNNNNNmmmNmh- | |
`-odmmmmmmmmmNNNNmNNNs-hNmmmmNmyyhmNNmmmmmmmo` | |
-odmmmmmmmmmmmmmNmmmNd:.:NmmmmmN/..../hmmmmmmmmd: | |
`/hmNmmmmmNmNNNNNmmmmmmN/..oNmmmmmd.`````.:sdmmdy-:ys. | |
-smmmmNNNmmmNmNNNNNNmmmmmN+..ymmmmmmo````````..--..``.od/ | |
-ymmmNmmNNNNNNNNNNNNmmmmmmmNy..hmmmmmm-`````````````````.:sy/` | |
`smmmmmNNNNNNNNNNNNNNNmmmmmmmmd-./hddmh:.````````````````````-oyhs+/-`` |
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 <string.h> | |
void func(char *, char *); | |
int main(void) | |
{ | |
char str1[80], str2[80]; | |
gets(str1); |
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> | |
void func(int); | |
int main(void) | |
{ | |
int n; | |
while(scanf("%d", &n) != EOF) | |
{ |
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> | |
void sumDiff(int , int , int *, int *); | |
int main(void) | |
{ | |
int a, b, sum, diff; | |
while(scanf("%d %d", &a, &b) != EOF) | |
{ |
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> | |
void func(int a[100][100], int m, int n) | |
{ | |
int i, j; | |
for (i = 1; i < m; ++i) | |
{ | |
for (j = 0; j < n; ++j) |
OlderNewer