Pagini recente » Borderou de evaluare (job #2778888) | Borderou de evaluare (job #3184988) | Borderou de evaluare (job #241865) | Borderou de evaluare (job #2513782) | Borderou de evaluare (job #2157505)
Borderou de evaluare (job #2157505)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14: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:14: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:14: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:28:49: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%c", v[i]/put53[j]+'A'-1);
^
user.cpp:30:52: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%c", v[i]/put53[j]-26+'a'-1);
^
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("incantatii.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("incantatii.out", "w",stdout);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:14:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccaJlEAT.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 |
1 | 0ms | 816kb | Incorect | 0 |
2 | 0ms | 864kb | Incorect | 0 |
3 | 0ms | 756kb | Incorect | 0 |
4 | 0ms | 860kb | Incorect | 0 |
5 | 0ms | 872kb | Incorect | 0 |
6 | 0ms | 860kb | Incorect | 0 |
7 | Depăşit | 5848kb | Time limit exceeded. | 0 |
8 | Depăşit | 8456kb | Time limit exceeded. | 0 |
9 | 520ms | 3800kb | Incorect | 0 |
10 | 88ms | 972kb | Incorect | 0 |
11 | 316ms | 3800kb | Incorect | 0 |
12 | Depăşit | 5852kb | Time limit exceeded. | 0 |
13 | 96ms | 1028kb | Incorect | 0 |
14 | Depăşit | 7900kb | Time limit exceeded. | 0 |
15 | Depăşit | 7896kb | Time limit exceeded. | 0 |
16 | Depăşit | 3804kb | Time limit exceeded. | 0 |
17 | 396ms | 3800kb | Incorect | 0 |
18 | 352ms | 3804kb | Incorect | 0 |
19 | Depăşit | 5852kb | Time limit exceeded. | 0 |
20 | Depăşit | 5848kb | Time limit exceeded. | 0 |
Punctaj total | 0 |