SIGFPE error ,SIGSEPE errors

Please either format your code or (better!) link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

Also - what Problem are you trying to solve?

Also also: Are you trying to “Run” without Providing “Custom Input”?

Edit:

     int n,a,b,t;int res[n];

You’re declaring an array of size n when n hasn’t been initialised, yet. Your compiler should be warning you about this - if it isn’t, use a better one :stuck_out_tongue:

2 Likes