Search found 1 match

by touristvisitor
Fri Aug 22, 2014 12:28 am
Forum: Volume 116 (11600-11699)
Topic: 11689 - Soda Surpler
Replies: 11
Views: 8429

getting T.L.E

why i am getting T.L.E in http://uva.onlinejudge.org/external/116/11689.html

here is my code

#include <iostream>

using namespace std;



int main(){

long long a,b,c,n,kase,p,q;
cin >> kase;
while(kase--){
long long res = 0;
cin >> a >> b >> c;
n = a + b;
while(n != 1){
p = n % c;
q = n ...

Go to advanced search