# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
342800 | ivan_tudor | Money (IZhO17_money) | C++14 | 1598 ms | 51436 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
const int N = 1e6 + 6;
int v[N];
multiset<int> ms;
void dbg(){
cerr<<ms.size()<<"\n";
for(auto x: ms)
cerr<<x<<" ";
cerr<<"\nok\n";
}
const int SIZE=1<<10;
char buffer[SIZE];
int point=SIZE;
inline char adv(){
if(point==SIZE){
fread(buffer,1,SIZE,stdin);
point=0;
}
return buffer[point++];
}
inline int read(){
char c;
int x=0,sgn=1;
c=adv();
while(isdigit(c)==false && c!='-')
c=adv();
while(c=='-'){
sgn*=-1;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |