Pagini recente » Borderou de evaluare (job #1879708) | Borderou de evaluare (job #2254031) | Borderou de evaluare (job #2153240) | Borderou de evaluare (job #1526273) | Borderou de evaluare (job #2525836)
Borderou de evaluare (job #2525836)
Raport evaluator
Compilare:
main.cpp:3:0: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
#pragma GCC optimization ("O3")
main.cpp:4:0: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
#pragma GCC optimization ("unroll-loops")
main.cpp: In constructor 'node::node()':
main.cpp:13:17: warning: 'node::r' will be initialized after [-Wreorder]
node* l; node* r;
^
main.cpp:11:6: warning: 'int node::co' [-Wreorder]
int co,val,prio;
^~
main.cpp:14:2: warning: when initialized here [-Wreorder]
node():val(0),prio(rand()),l(0),r(0),co(1),pa(0){}
^~~~
main.cpp: In constructor 'node::node(int)':
main.cpp:13:17: warning: 'node::r' will be initialized after [-Wreorder]
node* l; node* r;
^
main.cpp:11:6: warning: 'int node::co' [-Wreorder]
int co,val,prio;
^~
main.cpp:15:2: warning: when initialized here [-Wreorder]
node(int val):val(val),prio(rand()),l(0),r(0),co(1),pa(0){}
^~~~
main.cpp: In function 'int main()':
main.cpp:122:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permsort2.in","r",stdin); freopen("permsort2.out","w",stdout);
^
main.cpp:122:72: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permsort2.in","r",stdin); freopen("permsort2.out","w",stdout);
^
main.cpp:123:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:127:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&arr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 387ms | 4325kb | OK | 10 |
3 | 500ms | 6684kb | Time limit exceeded | 0 |
4 | 503ms | 6684kb | Time limit exceeded | 0 |
5 | 502ms | 6684kb | Time limit exceeded | 0 |
6 | 503ms | 6815kb | Time limit exceeded | 0 |
7 | 503ms | 12451kb | Time limit exceeded | 0 |
8 | 500ms | 12451kb | Time limit exceeded | 0 |
9 | 503ms | 12451kb | Time limit exceeded | 0 |
10 | 4ms | 131kb | OK | 10 |
Punctaj total | 30 |