competitive-programming

All Competitive Programming questions I have solved till date.

https://github.com/kevinmathewt/competitive-programming

Science Score: 18.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (0.8%) to scientific vocabulary

Keywords

a2oj algorithms codechef codeforces competitive-programming cplusplus cplusplus-14 data-structures spoj
Last synced: 4 months ago · JSON representation ·

Repository

All Competitive Programming questions I have solved till date.

Basic Info
  • Host: GitHub
  • Owner: KevinMathewT
  • Language: C++
  • Default Branch: master
  • Size: 16.3 MB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 4
  • Open Issues: 1
  • Releases: 0
Topics
a2oj algorithms codechef codeforces competitive-programming cplusplus cplusplus-14 data-structures spoj
Created over 7 years ago · Last pushed almost 4 years ago
Metadata Files
Readme Changelog Citation

README.md

Competitive-Programming

All Competitive Programming questions I have solved till date.

Owner

  • Name: Kevin Mathew T
  • Login: KevinMathewT
  • Kind: user
  • Location: Jamshedpur

Deep Learning Enthusiast, Competitive Programmer and Musician.

Citation (Citations.cpp)

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

// Author - Kevin Mathew
// Birla Institute of Technology, Mesra

void te(){
	ll n;
	cin >> n;
	while(n--){
		unordered_map<ll, string> m;
		for(ll i=0;i<8;i++){
			string s;
			cin >> s;
			if(s[0] == 't')
				m[0] = s.substr(7, s.size()-9);
			else if(s[0] == 'a')
				m[1] = s.substr(8, s.size()-10);
			else if(s[0] == 'j')
				m[2] = s.substr(9, s.size()-11);
			else if(s[0] == 'v')
				m[3] = s.substr(8, s.size()-10);
			else if(s[0] == 'n')
				m[4] = s.substr(8, s.size()-10);
			else if(s[0] == 'y')
				m[5] = s.substr(6, s.size()-8);
			else if(s[0] == 'p' && s[1] == 'a')
				m[6] = s.substr(7, s.size()-9);
			else
				m[7] = s.substr(11, s.size()-13);
		}

		
	}
}

int main()
{
	freopen("input.txt", "r", stdin);		//Comment
	freopen("output.txt", "w", stdout);		//this out.
	ios::sync_with_stdio(false);			//Not
	cin.tie(NULL);							//this.
	cout.tie(0);							//or this.

	ll T;
	cin >> T;
	while(T--)
		te();

	return 0;
}

GitHub Events

Total
Last Year