Skip to content
Snippets Groups Projects

B1011

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Kiryuu Sakuya
    main.c 354 B
    #include <stdio.h>
    
    int main(void) {
        int lines;
        scanf("%d", &lines);
        for (int i = 1; i <= lines; i++) {
            long long a, b, c;
            scanf("%lld%lld%lld", &a, &b, &c);
            if (a + b > c) {
                printf("Case #%d: true\n", i);
            }
            else {
                printf("Case #%d: false\n", i);
            }
        }
        return 0;
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment