Wrong Answer
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
- C99 (GCC 13.2.0)
- Submit At
- 2024-05-06 15:40:22
- Judged At
- 2024-11-11 03:34:01
- Judged By
- Score
- 10
- Total Time
- 2ms
- Peak Memory
- 424.0 KiB