1 solutions
-
0
C :
#include<stdio.h> void main() { int t,m,n; scanf("%d%d",&m,&n); t=(n-m)*30; printf("%d\n",t); }
C++ :
#include<bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m>>n; cout<<(n-m)*30<<endl; return 0; }
Python :
m,n=map(int,input().split()) if n-m!=0: s=(n-m)*30 if n-m==0: s=360 print(s)
- 1
Information
- ID
- 10629
- Time
- 1000ms
- Memory
- 16MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By