Pagini recente » Borderou de evaluare (job #1632912) | Borderou de evaluare (job #943961) | Borderou de evaluare (job #2384612) | Borderou de evaluare (job #2283778) | Borderou de evaluare (job #613946)
Borderou de evaluare (job #613946)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:13:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/ccCVD0Q7.o: In function `read()':
user.cpp:(.text+0x17a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 0ms | 268kb | OK | 5 |
| 4 | 0ms | 272kb | OK | 5 |
| 5 | 0ms | 428kb | OK | 5 |
| 6 | 0ms | 424kb | OK | 5 |
| 7 | 0ms | 420kb | OK | 5 |
| 8 | 0ms | 428kb | Incorect | 0 |
| 9 | 24ms | 3500kb | OK | 5 |
| 10 | 32ms | 3948kb | OK | 5 |
| 11 | 32ms | 3952kb | OK | 5 |
| 12 | 40ms | 4148kb | OK | 5 |
| 13 | 36ms | 4144kb | OK | 5 |
| 14 | 32ms | 3252kb | OK | 5 |
| 15 | 32ms | 3384kb | OK | 5 |
| 16 | 36ms | 3736kb | OK | 5 |
| 17 | 40ms | 4144kb | OK | 5 |
| 18 | 40ms | 4144kb | OK | 5 |
| 19 | 40ms | 4096kb | OK | 5 |
| 20 | 36ms | 3852kb | OK | 5 |
| Punctaj total | 95 |