ამოხსნების სტატუსი

ამ გვერდზე თქვენ იხილავთ გაგზავნილი ამოხსნების სტატუსს.


გაგზავნის თარიღი: 25.11.2021 22:01:44

ამოცანა: კალათბურთი

მომხმარებელი: lukageo

ვერდიქტი: ამოუხსნელი

შეფასება: 0 ქულა







#include <bits/stdc++.h>
using namespace std;
int a1,b1,a2,b2,a3,b3,a4,b4;
main() {
    cin>>a1>>b1>>a2>>B2>>A3>>B3>>A4>>B4;
if (a1+a2+a3+a4>b1+b2+b3+b4) cout("FIRST");  else cout("SECOND")
if(a1+a2+a3+a4=b1+b2+b3+b4) cout("OVERTIME")
    
    
    
    
    
    
}
main.cpp: In function 'int main()':
main.cpp:5:22: error: 'B2' was not declared in this scope
     cin>>a1>>b1>>a2>>B2>>A3>>B3>>A4>>B4;
                      ^~
main.cpp:5:26: error: 'A3' was not declared in this scope
     cin>>a1>>b1>>a2>>B2>>A3>>B3>>A4>>B4;
                          ^~
main.cpp:5:30: error: 'B3' was not declared in this scope
     cin>>a1>>b1>>a2>>B2>>A3>>B3>>A4>>B4;
                              ^~
main.cpp:5:34: error: 'A4' was not declared in this scope
     cin>>a1>>b1>>a2>>B2>>A3>>B3>>A4>>B4;
                                  ^~
main.cpp:5:38: error: 'B4' was not declared in this scope
     cin>>a1>>b1>>a2>>B2>>A3>>B3>>A4>>B4;
                                      ^~
main.cpp:6:42: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char [6])'
 if (a1+a2+a3+a4>b1+b2+b3+b4) cout("FIRST");  else cout("SECOND")
                                          ^
main.cpp:6:64: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char [7])'
 if (a1+a2+a3+a4>b1+b2+b3+b4) cout("FIRST");  else cout("SECOND")
                                                                ^