#2615
CaesarCrypt
Se citește un text. Se cere criptarea/decriptarea acestuia folosind Cifrul Caesar
.
Probleme de Criptografie
Problema | CaesarCrypt | Operații I/O |
caesar.in /dbftbs.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #55053807 | Utilizator | |
Fișier | caesarcrypt.cpp | Dimensiune | 1.40 KB |
Data încărcării | 18 Decembrie 2024, 20:45 | Scor / rezultat | Eroare de compilare |
caesarcrypt.cpp:15:39: warning: missing terminating " character [enabled by default] if (!strchr(" .,!?0123456789'"",s[i]) && s[i]>='a' && s[i]<='z') ^ caesarcrypt.cpp:15:9: error: missing terminating " character if (!strchr(" .,!?0123456789'"",s[i]) && s[i]>='a' && s[i]<='z') ^ caesarcrypt.cpp:23:42: warning: missing terminating " character [enabled by default] if(!strchr(" .,!?0123456789'"",s[i])) ^ caesarcrypt.cpp:23:13: error: missing terminating " character if(!strchr(" .,!?0123456789'"",s[i])) ^ caesarcrypt.cpp:36:39: warning: missing terminating " character [enabled by default] if (!strchr(" .,!?0123456789'"",s[i]) && s[i]>='a' && s[i]<='z') ^ caesarcrypt.cpp:36:9: error: missing terminating " character if (!strchr(" .,!?0123456789'"",s[i]) && s[i]>='a' && s[i]<='z') ^ caesarcrypt.cpp:44:42: warning: missing terminating " character [enabled by default] if(!strchr(" .,!?0123456789'"",s[i])) ^ caesarcrypt.cpp:44:13: error: missing terminating " character if(!strchr(" .,!?0123456789'"",s[i])) ^ caesarcrypt.cpp: In function 'int main()': caesarcrypt.cpp:16:13: error: expected ')' before 'while' while(c){ ^ caesarcrypt.cpp:30:6: error: expected ')' before '}' token } ^ caesarcrypt.cpp:30:6: error: expected primary-expression before '}' token caesarcrypt.cpp:30:6: error: expected ';' before '}' token caesarcrypt.cpp:14:13: warning: unused variable 'c' [-Wunused-variable] int c=cod; ^ caesarcrypt.cpp:37:13: error: expected ')' before 'while' while(c){ ^ caesarcrypt.cpp:51:6: error: expected ')' before '}' token } ^ caesarcrypt.cpp:51:6: error: expected primary-expression before '}' token caesarcrypt.cpp:51:6: error: expected ';' before '}' token caesarcrypt.cpp:35:13: warning: unused variable 'c' [-Wunused-variable] int c=cod; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema CaesarCrypt face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.