Pagini recente » Borderou de evaluare (job #1545427) | Borderou de evaluare (job #1391298) | Borderou de evaluare (job #1563827) | Borderou de evaluare (job #1024079) | Borderou de evaluare (job #2166198)
Borderou de evaluare (job #2166198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:50:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:50:17: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:43:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in", "r", stdin);
^
user.cpp:44:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out", "w", stdout);
^
user.cpp:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:50:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccgP4J0s.o: In function `main':
user.cpp:(.text.startup+0x99): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2372kb | OK | 5 |
2 | 4ms | 2188kb | OK | 5 |
3 | 4ms | 2376kb | OK | 5 |
4 | 4ms | 2304kb | OK | 5 |
5 | 4ms | 2380kb | OK | 5 |
6 | 4ms | 2356kb | OK | 5 |
7 | 24ms | 7124kb | OK | 5 |
8 | 24ms | 7676kb | OK | 5 |
9 | 28ms | 7852kb | OK | 5 |
10 | 28ms | 8452kb | OK | 5 |
11 | 32ms | 9032kb | OK | 5 |
12 | 32ms | 9524kb | OK | 5 |
13 | 84ms | 21300kb | OK | 5 |
14 | 60ms | 15596kb | OK | 5 |
15 | 68ms | 17208kb | OK | 5 |
16 | 84ms | 20924kb | OK | 5 |
17 | 288ms | Depăşit | Memory limit exceeded. | 0 |
18 | 280ms | Depăşit | Memory limit exceeded. | 0 |
19 | 288ms | Depăşit | Memory limit exceeded. | 0 |
20 | 284ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |