Pagini recente » Borderou de evaluare (job #1667330) | Borderou de evaluare (job #1476718) | Borderou de evaluare (job #951990) | Borderou de evaluare (job #3240162) | Borderou de evaluare (job #1698764)
Borderou de evaluare (job #1698764)
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 |
1 | 0ms | 464kb | OK | 10 |
2 | 136ms | 1928kb | OK | 10 |
3 | 204ms | 2656kb | OK | 10 |
4 | 204ms | 2656kb | OK | 10 |
5 | Depăşit | 7156kb | Time limit exceeded. | 0 |
6 | 96ms | 920kb | Raspuns gresit2 | 0 |
7 | 208ms | 2536kb | OK | 10 |
8 | 204ms | 2020kb | OK | 10 |
9 | Depăşit | 5856kb | Time limit exceeded. | 0 |
10 | Depăşit | 6240kb | Time limit exceeded. | 0 |
Punctaj total | 60 |