Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#2 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#3 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#4 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#5 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#6 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#7 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#8 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#9 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#10 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#11 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
||
#12 |
Error de compilación
main.cpp:15:13: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ 1 error generated. |
#include<iostream> #define fast_io ios_base::sync_with_stdio(false); cin.tie(NULL); using namespace std; int abcs[26]; int main() { fast_io string s; cin>>s; for(int i = 0; i < s.size(); i++){ abcs[s[i] - 'a']++; if(abcs[s[i] - 'a'] > 1) { cout<<"no\n"; return; } } cout<<"yes\n"; }