Borderou de evaluare (job #1698764)

Utilizator cojocarugabiReality cojocarugabi Data 5 mai 2016 12:42:36
Problema Rotatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In constructor ‘treap::treap(long long int)’: user.cpp:19:15: warning: ‘treap::r’ will be initialized after [-Wreorder] treap *l,*r; ^ user.cpp:18:13: warning: ‘int treap::pr’ [-Wreorder] int cnt,pr; ^ user.cpp:31:5: warning: when initialized here [-Wreorder] treap(ll val) : val(val),lz(0),l(0),r(0),pr(rand()+1) {upd();} ^ user.cpp: In function ‘int main()’: user.cpp:9:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] # define print(x) printf("%d ",x) ^ user.cpp:143:49: note: in expansion of macro ‘print’ } else (last(Root) < 0 ? printf("-1") : print(Get(Root))),eol; ^ user.cpp:116:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rotatii.in","r",stdin); ^ user.cpp:117:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rotatii.out","w",stdout); ^ user.cpp:118:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(n);scan(m); ^ user.cpp:118:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(n);scan(m); ^ user.cpp:123:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(val); ^ user.cpp:130:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(op); ^ user.cpp:134:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(p);scan(val); ^ user.cpp:134:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(p);scan(val); ^ user.cpp:141:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scan(p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
2136ms1928kbOK10
3204ms2656kbOK10
4204ms2656kbOK10
5Depăşit7156kbTime limit exceeded.0
696ms920kbRaspuns gresit20
7208ms2536kbOK10
8204ms2020kbOK10
9Depăşit5856kbTime limit exceeded.0
10Depăşit6240kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?