Pagini recente » Borderou de evaluare (job #1894385) | Borderou de evaluare (job #3122629) | Borderou de evaluare (job #274695) | Borderou de evaluare (job #2283216) | Borderou de evaluare (job #1679960)
Borderou de evaluare (job #1679960)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_last()’:
user.cpp:66:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k + 1 < aux.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:97: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:114:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == good.size()) {
^
user.cpp:119:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k < good.size()) {
^
user.cpp:147:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:147:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:147:19: warning: value computed is not used [-Wunused-value]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:82: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:83: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:85:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k); kk = k;
^
user.cpp:87: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 | 464kb | OK! | 5 |
2 | 0ms | 464kb | OK! | 5 |
3 | 0ms | 460kb | OK! | 5 |
4 | Depăşit | 452kb | Time limit exceeded. | 0 |
5 | 0ms | 440kb | OK! | 5 |
6 | 0ms | 484kb | OK! | 5 |
7 | 0ms | 488kb | OK! | 5 |
8 | 0ms | 480kb | OK! | 5 |
9 | Depăşit | 472kb | Time limit exceeded. | 0 |
10 | 0ms | 480kb | OK! | 5 |
11 | 12ms | 920kb | OK! | 5 |
12 | 20ms | 996kb | OK! | 5 |
13 | 40ms | 1780kb | OK! | 5 |
14 | Depăşit | 1500kb | Time limit exceeded. | 0 |
15 | 12ms | 864kb | OK! | 5 |
16 | 104ms | 3908kb | OK! | 5 |
17 | 92ms | 3152kb | OK! | 5 |
18 | 60ms | 2536kb | OK! | 5 |
19 | Depăşit | 2888kb | Time limit exceeded. | 0 |
20 | 68ms | 3072kb | OK! | 5 |
Punctaj total | 80 |