Submission #19724220


Source Code Expand

Copy
#include <iostream>

using namespace std;

int main() {
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 317 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:6:12: error: a function-definition is not allowed here before ‘{’ token
    6 | int main() {
      |            ^