/ SeriousOJ /

Record Detail

Time Exceeded


  
# Status Time Cost Memory Cost
#1 Time Exceeded ≥1100ms ≥320.0 KiB
#2 Time Exceeded ≥1099ms ≥424.0 KiB

Code

#include <stdio.h>

int main() {
    
    long long int t,n,i,j,xr=0;
    scanf("%lld",&t);
    for (i=1;i<=t;i++){
        scanf("%lld",&n);
        for(j=1;j<=n;j++){
            xr=xr^j;
        }
        
        printf("%lld\n",xr);
        xr=0;
        
        
    }

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1009 XOR Love
Language
C99 (GCC 13.2.0)
Submit At
2023-12-31 11:43:08
Judged At
2024-11-11 03:46:51
Judged By
Score
0
Total Time
≥1100ms
Peak Memory
≥424.0 KiB