Pagini recente » Borderou de evaluare (job #196607) | Borderou de evaluare (job #1216892) | Borderou de evaluare (job #102700) | Borderou de evaluare (job #730235) | Borderou de evaluare (job #1679971)
Borderou de evaluare (job #1679971)
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:102: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:119:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == good.size()) {
^
user.cpp:124:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k < good.size()) {
^
user.cpp:152:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:152:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:152:19: warning: value computed is not used [-Wunused-value]
for (i = 0; i < cicl.size(), cicl[i].size() <= k; i++) {
^
user.cpp:87: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:88: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:90: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:92: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 | 444kb | Raspuns Gresit! | 0 |
| 5 | 0ms | 448kb | OK! | 5 |
| 6 | 0ms | 492kb | OK! | 5 |
| 7 | 0ms | 488kb | OK! | 5 |
| 8 | 0ms | 484kb | OK! | 5 |
| 9 | 0ms | 476kb | Raspuns Gresit! | 0 |
| 10 | 0ms | 476kb | OK! | 5 |
| 11 | 12ms | 916kb | OK! | 5 |
| 12 | 20ms | 1000kb | OK! | 5 |
| 13 | 44ms | 1776kb | OK! | 5 |
| 14 | 24ms | 1416kb | Raspuns Gresit! | 0 |
| 15 | 12ms | 868kb | OK! | 5 |
| 16 | 104ms | 3912kb | OK! | 5 |
| 17 | 92ms | 3148kb | OK! | 5 |
| 18 | 60ms | 2536kb | OK! | 5 |
| 19 | 68ms | 2808kb | Raspuns Gresit! | 0 |
| 20 | 64ms | 3332kb | OK! | 5 |
| Punctaj total | 80 |