Submission #381433

# Submission time Handle Problem Language Result Execution time Memory
381433 2021-03-25T07:57:29 Z AlashKZ Košnja (COCI17_kosnja) C++17
0 / 50
137 ms 492 KB
#include <bits/stdc++.h>
using namespace std;
main ()
{
	int a;
    cin >> a;
    for(int i = 1;i <= a; ++i){
        int b, c;
        cin>>b>>c;
         b = min(b, c);
        while (b--);
        cout<<b * 2<<endl;
    }
 
	
 
}

Compilation message

kosnja.cpp:3:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main ()
      |       ^
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Incorrect 1 ms 364 KB Output isn't correct
3 Incorrect 1 ms 364 KB Output isn't correct
4 Incorrect 1 ms 364 KB Output isn't correct
5 Incorrect 1 ms 364 KB Output isn't correct
6 Incorrect 87 ms 492 KB Output isn't correct
7 Incorrect 137 ms 492 KB Output isn't correct
8 Incorrect 92 ms 364 KB Output isn't correct
9 Incorrect 134 ms 492 KB Output isn't correct
10 Incorrect 93 ms 492 KB Output isn't correct