/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 1ms 332.0 KiB
#2 Wrong Answer 1ms 284.0 KiB

Code

#include <stdio.h>

int main() {
    int T;
    scanf("%d", &T);

    while (T--) {
        int N;
        scanf("%d", &N);
        int A[N], B[N], C[N];
        
        for (int i = 0; i < N; i++)
            scanf("%d %d %d", &A[i], &B[i], &C[i]);
        
        int sum = 0;
        for (int i = 0; i < N; i++)
            sum += A[i] + B[i] + C[i];
        
        printf("%d\n", sum);
    }

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1046 Maximum sum in 3-array
Contest
TLE_Headquarters - round #1
Language
C99 (GCC 13.2.0)
Submit At
2024-03-27 16:31:22
Judged At
2024-11-11 03:38:36
Judged By
Score
0
Total Time
1ms
Peak Memory
332.0 KiB