제출 #1369751

#제출 시각아이디문제언어결과실행 시간메모리
1369751moha1111Arranging Shoes (IOI19_shoes)C++20
컴파일 에러
0 ms0 KiB
#include "bits/stdc++.h"
#include "shous.h"
using namespace std;

int64 count_swaps(int[] s)
{
    int n = 0;
    for(auto i : s)
        n++;

    return (n - 1) * n / 2;
}

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

shoes.cpp:2:10: fatal error: shous.h: No such file or directory
    2 | #include "shous.h"
      |          ^~~~~~~~~
compilation terminated.