Borderou de evaluare (job #1831638)

Utilizator NicusorTelescu Nicolae Nicusor Data 18 decembrie 2016 14:30:08
Problema Disconnect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:28: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=0;s[j]!=NULL;j++) ^ user.cpp:90:28: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=2;s[j]!=NULL;j++) ^ user.cpp:50: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:51: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:53: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:56:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:84:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccTEagZb.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
14ms2620kbOK10
24ms2656kbOK10
3156ms2816kbOK10
4160ms3016kbOK10
5284ms5600kbOK10
6244ms6004kbOK10
7Depăşit6076kbTime limit exceeded.0
8700ms6380kbOK10
9496ms6464kbOK10
10308ms6352kbOK10
Punctaj total90

Ceva nu functioneaza?