diff --git a/QUSTOJ/1901.cpp b/QUSTOJ/1901.cpp new file mode 100644 index 0000000..489feed --- /dev/null +++ b/QUSTOJ/1901.cpp @@ -0,0 +1,22 @@ +#include + +using namespace std; + +int main() +{ + int a,b,c; + char x; + int n; + cin>>n; + while(n--) + { + cin>>a>>x>>b>>x>>c; + cout<=60) {b++;c-=60;} + if(b>=60) {a++;b-=60;} + if(a>=24) {a-=24;} + cout<