Submission #668799

#TimeUsernameProblemLanguageResultExecution timeMemory
668799AstraytBoxes with souvenirs (IOI15_boxes)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; ll delivery(int N, int K, int L, int pos[]){ if(K == 1){ int ret = 0; for(int i = 0; i < N; ++i){ int dist = min(pos[i], L - pos[i]); ret += 2ll * dist; } return ret; } }

Compilation message (stderr)

boxes.cpp:4:1: error: 'll' does not name a type
    4 | ll delivery(int N, int K, int L, int pos[]){
      | ^~