QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#557044 | #5708. Hungry Fox | kheiramihoub | Compile Error | / | / | C++14 | 775b | 2024-09-11 01:07:18 | 2024-09-11 01:07:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int max_taste(int, int, const std::vector<int>&)’: answer.code:20:1: warning: no return statement in function returning non-void [-Wreturn-type] 20 | } | ^ answer.code: In function ‘int main()’: answer.code:29:22: error: too few arguments to function ‘int min_taste(int, int, const std::vector<int>&)’ 29 | cout << min_taste(N,W) << " " << max_taste(N,W) << endl; | ~~~~~~~~~^~~~~ answer.code:6:5: note: declared here 6 | int min_taste(int N , int W, const vi& T){ | ^~~~~~~~~ answer.code:29:47: error: too few arguments to function ‘int max_taste(int, int, const std::vector<int>&)’ 29 | cout << min_taste(N,W) << " " << max_taste(N,W) << endl; | ~~~~~~~~~^~~~~ answer.code:16:5: note: declared here 16 | int max_taste(int N , int W, const vi& T){ | ^~~~~~~~~