藍橋杯 基礎練習 時間轉換(vip)

 基礎練習 時間轉換 代碼 #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int s=n%60; int h=n/3600; int m=n/60%60; cout<<h<<":"<<m<<":"<<s; return 0; }
相關文章
相關標籤/搜索