| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1369805 | 053thousand | Infinite Race (EGOI24_infiniterace2) | C++20 | 16 ms | 428 KiB |
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f,ans=0;
bool ah=0;
cin>>a>>b;
for(int i=0;i<b;i++){
cin>>c;
if(c>0){
if(ah==1) ans++;
ah=1;
}
else ah=0;
}
cout<<ans;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
