제출 #889185

#제출 시각아이디문제언어결과실행 시간메모리
889185Muhammad_AneeqShortcut (IOI16_shortcut)C++17
컴파일 에러
0 ms0 KiB
#include <cstdio>
#include <cassert>
#include "shortcut.h"
#include <iostream>
#include "class.cpp"
int main()
{
    int n, c;
    assert(2 == scanf("%d%d", &n, &c));
    
    std::vector<int> l(n - 1);
    std::vector<int> d(n);
    for (int i = 0; i < n - 1; i++)
        assert(1 == scanf("%d", &l[i]));
    for (int i = 0; i < n; i++)
        assert(1 == scanf("%d", &d[i]));
        
    long long t = find_shortcut(n, l, d, c);
    
    printf("%lld\n", t);
    
    return 0;
}

컴파일 시 표준 에러 (stderr) 메시지

shortcut.cpp:5:10: fatal error: class.cpp: No such file or directory
    5 | #include "class.cpp"
      |          ^~~~~~~~~~~
compilation terminated.