# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
822951 | 2023-08-12T06:01:05 Z | Shithila | 전선 연결 (IOI17_wiring) | C++14 | 1 ms | 212 KB |
#include "wiring.h" #include<bits/stdc++.h> using namespace std; long long min_total_length(std::vector<int> r, std::vector<int> b) { int rlen=r.size(); int blen=b.size(); int x=0; int y=0; if(rlen<blen) { for(int i=0;i<blen;i++) { x=b[i]-r[rlen-1]; } for(int i=0;i<rlen-1;i++) { x=r[rlen-1]-r[i]; } } else { for(int i=0;i<rlen;i++) { x=b[0]-r[i]; } for(int i=1;i<blen;i++) { x=b[i]-b[0]; } } return x; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '25859', found: '270' |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '904', found: '41' |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '316', found: '49' |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '27', found: '15' |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '25859', found: '270' |
2 | Halted | 0 ms | 0 KB | - |