Borderou de evaluare (job #1839573)

Utilizator Bodo171Bogdan Pop Bodo171 Data 3 ianuarie 2017 01:34:57
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void solve_queries()’: user.cpp:105:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<v[fix][ind].size();j++) ^ user.cpp: In function ‘int main()’: user.cpp:123: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:124: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:125:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ user.cpp:129:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ user.cpp:135:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s);ch=0; ^ user.cpp:139:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ /tmp/ccYi8uNJ.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms12288kbOK10
2652ms12292kbOK10
332ms12744kbOK10
4Depăşit51984kbTime limit exceeded.0
520ms12428kbKilled by signal 6(SIGABRT).0
620ms12428kbKilled by signal 6(SIGABRT).0
7980ms21592kbOK10
8684ms26396kbOK10
9Depăşit26032kbTime limit exceeded.0
10Depăşit26024kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?