View Code of Problem 1

#include<cstdio>

int main(){
	long long a,b;
	scanf("%lld%lld",&a,&b);
	long long temp = a+ b;
	printf("%lld",temp\n);
	return 0;
} 
/*
Main.cc:7:2: error: stray '\' in program
  printf("%lld",temp\n);
  ^
Main.cc: In function 'int main()':
Main.cc:7:21: error: expected ')' before 'n'
  printf("%lld",temp\n);
                     ^
*/

Double click to view unformatted code.


Back to problem 1