| Problem | thedarknight |
|---|---|
| User | wrizz69 |
| Submission Time | 2024-12-29 13:23:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
thedarknight.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++.h>
| ^~~~
thedarknight.cpp:4:17: error: ‘y’ has not been declared
4 | int solve(int x,y) {
| ^
thedarknight.cpp: In function ‘int solve(int, int)’:
thedarknight.cpp:5:11: error: ‘y’ was not declared in this scope
5 | while(y != 0) {
| ^
thedarknight.cpp: In function ‘int lcm(int, int)’:
thedarknight.cpp:14:22: error: ‘gcd’ was not declared in this scope
14 | return (a * b) / gcd(a, b);
| ^~~
thedarknight.cpp: In function ‘int main()’:
thedarknight.cpp:20:5: error: ‘cin’ was not declared in this scope
20 | cin >> a >> b >> n;
| ^~~
thedarknight.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>