Pagini recente » Borderou de evaluare (job #409928) | Borderou de evaluare (job #3184510) | Borderou de evaluare (job #602818) | Borderou de evaluare (job #1128439) | Borderou de evaluare (job #2144496)
Borderou de evaluare (job #2144496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
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:14:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
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:14:18: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
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:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("interesant.in","r",stdin);
^
user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("interesant.out","w",stdout);
^
user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &p, &n);
^
user.cpp:14:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
/tmp/ccfv6bPI.o: In function `main':
user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1620kb | OK. | 5 | 20 |
2 | 4ms | 1796kb | OK. | 5 |
3 | 0ms | 960kb | OK. | 5 |
4 | 0ms | 1480kb | OK. | 5 |
5 | 0ms | 904kb | OK. | 3 | 3 |
6 | Depăşit | 1628kb | Time limit exceeded. | 0 | 0 |
7 | 0ms | 876kb | OK. | 3 | 3 |
8 | 28ms | 1340kb | OK. | 3 | 3 |
9 | 12ms | 1800kb | OK. | 4 | 4 |
10 | Depăşit | 1788kb | Time limit exceeded. | 0 | 0 |
11 | 12ms | 1688kb | OK. | 4 | 4 |
12 | 56ms | 1740kb | OK. | 4 | 4 |
13 | 64ms | 1768kb | OK. | 4 | 4 |
14 | Depăşit | 1800kb | Time limit exceeded. | 0 | 0 |
15 | 36ms | 1792kb | OK. | 5 | 5 |
16 | 152ms | 1780kb | OK. | 5 | 5 |
17 | 92ms | 1784kb | OK. | 5 | 5 |
18 | Depăşit | 1788kb | Time limit exceeded. | 0 | 0 |
19 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
20 | 56ms | 1804kb | OK. | 6 | 6 |
21 | 56ms | 1804kb | OK. | 6 | 6 |
22 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 72 |