Submission #979918

# Submission time Handle Problem Language Result Execution time Memory
979918 2024-05-11T16:01:41 Z vjudge1 Longest Trip (IOI23_longesttrip) C++17
0 / 100
1 ms 344 KB
#include <bits/stdc++.h>

using namespace std;

int longest_trip(int N, int D){
	if(D>1) return N;
}

Compilation message

longesttrip.cpp: In function 'int longest_trip(int, int)':
longesttrip.cpp:7:1: warning: control reaches end of non-void function [-Wreturn-type]
    7 | }
      | ^
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 344 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 344 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 344 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 344 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 344 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -