# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
156758 | martinunter | Preokret (COCI18_preokret) | C++14 | 3 ms | 376 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
using namespace std;
int main () {
int final_score_a = 0;
int final_score_b = 0;
int preokret;
int score_a;//broj koseva ekipe a
int sekunda_a;
int ekipa_a[score_a];
int score_b;
int sekunda_b;
int ekipa_b[score_b];
cin >> score_a;
for (int i = 0; i < score_a;i ++){
cin >> sekunda_a;
if (sekunda_a <= 1440){
final_score_a++;
}
}
cin >> score_b;
for (int i = 0; i < score_b;i ++){
cin >> sekunda_b;
if (sekunda_b <= 1440){
final_score_b++;
}
}
cout << final_score_a + final_score_b<< endl;
cout << preokret << endl;
return 0;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |