Pagini recente » Borderou de evaluare (job #1096650) | Borderou de evaluare (job #1412333) | Borderou de evaluare (job #2936938) | Borderou de evaluare (job #2371826) | Borderou de evaluare (job #2216789)
Borderou de evaluare (job #2216789)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i <= n; ++i){
~~^~~~
user.cpp:30:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j <= n; ++j){
~~^~~~
user.cpp:31:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
c[(int)(((number*)&a[j])->dig[i])] ++;
^~
user.cpp:37:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
b[c[(int)(((number*)&a[j])->dig[i])]] = a[j];
^~
user.cpp:38:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
c[(int)(((number*)&a[j])->dig[i])]--;
^~
user.cpp:40:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j <= n; ++j){
~~^~~~
user.cpp:44:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= n; i += 10){
~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 3376kb | OK | 10 | 30 |
2 | 12ms | 5552kb | OK | 10 |
3 | 116ms | 9328kb | OK | 10 |
4 | 116ms | 9328kb | OK | 10 | 0 |
5 | 1308ms | 79448kb | OK | 10 |
6 | 1352ms | 79452kb | OK | 10 |
7 | 128ms | 9332kb | Incorect | 0 |
8 | 1340ms | 79444kb | Incorect | 0 | 0 |
9 | 1392ms | 79448kb | Incorect | 0 |
10 | 1384ms | 79444kb | Incorect | 0 |
Punctaj total | 30 |