Borderou de evaluare (job #1851438)

Utilizator NicusorTelescu Nicolae Nicusor Data 19 ianuarie 2017 19:05:52
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:115:28: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=0;s[j]!=NULL;j++) ^ user.cpp:144:28: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=2;s[j]!=NULL;j++) ^ user.cpp:104: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:105: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:107: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:110:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:138:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccbIuggD.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
10ms280kbOK10
20ms328kbOK10
3140ms524kbOK10
4148ms780kbOK10
5256ms4092kbOK10
6220ms4596kbOK10
7Depăşit4500kbTime limit exceeded.0
8Depăşit5352kbTime limit exceeded.0
9Depăşit5352kbTime limit exceeded.0
10248ms5352kbOK10
Punctaj total70

Ceva nu functioneaza?