Pagini recente » Borderou de evaluare (job #2675906) | Borderou de evaluare (job #2086255) | Borderou de evaluare (job #2116849) | Borderou de evaluare (job #1571247) | Borderou de evaluare (job #2144549)
Borderou de evaluare (job #2144549)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15: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:15: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:15: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:10: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:11: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:12: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:15:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
/tmp/ccPTuwny.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 | 1624kb | OK. | 5 | 20 |
2 | 4ms | 1792kb | OK. | 5 |
3 | 0ms | 956kb | OK. | 5 |
4 | 0ms | 1480kb | OK. | 5 |
5 | 0ms | 904kb | OK. | 3 | 3 |
6 | Depăşit | 1624kb | Time limit exceeded. | 0 | 0 |
7 | 0ms | 864kb | OK. | 3 | 3 |
8 | 36ms | 1340kb | OK. | 3 | 3 |
9 | 12ms | 1796kb | OK. | 4 | 4 |
10 | Depăşit | 1788kb | Time limit exceeded. | 0 | 0 |
11 | 12ms | 1688kb | OK. | 4 | 4 |
12 | 104ms | 1740kb | OK. | 4 | 4 |
13 | 124ms | 1768kb | OK. | 4 | 4 |
14 | Depăşit | 1796kb | Time limit exceeded. | 0 | 0 |
15 | 432ms | 1788kb | OK. | 5 | 5 |
16 | 292ms | 1784kb | OK. | 5 | 5 |
17 | 228ms | 1788kb | OK. | 5 | 5 |
18 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
19 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
20 | Depăşit | 1800kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1792kb | Time limit exceeded. | 0 | 0 |
22 | Depăşit | 1796kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 60 |