Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#2 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#3 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#4 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#5 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#6 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#7 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#8 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#9 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#10 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#11 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#12 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#13 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#14 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#15 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#16 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#17 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#18 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#19 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#20 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#21 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#22 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#23 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#24 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#25 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#26 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#27 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#28 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#29 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#30 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#31 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#32 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#33 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#34 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#35 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#36 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
||
#37 |
Error de compilación
main.c:1:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. |
#include <iostream> #include <stdio.h> #define max(t, l) \ ( \ t > l ? t : l) #define min(t, l) \ ( \ t < l ? t : l) using namespace std; int main() { int n, t, l; cin >> n; cin >> t; cin >> l; if (t == l) { printf("%d", n); } else { // Distance between initial t and initial l printf("%d", n - max(t, l) + min(t, l)); } return 0; }