Working code in Codeblocks and custom test, but not in submissions

Правка en1, от fishcurry, 2021-08-27 00:22:35

Problem: 1560F1 - Ближайшее красивое число (упрощённая версия)

Hi, in my submissions: 127141856 and 127141658, the code is the same. However I am failing testcases which I am not failing in custom test on the website "https://mirror.codeforces.com/problemset/customtest". For example in the submisson 127141658, I am failing on the testcase where n = 10 and k = 1, where the "supposed output" is 1110, but in the custom test, I would get the correct output "11" , if I wrote an input where t = 1, n = 10, and k = 1.

In the other submission I tried to use C++14 compiler instead of C++17. I still end up failing a similar case which doesn't fail in custom test.

Why is this happening?

Any information would be appreciated.

Теги #submissions

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский fishcurry 2021-08-27 00:22:35 782 Initial revision (published)