Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 <bits/stdc++.h> | |
using namespace std; | |
int main(void) { | |
char a[4], b[4]; | |
int a_k=0, b_k=0, c_k=100; | |
cin>>a>>b; |
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> | |
#define MAX 100 | |
using namespace std; | |
unsigned long long fibonacci(unsigned long long* value, int n, int t, int k) { | |
if(n == 0) | |
return 0; | |
else if(n == 1) |
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> | |
#define MAX 100 | |
using namespace std; | |
unsigned long long fibonacci(unsigned long long* value, int n, int t, int k) { | |
if(n == 0) | |
return 0; | |
else if(n == 1) |
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 <bits/stdc++.h> | |
using namespace std; | |
long long not_usual_mul(char* a, int a_len, char* b, int b_len) { | |
long long sum = 0; | |
for(int i=0; i<strlen(a); i++) | |
for(int j=0; j<strlen(b); j++) | |
sum += ((a[i] - '0')*(b[j] - '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 <bits/stdc++.h> | |
using namespace std; | |
bool is_prime(int a) { | |
bool check = false; | |
for(int i=2; i<a; i++) | |
if(a % i == 0) | |
return check; |
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 <bits/stdc++.h> | |
using namespace std; | |
int main(void) { | |
char arr[8][8]; | |
int state = 0; | |
int count = 0; | |
for(int i=0; i<8; i++) |
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 <bits/stdc++.h> | |
using namespace std; | |
int main(void) { | |
int arr[4]; | |
int inv[4]; | |
for(int i=0; i<4; i++) | |
cin>>inv[i]; |
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 <bits/stdc++.h> | |
using namespace std; | |
int main(void) { | |
int t; | |
int s[51]; | |
cin>>t; |
NewerOlder