Borderou de evaluare (job #1839581)

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

Raport evaluator

Compilare: user.cpp: In function ‘void solve_queries()’: user.cpp:96: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:114: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:115: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:116:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ user.cpp:120:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ user.cpp:126:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s);ch=0; ^ user.cpp:130:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] ch=0;gets(s); ^ /tmp/cciJejWN.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
116ms12292kbOK10
2336ms12296kbOK10
332ms12752kbOK10
4Depăşit53168kbTime limit exceeded.0
5Depăşit55776kbTime limit exceeded.0
6332ms31412kbOK10
7648ms21604kbOK10
8604ms26396kbOK10
9868ms26076kbOK10
10836ms26068kbOK10
Punctaj total80

Ceva nu functioneaza?