#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
// freopen("input.txt","r",stdin);
// freopen("output.txt","w",stdout);
ll x;//sm=0,n,a[1001],mx;
cin>>x;
// for(int i=0;i<3;i++)cin>>a[i],sm+=a[i];
// mx=sm;
// for(int i=3;i<n;i++){
// cin>>a[i];
// sm+=a[i];
// if(a[i]+a[i-1]+a[i-2]>mx)mx=a[i]+a[i-1]+a[i-2];
// }
printf("%lld",x+1);
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
300 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
1 ms |
212 KB |
Output is correct |
5 |
Correct |
1 ms |
212 KB |
Output is correct |
6 |
Correct |
0 ms |
212 KB |
Output is correct |
7 |
Correct |
1 ms |
212 KB |
Output is correct |
8 |
Correct |
0 ms |
212 KB |
Output is correct |
9 |
Correct |
0 ms |
212 KB |
Output is correct |
10 |
Correct |
0 ms |
300 KB |
Output is correct |