Search:

Type: Posts; User: lovelycse

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    10,706

    its nt the code of prime number

    its nt the code of prime number
  2. Replies
    6
    Views
    10,706

    handle large array size 1000000000

    here it showing segmentation fault....how can i allocate 10^9 memory location


    #include<cmath>
    #include<stdlib.h>
    #include<stdio.h>
    //#define MAXSIZE 1000000000
    int flag=0;
    int flag1=0;...
  3. Thread: acm

    by lovelycse
    Replies
    3
    Views
    931

    acm

    where can we find acm solution...programming contest
  4. Thread: code

    by lovelycse
    Replies
    5
    Views
    1,063

    means??? i just wanna know...tool exit or not

    means???
    i just wanna know...tool exit or not
  5. Thread: code

    by lovelycse
    Replies
    5
    Views
    1,063

    code

    is there any tool that can check the similar codes???
  6. Thread: linked list

    by lovelycse
    Replies
    6
    Views
    3,192

    #include #include typedef...

    #include<stdio.h>
    #include<stdlib.h>
    typedef struct Node
    {
    char data[10];
    struct Node *next;
    }node;

    void insertnode(char str1,node *head);
    int main()
  7. Thread: linked list

    by lovelycse
    Replies
    6
    Views
    3,192

    linked list

    #include<stdio.h>
    #include<stdlib.h>
    int main()
    {
    char str1[10];
    typedef struct Node
    {
    char data[10];
    struct Node *next;
    }node;
  8. Replies
    4
    Views
    1,666

    array of pointer to string

    how to take user input stringand store it in array
  9. Replies
    18
    Views
    3,494

    what is the prob in this #include...

    what is the prob in this


    #include<stdio.h>
    int main()
    {
    int a[1000],b[1000],c[1000],new1[1000];
    int temp=0,n,q,m,i,j,s,sum=0,flag=0,k,r,flag1=0,sum1=0,count=0,flag2=0;
    ...
  10. Replies
    18
    Views
    3,494

    hey if i remove one by one digits then its nt...

    hey if i remove one by one digits then its nt applicable to the number lyk 5320 ...here we will have to remove the 5 and 2 both so how to proceed....for removal of two digits at a same tym
  11. Replies
    5
    Views
    2,900

    i have my own idea ...but trying to get some more...

    i have my own idea ...but trying to get some more ways to solve the problem so that i can choose a optimal one...thats it....and for the other problems first i gave the algorithm...
    anyways thanku...
  12. Replies
    5
    Views
    2,900

    maximum sum of subarray

    Given a M × M array of positive and negative integers, find the sub-rectangle with the largest sum. A sub-rectangle is any contiguous sub-array of size 1 × 1 or greater located within the whole...
  13. Replies
    11
    Views
    3,022

    ohh..yes ...forgot!!! thanks

    ohh..yes ...forgot!!!
    thanks
  14. Replies
    11
    Views
    3,022

    #include #include...

    #include <string.h>
    #include<stdlib.h>
    #include<stdio.h>
    int main()
    {
    char str[] = "now is good men";
    char delims[] = " ";
    char *result[10];
    char *result2[10];
    int i=0,j=0,k,m;
  15. Replies
    18
    Views
    3,494

    @nonoob we'll first sort the input integer then...

    @nonoob
    we'll first sort the input integer then only sum up and if the resultant sum is nt divisible by 3 only then we have toremove one smallest integer and as i told its sorted so finding the...
  16. Replies
    11
    Views
    3,022

    first get the input string1 and string2 then...

    first get the input string1 and string2
    then tokenize the first string and store the tokenized words in array
    then
    use for loop that will traverse the whole first string and will compare the word...
  17. Replies
    11
    Views
    3,022

    permutation of strings

    if one string is permutation of other ....
    how to solve it???
  18. Replies
    18
    Views
    3,494

    thanx ...it works...ur logic ...sum and add...

    thanx ...it works...ur logic ...sum and add...
  19. Replies
    18
    Views
    3,494

    Output 5554443330 approach-> i sort the given...

    Output
    5554443330
    approach-> i sort the given integer for example if 11 integers are given like
    33453545440
    then first i will apply the sorting that will give
    55544443330
    next i will divide...
  20. Replies
    18
    Views
    3,494

    how to solve this problem

    You are given a set of digits, your task is to find the maximum integer that you can make from these digits. The made number must be divisible by 2, 3, 5 without a residue. It is permitted to use...
  21. Thread: pipelining

    by lovelycse
    Replies
    4
    Views
    1,549

    @phantomotap. i need it urgently...i have to...

    @phantomotap.
    i need it urgently...i have to submit this today...kindly help.
  22. Thread: pipelining

    by lovelycse
    Replies
    4
    Views
    1,549

    m using ubuntu Os ...but programming in C...

    m using ubuntu Os ...but programming in C...
  23. Thread: pipelining

    by lovelycse
    Replies
    4
    Views
    1,549

    pipelining

    hey i ahve assigned to implement a shell...implementing it in C language.but now got stuck on pipelinig...kindly help me guys...
    if possible send the code so that i can get some idea for example...
Results 1 to 23 of 23