Pagini recente » Borderou de evaluare (job #2148082) | Borderou de evaluare (job #369039) | Borderou de evaluare (job #2088758) | Borderou de evaluare (job #2928554) | Borderou de evaluare (job #1569629)
Borderou de evaluare (job #1569629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x%k==n) {
^
user.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x*10+2)%k==n) {
^
user.cpp:32:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x*10+3)%k==n) {
^
user.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x*10+5)%k==n) {
^
user.cpp:44:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x*10+7)%k==n) {
^
user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.in","r",stdin);
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.out","w",stdout);
^
user.cpp:12:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 848ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |