Pagini recente » Borderou de evaluare (job #2686448) | Borderou de evaluare (job #1450329) | Borderou de evaluare (job #561176) | Borderou de evaluare (job #2821711) | Borderou de evaluare (job #1679958)
Borderou de evaluare (job #1679958)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_last()’:
user.cpp:61:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k + 1 < aux.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:92:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < norm.size(); i++) go[norm[i].second] = i + 1;
^
user.cpp:109:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == good.size()) {
^
user.cpp:114:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k < good.size()) {
^
user.cpp:142:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:142:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:142:19: warning: value computed is not used [-Wunused-value]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:77:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksort.in","r",stdin);
^
user.cpp:78:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksort.out","w",stdout);
^
user.cpp:80:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:82:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &go[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK! | 5 |
2 | 0ms | 480kb | OK! | 5 |
3 | 0ms | 476kb | OK! | 5 |
4 | 0ms | 476kb | Raspuns Gresit! | 0 |
5 | 0ms | 456kb | OK! | 5 |
6 | 0ms | 496kb | OK! | 5 |
7 | 0ms | 492kb | OK! | 5 |
8 | 0ms | 488kb | OK! | 5 |
9 | 0ms | 492kb | Raspuns Gresit! | 0 |
10 | 0ms | 488kb | OK! | 5 |
11 | 12ms | 920kb | OK! | 5 |
12 | 20ms | 1008kb | OK! | 5 |
13 | 40ms | 1776kb | OK! | 5 |
14 | 24ms | 1424kb | Raspuns Gresit! | 0 |
15 | 12ms | 864kb | OK! | 5 |
16 | 100ms | 3920kb | OK! | 5 |
17 | 92ms | 3156kb | OK! | 5 |
18 | 60ms | 2540kb | OK! | 5 |
19 | 72ms | 2808kb | Raspuns Gresit! | 0 |
20 | 64ms | 3072kb | OK! | 5 |
Punctaj total | 80 |