Submission #998946

# Submission time Handle Problem Language Result Execution time Memory
998946 2024-06-15T01:54:13 Z 12345678 Lost in the cycle (IOI19_cycle) C++17
0 / 100
0 ms 344 KB
#include "cycle.h"
#include <bits/stdc++.h>

using namespace std;

void escape(int n) {
	if (n==2) cout<<1/0;
}

Compilation message

cycle.cpp: In function 'void escape(int)':
cycle.cpp:7:19: warning: division by zero [-Wdiv-by-zero]
    7 |  if (n==2) cout<<1/0;
      |                  ~^~
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB The exit was not found.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB The exit was not found.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB The exit was not found.
2 Halted 0 ms 0 KB -