Borderou de evaluare (job #1408108)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 29 martie 2015 19:58:46
Problema Secv10 Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:87:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sol1.size(); ++i) ^ user.cpp:75:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.in", "r", stdin); ^ user.cpp:76:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.out", "w", stdout); ^ user.cpp:77:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:81:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b + 1); ^ user.cpp:82:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ user.cpp:85:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ /tmp/ccBSHrGP.o: In function `main': user.cpp:(.text.startup+0x7d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms1712kbIncorect0
Punctaj total0

Ceva nu functioneaza?