| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 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;
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
