Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

runtime error in c++

$
0
0

what is wrong with my code? it shows runtime error

include<iostream>

using namespace std; int main() {int t,a,b,i,c; cin>>t; if(t>=1&&t<=100) { for(i=0;i<t;i++) cin="">>a>>b; if(a>b) c=a; else c=b; return(c,a+b); } else return 0; }


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>