UVA488:

Triangle Wave

#include <iostream>
#include <math.h>
#include <string>
#include <algorithm>

using namespace std;

int main(){
	int n, in; 
	int basis[n];
	string tests; 


	for(int i = 0; i < n; i++){
		cin >> in;
		basis[i] = in;
	}
	
	newline(cin, tests);
	newline(cin, tests);

	while(cin >> tests){
		int lis[n];
		for(int i = 0; i < n; i++){
			int index = i;
			int num = tests[i];
			lis[i] = num;
			index += 1;
		}
	}
	return 0; 
}
[Back to Listing Page]

Home

Posts

Projects

Github

Contact

janzzen

Developed by Janzzen Ang powered by Vercel