Pagini recente » Borderou de evaluare (job #3182835) | Borderou de evaluare (job #1475986) | Borderou de evaluare (job #2329829) | Borderou de evaluare (job #2162699) | Borderou de evaluare (job #1559535)
Borderou de evaluare (job #1559535)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData()’:
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:34:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void readData()’ at user.cpp:34:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccH4fI1J.o: In function `readData()':
user.cpp:(.text+0x34): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | OK! | 10 |
| 2 | 0ms | 476kb | OK! | 10 |
| 3 | 0ms | 488kb | OK! | 10 |
| 4 | 0ms | 492kb | OK! | 10 |
| 5 | 0ms | 780kb | OK! | 10 |
| 6 | 0ms | 744kb | OK! | 10 |
| 7 | 28ms | 2204kb | OK! | 10 |
| 8 | 132ms | 10296kb | OK! | 10 |
| 9 | 40ms | 2372kb | OK! | 10 |
| 10 | 228ms | 19876kb | OK! | 10 |
| Punctaj total | 100 |