Pagini recente » Borderou de evaluare (job #446941) | Borderou de evaluare (job #700543) | Borderou de evaluare (job #2335149) | Borderou de evaluare (job #229482) | Borderou de evaluare (job #1395692)
Borderou de evaluare (job #1395692)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:38:15: warning: unused variable ‘swapCount’ [-Wunused-variable]
int i, j, swapCount = 0, pos, elem, aux;
^
user.cpp:38:41: warning: unused variable ‘aux’ [-Wunused-variable]
int i, j, swapCount = 0, pos, elem, aux;
^
user.cpp: In function ‘void Set()’:
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &n, &x);
^
user.cpp:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
user.cpp: In function ‘void Solve()’:
user.cpp:54:9: warning: ‘elem’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(j = 9; j > elem; --j)
^
/tmp/ccLTKfxY.o: In function `Set()':
user.cpp:(.text+0x31): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 292kb | Incorect | 0 |
5 | 0ms | 452kb | Incorect | 0 |
6 | 0ms | 504kb | Incorect | 0 |
7 | 12ms | 2476kb | Incorect | 0 |
8 | 20ms | 2692kb | Incorect | 0 |
9 | 16ms | 2920kb | Incorect | 0 |
10 | 20ms | 3136kb | Incorect | 0 |
11 | 28ms | 4148kb | Incorect | 0 |
12 | 32ms | 5160kb | Incorect | 0 |
13 | 64ms | 10036kb | Incorect | 0 |
14 | 96ms | 14916kb | Incorect | 0 |
15 | 132ms | 19792kb | Incorect | 0 |
16 | 164ms | 24668kb | Incorect | 0 |
17 | 284ms | 44220kb | Incorect | 0 |
18 | 292ms | 44216kb | Incorect | 0 |
19 | 288ms | 44220kb | Incorect | 0 |
20 | 300ms | 44220kb | Incorect | 0 |
Punctaj total | 0 |