Borderou de evaluare (job #1830069)

Utilizator NicusorTelescu Nicolae Nicusor Data 16 decembrie 2016 07:02:59
Problema Disconnect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:159:28: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=0;s[j]!=NULL;j++) ^ user.cpp:216:28: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=2;s[j]!=NULL;j++) ^ user.cpp:148:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.in","r",stdin); ^ user.cpp:149:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.out","w",stdout); ^ user.cpp:151:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:154:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:210:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccuVhEHH.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms372kbOK10
3152ms672kbOK10
4164ms1048kbOK10
5312ms5880kbOK10
6284ms6624kbOK10
7Depăşit4360kbTime limit exceeded.0
8Depăşit6824kbTime limit exceeded.0
9Depăşit7728kbTime limit exceeded.0
101108ms7732kbOK10
Punctaj total70

Ceva nu functioneaza?