Pagini recente » Borderou de evaluare (job #2284866) | Borderou de evaluare (job #2125581) | Borderou de evaluare (job #2771024) | Borderou de evaluare (job #2162447) | Borderou de evaluare (job #2417446)
Borderou de evaluare (job #2417446)
Raport evaluator
Compilare:
main.cpp: In function 'void CountingSort1()':
main.cpp:18:40: warning: operation on 'i' may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:18:40: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: In function 'void CountingSort2()':
main.cpp:29:40: warning: operation on 'i' may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:29:40: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: In function 'void CountingSort3()':
main.cpp:40:40: warning: operation on 'i' may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:40:40: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: In function 'i32 main()':
main.cpp:76:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * A + B) % C;
^~~
main.cpp:84:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 30 |
2 | 12ms | 1048kb | OK | 10 |
3 | 105ms | 9175kb | OK | 10 |
4 | 88ms | 9175kb | OK | 10 | 40 |
5 | 1045ms | 93847kb | OK | 10 |
6 | 1034ms | 93585kb | OK | 10 |
7 | 121ms | 10223kb | OK | 10 |
8 | 1560ms | 101109kb | OK | 10 | 30 |
9 | 1521ms | 99876kb | OK | 10 |
10 | 1599ms | 100925kb | OK | 10 |
Punctaj total | 100 |