Submission #19724238


Source Code Expand

Copy
#include <iostream>

using namespace std;

int main(){
  int A, min_num = 100;
        for (int i = 0; i < 4; i++) {
            cin >> A;
            if (A < min_num) {
                min_num = A;
            }
        }
        cout << min_num << endl;
    }

    return 0;
}

Submission Info

Submission Time
Task A - ABC Preparation
User habiba14
Language C++ (GCC 9.2.1)
Score 0
Code Size 294 Byte
Status CE

Compile Error

./Main.cpp:16:5: error: expected unqualified-id before ‘return’
   16 |     return 0;
      |     ^~~~~~
./Main.cpp:17:1: error: expected declaration before ‘}’ token
   17 | }
      | ^