Pagini recente » Borderou de evaluare (job #1148848) | Borderou de evaluare (job #748706) | Borderou de evaluare (job #1392129) | Borderou de evaluare (job #2917820) | Borderou de evaluare (job #1728197)
Borderou de evaluare (job #1728197)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &L);
^
user.cpp:30:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(DNA[i]);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &p[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:30:21:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccl7TE4r.o: In function `read()':
user.cpp:(.text+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Cool! | 10 |
2 | 0ms | 456kb | Cool! | 10 |
3 | 0ms | 460kb | Cool! | 10 |
4 | 4ms | 464kb | Cool! | 10 |
5 | 4ms | 476kb | Cool! | 10 |
6 | 32ms | 508kb | Cool! | 10 |
7 | 56ms | 540kb | Cool! | 10 |
8 | 88ms | 540kb | Cool! | 10 |
9 | 180ms | 600kb | Cool! | 10 |
10 | 180ms | 604kb | Cool! | 10 |
Punctaj total | 100 |