답안 #1112357

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1112357 2024-11-14T06:25:47 Z vjudge1 Baloni (COCI15_baloni) C++17
0 / 100
1333 ms 10860 KB
#include <bits/stdc++.h>
using namespace std;

int main()
{
    int n;
    cin>>n;
    vector<long long> s(n+1);
    for(int i=0; i<n; i++) cin>>s[i];
    s[n]=1e9;
    int t=0;
    for(int i=0; i<n; i++) {
       if(s[i]<s[i+1]) t++;
       cout<<s[i+1]<<endl;
    }
    cout<<t;

    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 336 KB Output isn't correct
2 Incorrect 4 ms 336 KB Output isn't correct
3 Incorrect 7 ms 504 KB Output isn't correct
4 Incorrect 8 ms 336 KB Output isn't correct
5 Incorrect 1187 ms 10200 KB Output isn't correct
6 Incorrect 1333 ms 10860 KB Output isn't correct
7 Incorrect 1118 ms 8964 KB Output isn't correct
8 Incorrect 1073 ms 8776 KB Output isn't correct
9 Incorrect 1191 ms 9548 KB Output isn't correct
10 Incorrect 1231 ms 9736 KB Output isn't correct