Submission #8036846


Source Code Expand

Copy
#include <bits/stdc++.h>

using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    int a, b;
    cin >> a >> b;
    cout << max(a-2*b, 0) << endl;
    return 0;
}

Submission Info

Submission Time
Task A - Curtain
User Tejs
Language C++14 (GCC 5.4.1)
Score 100
Code Size 204 Byte
Status
Exec Time 1 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample00, sample01, sample02
All 100 / 100 handmade03, handmade04, handmade05, handmade06, random07, random08, random09, random10, random11, random12, random13, random14, sample00, sample01, sample02
Case Name Status Exec Time Memory
handmade03 1 ms 256 KB
handmade04 1 ms 256 KB
handmade05 1 ms 256 KB
handmade06 1 ms 256 KB
random07 1 ms 256 KB
random08 1 ms 256 KB
random09 1 ms 256 KB
random10 1 ms 256 KB
random11 1 ms 256 KB
random12 1 ms 256 KB
random13 1 ms 256 KB
random14 1 ms 256 KB
sample00 1 ms 256 KB
sample01 1 ms 256 KB
sample02 1 ms 256 KB