#P1013. A+B Problem[4]
A+B Problem[4]
Problem Background
I've lost count of how many A+B Problems this is on TouchFish OJ. :)
Problem Description
Note: This is an interactive problem!
You need to implement a function that returns the sum of the input integers and ().
The code template is as follows:
#include "ovo.h" // This line is mandatory
int plus(int a, int b) {
// Your logic here
return ; // Return value
}
You do NOT need to, and should NOT, implement the main function.
The reference content of ovo.h is as follows (the actual ovo.h used in evaluation is different from this file):
#include <stdio.h>
int plus(int, int);
int main() {
int n, m;
scanf("%d %d", &n, &m);
printf("%d\n", plus(n, m));
return 0;
}
Note/Hint
It is forbidden to obtain evaluation data or content from ovo.h through any means such as global variables. Any cheating behavior discovered will be penalized, with the maximum penalty being account ban.
This page was translated using AI.