Pagini recente » Borderou de evaluare (job #3000951) | Borderou de evaluare (job #974432) | Borderou de evaluare (job #810563) | Borderou de evaluare (job #15430) | Borderou de evaluare (job #2157705)
Borderou de evaluare (job #2157705)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:23:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:23:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:26:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[k]+=f[s[i]]*1LL*put53[j];
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("incantatii.in", "r",stdin);
^
user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("incantatii.out", "w",stdout);
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:23:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccy3Lh5M.o: In function `main':
user.cpp:(.text.startup+0xc1): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1424kb | OK | 5 |
| 2 | 0ms | 1436kb | OK | 5 |
| 3 | 0ms | 1428kb | OK | 5 |
| 4 | 0ms | 1436kb | OK | 5 |
| 5 | 0ms | 1432kb | OK | 5 |
| 6 | 4ms | 1436kb | OK | 5 |
| 7 | Depăşit | 7168kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 9156kb | Time limit exceeded. | 0 |
| 9 | 560ms | 5160kb | OK | 5 |
| 10 | 100ms | 1800kb | OK | 5 |
| 11 | 340ms | 2552kb | OK | 5 |
| 12 | Depăşit | 7120kb | Time limit exceeded. | 0 |
| 13 | 116ms | 1740kb | OK | 5 |
| 14 | Depăşit | 7524kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 7596kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 5164kb | Time limit exceeded. | 0 |
| 17 | 448ms | 2948kb | OK | 5 |
| 18 | 392ms | 2672kb | OK | 5 |
| 19 | Depăşit | 5100kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 5088kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |