제출 #1176919

#제출 시각아이디문제언어결과실행 시간메모리
1176919vuqar_fritlLjeto (COCI21_ljeto)C++20
0 / 50
1 ms328 KiB
#include <bits/stdc++.h> using namespace std; #define ll long long long long a[8]; long long x[8]; int main() { ll b,c,d,f,t,n; cin>>n; for(int i=1;i<=n;i++){ cin>>b>>c>>d; if(a[c]>0){ x[c]+=50; } x[c]+=100; a[c]++; } cout<<x[1]+x[2]+x[3]+x[4]<<" "<<x[5]+x[6]+x[7]+x[8]; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...