Borderou de evaluare (job #1839679)

Utilizator Bodo171Bogdan Pop Bodo171 Data 3 ianuarie 2017 12:39:55
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void solve_queries()’: user.cpp:86:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v[fix].size();i++) ^ user.cpp:94:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<q[ind].size();j++) ^ user.cpp: In function ‘int main()’: user.cpp:116:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri2.in","r",stdin); ^ user.cpp:117:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri2.out","w",stdout); ^ user.cpp:118:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ user.cpp:122:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ user.cpp:128:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s);ch=0; ^ user.cpp:132:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ /tmp/ccbjdloD.o: In function `main': user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOK10
2348ms480kbIncorect0
38ms1088kbIncorect0
4Depăşit55736kbTime limit exceeded.0
5Depăşit55496kbTime limit exceeded.0
6268ms19712kbIncorect0
7516ms12732kbIncorect0
8300ms17120kbIncorect0
9592ms17964kbIncorect0
10608ms17848kbIncorect0
Punctaj total10

Ceva nu functioneaza?