Submission #1317459

#TimeUsernameProblemLanguageResultExecution timeMemory
1317459eshanahmedCONSUL (info1cup19_consul)C++20
Compilation error
0 ms0 KiB
// ﷽ #include <bits/stdc++.h> using namespace std; #define ll long long #include grader.h ll check=33333334; void solve(int N){ ll ans=-1; for(auto i=1;i<=N;i++){ ll temp=int kth(i); if(temp>=check){ ans=temp; break; } } void say_answer(ans); }

Compilation message (stderr)

consul.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
    5 | #include grader.h
      |          ^~~~~~
consul.cpp: In function 'void solve(int)':
consul.cpp:10:20: error: expected primary-expression before 'int'
   10 |            ll temp=int kth(i);
      |                    ^~~
consul.cpp:16:11: error: variable or field 'say_answer' declared void
   16 |      void say_answer(ans);
      |           ^~~~~~~~~~