Borderou de evaluare (job #1533362)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 22 noiembrie 2015 14:14:05
Problema TwoSets Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In member function ‘void Huge::operator+=(int)’: user.cpp:23:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0, t = k; i < X.size(); i++) { ^ user.cpp: In member function ‘void Huge::operator*=(int)’: user.cpp:35:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0, t = 0; i < X.size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:75:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("twosets.in", "r", stdin); ^ user.cpp:76:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("twosets.out", "w", stdout); ^ user.cpp:82:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &testCase); ^ user.cpp:87:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF); ^ user.cpp:103:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF); ^ /tmp/cchaI27A.o: In function `main': user.cpp:(.text.startup+0xf5): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms288kbOK1010
240ms304kbOK1010
3612ms380kbOK1010
4612ms380kbOK1010
5Depăşit1148kbTime limit exceeded.00
6Depăşit9572kbTime limit exceeded.0
7Depăşit11208kbTime limit exceeded.00
8Depăşit4724kbTime limit exceeded.0
9Depăşit4708kbTime limit exceeded.00
10Depăşit9232kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?