Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16904 | 2024-04-22 20:21:18 | prottoy | Max Number | C | 1 ms | 1528 kb | Accepted |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 ms | 1512 kb | Accepted | ||||||||
2 | 0 ms | 1504 kb | Accepted | ||||||||
3 | 0 ms | 1428 kb | Accepted | ||||||||
4 | 0 ms | 1504 kb | Accepted | ||||||||
5 | 0 ms | 1504 kb | Accepted | ||||||||
6 | 0 ms | 1512 kb | Accepted | ||||||||
7 | 1 ms | 1528 kb | Accepted | ||||||||
Source Code
program.c
#include <stdio.h> int max(int a, int b, int c) { if (a > b && a > c) { return a; } else if (b > c) { return b; } else { return c; } } int main() { int test_cases; for (int i = 0; i < test_cases; i++) { int a, b, c; int maximum = max(a, b, c); } return 0; }