Borderou de evaluare (job #1806759)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 15 noiembrie 2016 17:54:25
Problema Rotatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In member function ‘void treap::write(treap::_node*&)’: user.cpp:139:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=] printf("%d ", R -> vl); ^ user.cpp: In function ‘int main()’: user.cpp:209:38: 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:210:40: 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:217:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &N, &M); ^ user.cpp:221:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^ user.cpp:227:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &op); ^ user.cpp:231:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &pos, &val); ^ user.cpp:238:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &pos); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
284ms2872kbOK10
3128ms4084kbOK10
4120ms4096kbOK10
5448ms12604kbOK10
656ms1196kbOK10
7128ms3888kbOK10
8152ms3036kbOK10
9520ms10028kbOK10
10520ms10220kbOK10
Punctaj total100

Ceva nu functioneaza?