Pagini recente » Borderou de evaluare (job #123463) | Borderou de evaluare (job #697845) | Borderou de evaluare (job #2073634) | Borderou de evaluare (job #952076) | Borderou de evaluare (job #2144512)
Borderou de evaluare (job #2144512)
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/ccLBtock.o: In function `main':
user.cpp:(.text.startup+0x82): 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 | 964kb | OK. | 5 |
4 | 0ms | 1480kb | OK. | 5 |
5 | 0ms | 908kb | OK. | 3 | 3 |
6 | Depăşit | 1624kb | Time limit exceeded. | 0 | 0 |
7 | 0ms | 936kb | OK. | 3 | 3 |
8 | 32ms | 1340kb | OK. | 3 | 3 |
9 | 12ms | 1800kb | OK. | 4 | 4 |
10 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
11 | 12ms | 1684kb | OK. | 4 | 4 |
12 | 76ms | 1740kb | OK. | 4 | 4 |
13 | 88ms | 1764kb | OK. | 4 | 4 |
14 | Depăşit | 1796kb | Time limit exceeded. | 0 | 0 |
15 | 68ms | 1788kb | OK. | 5 | 5 |
16 | 236ms | 1788kb | OK. | 5 | 5 |
17 | 144ms | 1784kb | OK. | 5 | 5 |
18 | Depăşit | 1796kb | Time limit exceeded. | 0 | 0 |
19 | Depăşit | 1796kb | Time limit exceeded. | 0 | 0 |
20 | 732ms | 1800kb | OK. | 6 | 6 |
21 | 744ms | 1800kb | OK. | 6 | 6 |
22 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 72 |