简单时间转换
Time Limit: 1000MS Memory Limit: 65536KB
Problem Description
这道题很简单,你只需要完成分和秒之间的转换即可。
保证输入输出数据均为正整数,且在 int 范围内。
Output
一个整数,表示分。
Input
一个整数,表示秒。
Example Output
2
Example Input
120
Hint
Author
「SDUT Round #3 - 2017 愚人节专场」by bLue
#include <iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
cout<<n/60<<endl;
return 0;
}
/***************************************************
User name: 听说强哥不参赛
Result: Accepted
Take time: 0ms
Take Memory: 164KB
Submit time: 2017-04-01 21:45:15
****************************************************/ 
京公网安备 11010502036488号