제출 #239182

#제출 시각아이디문제언어결과실행 시간메모리
239182lakshith_Detecting Molecules (IOI16_molecules)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; a int find_subset(int l, int u, int[] w, int n, int[] result){ int m = 0; int lo,hi; lo = ceil((double)l/(double)w[0]); hi = floor((double)u/(doublew[0])); if(n<lo||(lo>=hi))return 0; for(int i=0;i<lo;i++) result[m++] = w[0]; return m; } // int main(){ // io_setup(); // // }

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

molecules.cpp:5:1: error: 'a' does not name a type
 a
 ^