제출 #969624

#제출 시각아이디문제언어결과실행 시간메모리
969624KasymKDetecting Molecules (IOI16_molecules)C++17
0 / 100
0 ms436 KiB
#include "bits/stdc++.h" using namespace std; vector<int> find_subset(int l, int u, vector<int> w){ int div = u/w[0]; if(div > w.size()) return vector<int> {}; vector<int> ans; for(int i = 0; i < div; ++i) ans.push_back(i); return ans; }

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

molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:7:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |     if(div > w.size())
      |        ~~~~^~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...