1000. A-B
-----》 http://soj.me/1000
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
Input A and B, output A-B
Input
Input two values, A and B.
Output
Output the result of A-B.
Sample Input
2 1
Sample Output
1
// Problem#: 1000 // Submission#: 2424748 // The source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License // URI: http://creativecommons.org/licenses/by-nc-sa/3.0/ // All Copyright reserved by Informatic Lab of Sun Yat-sen University #include <stdio.h> int main() { int A,B; scanf("%d%d",&A,&B); printf("%d\n",A-B); return 0; }
时间: 2024-10-10 09:44:45