Borderou de evaluare (job #1806722)

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

Raport evaluator

Compilare: user.cpp: In member function ‘void treap::write(treap::_node*&)’: user.cpp:137:30: 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:200: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:201: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:208: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:212:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^ user.cpp:218:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &op); ^ user.cpp:222: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:229: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
10ms448kbOK10
284ms2872kbOK10
3124ms4088kbRaspuns gresit30
4124ms4096kbOK10
5464ms12600kbRaspuns gresit40
652ms1200kbRaspuns gresit30
7124ms3892kbOK10
8136ms3036kbRaspuns gresit30
9488ms10032kbOK10
10472ms10220kbOK10
Punctaj total60

Ceva nu functioneaza?