Search found 1 match
- Sun Jun 10, 2007 3:39 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10910 - Marks Distribution
- Replies: 26
- Views: 16608
Runtime Error
Plzz help.......i don't know why i m getting runtime error in this code......It is working perfectly on my compliler...... #include<iostream> using namespace std; int main(){ long long int u,v,y; long long int l,i,n,t,p,j,s,k; cin>>l; for(i=0;i<l;i++){ n=t=p=j=0; cin>>n>>t>>p; j=t-(n*p); s=j+n-1; if...