/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 332.0 KiB
#2 Wrong Answer 1ms 284.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Wrong Answer 3ms 512.0 KiB

Code

#include <stdio.h>

int main(){

    int x = 0, t;

    scanf("%d", &t);

    while(x < t){

        int n;

        scanf("%d", &n);


        int ara[n];

        for (int i = 0; i < n; i++){
            ara[i] = i+1;
        }

        printf("%d\n", n / 2 );

        x++;
    }

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1052 Yet Another Array Partition
Contest
Brain Booster #3
Language
C11 (GCC 13.2.0)
Submit At
2024-05-06 15:40:43
Judged At
2024-11-11 03:34:01
Judged By
Score
10
Total Time
3ms
Peak Memory
512.0 KiB