Borderou de evaluare (job #2468935)

Utilizator cyg_andrei_HHendoreanu Andrei Sebastian cyg_andrei_H Data 6 octombrie 2019 11:50:16
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:54:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<Point>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n",r.size()); ^ main.cpp:55:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<r.size();++i) ~^~~~~~~~~ main.cpp:25:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.in","r",stdin); ^ main.cpp:26:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.out","w",stdout); ^ main.cpp:29:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:31:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect10
22ms131kbCorect10
3103ms430kbNumar de puncte incorect0
4101ms389kbNumar de puncte incorect0
5103ms352kbNumar de puncte incorect0
6500ms1802kbTime limit exceeded0
7502ms1794kbTime limit exceeded0
8500ms1798kbTime limit exceeded0
9502ms1802kbTime limit exceeded0
10503ms1822kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?