# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3382 | 2013-08-31T05:11:15 Z | solveit | Cactus? Not cactus? (kriii1_C) | C++ | 0 ms | 1672 KB |
#include <iostream> #include <string> #include <math.h> #include <sstream> #include <cstdio> #include <algorithm> #include <set> #include <vector> using namespace std; int N, M; int main() { scanf("%d %d",&N, &M); for(int i = 0;i<M;i++) { int u, v; scanf("%d %d",&u, &v); } if(M <= N) printf("Cactus\n"); else printf("Not cactus\n"); return 0; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1672 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |