Pagini recente » Borderou de evaluare (job #2160358) | Borderou de evaluare (job #902097) | Borderou de evaluare (job #2962984) | Borderou de evaluare (job #2943483) | Borderou de evaluare (job #1679976)
Borderou de evaluare (job #1679976)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_last()’:
user.cpp:71:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k + 1 < aux.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:108: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:125:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == good.size()) {
^
user.cpp:130:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k < good.size()) {
^
user.cpp:158:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:158:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:158:19: warning: value computed is not used [-Wunused-value]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:93: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:94: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:96: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:98: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 | 460kb | OK! | 5 |
| 3 | 0ms | 464kb | OK! | 5 |
| 4 | 0ms | 464kb | OK! | 5 |
| 5 | 0ms | 440kb | OK! | 5 |
| 6 | 0ms | 492kb | OK! | 5 |
| 7 | 0ms | 492kb | OK! | 5 |
| 8 | 0ms | 484kb | OK! | 5 |
| 9 | 0ms | 488kb | OK! | 5 |
| 10 | 0ms | 480kb | OK! | 5 |
| 11 | 12ms | 912kb | OK! | 5 |
| 12 | 20ms | 1000kb | OK! | 5 |
| 13 | 40ms | 1776kb | OK! | 5 |
| 14 | 28ms | 1420kb | OK! | 5 |
| 15 | 12ms | 864kb | OK! | 5 |
| 16 | 104ms | 3916kb | OK! | 5 |
| 17 | 92ms | 3148kb | OK! | 5 |
| 18 | 60ms | 2540kb | OK! | 5 |
| 19 | 72ms | 2808kb | OK! | 5 |
| 20 | 64ms | 3068kb | OK! | 5 |
| Punctaj total | 100 |