# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
104305 | 2019-04-05T02:51:13 Z | LittleFlowers__ | Baloni (COCI15_baloni) | C++14 | 256 ms | 384 KB |
#include <iostream> using namespace std; int n,i,a,x; int c[1000005]; main(){ cin>>n; for(i=1;i<=n;++i){ cin>>a; if(!c[a]) x++; else c[a]--; c[a-1]++; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 3 ms | 384 KB | Output isn't correct |
2 | Incorrect | 2 ms | 256 KB | Output isn't correct |
3 | Incorrect | 4 ms | 256 KB | Output isn't correct |
4 | Incorrect | 4 ms | 256 KB | Output isn't correct |
5 | Incorrect | 199 ms | 256 KB | Output isn't correct |
6 | Incorrect | 220 ms | 384 KB | Output isn't correct |
7 | Incorrect | 249 ms | 384 KB | Output isn't correct |
8 | Incorrect | 216 ms | 256 KB | Output isn't correct |
9 | Incorrect | 195 ms | 256 KB | Output isn't correct |
10 | Incorrect | 256 ms | 256 KB | Output isn't correct |