Search found 1 match

by imtiaz_ice
Mon Dec 16, 2013 9:03 pm
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 69427

Re: 11340 - Newspaper

Why TLE , Plz help me anyone........



#include <iostream>
#include<stdio.h>
#include<string.h>

using namespace std;
char s[10005];

int main()
{
long long tc,line,num,value,i,array[155],l,sum;
char charr,c;
scanf("%lld",&tc);
while(tc--)
{
scanf("%lld",&num);
sum=0;
for(i=0;i<150;i ...

Go to advanced search