Pagini recente » Borderou de evaluare (job #2058334) | Borderou de evaluare (job #1201612) | Borderou de evaluare (job #199092) | Borderou de evaluare (job #1694404) | Borderou de evaluare (job #613947)
Borderou de evaluare (job #613947)
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/cc6k5g3K.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 | 252kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 268kb | OK | 5 |
5 | 0ms | 424kb | OK | 5 |
6 | 0ms | 420kb | OK | 5 |
7 | 0ms | 428kb | OK | 5 |
8 | 0ms | 424kb | Incorect | 0 |
9 | 24ms | 3524kb | OK | 5 |
10 | 32ms | 3972kb | OK | 5 |
11 | 28ms | 3972kb | OK | 5 |
12 | 36ms | 4168kb | OK | 5 |
13 | 36ms | 4168kb | OK | 5 |
14 | 32ms | 3264kb | OK | 5 |
15 | 32ms | 3400kb | OK | 5 |
16 | 36ms | 3748kb | OK | 5 |
17 | 40ms | 4164kb | OK | 5 |
18 | 40ms | 4168kb | OK | 5 |
19 | 40ms | 4124kb | OK | 5 |
20 | 36ms | 3872kb | OK | 5 |
Punctaj total | 95 |