Pagini recente » Borderou de evaluare (job #2322586) | Borderou de evaluare (job #2323850) | Borderou de evaluare (job #3138252) | Borderou de evaluare (job #2882430) | Borderou de evaluare (job #3275929)
Borderou de evaluare (job #3275929)
Raport evaluator
Compilare:
main.cpp:1:58: warning: bad option '-f fast-math' to pragma 'optimize' [-Wpragmas]
1 | #pragma GCC optimize("O3, fast-math, unroll-loops, Ofast")
| ^
main.cpp:1:58: warning: bad option '-f unroll-loops' to pragma 'optimize' [-Wpragmas]
main.cpp:1:58: warning: bad option '-f Ofast' to pragma 'optimize' [-Wpragmas]
main.cpp:10:14: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
10 | int lsb(int x)
| ^
main.cpp:10:14: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:10:14: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
main.cpp:21:27: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
21 | bool ancestor(int a, int b)
| ^
main.cpp:21:27: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:21:27: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
main.cpp:26:29: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
26 | void update(int poz, int val)
| ^
main.cpp:26:29: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:26:29: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
main.cpp:32:18: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
32 | int query(int poz)
| ^
main.cpp:32:18: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:32:18: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
main.cpp:40:27: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
40 | void dfs(int nod, int tata)
| ^
main.cpp:40:27: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:40:27: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
main.cpp:58:20: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
58 | int findanc(int nod)
| ^
main.cpp:58:20: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:58:20: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
main.cpp:71:37: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
71 | int32_t main(int argc, char * argv[])
| ^
main.cpp:71:37: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
main.cpp:71:37: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 303kb | OK | 10 |
2 | 2ms | 557kb | OK | 10 |
3 | 153ms | 2682kb | OK | 10 |
4 | 158ms | 3411kb | OK | 10 |
5 | 271ms | 12959kb | OK | 10 |
6 | 167ms | 13844kb | OK | 10 |
7 | 117ms | 15171kb | OK | 10 |
8 | 202ms | 16994kb | OK | 10 |
9 | 216ms | 16994kb | OK | 10 |
10 | 201ms | 17203kb | OK | 10 |
Punctaj total | 100 |