Pagini recente » Borderou de evaluare (job #2007481) | Borderou de evaluare (job #1144984) | Borderou de evaluare (job #211085) | Borderou de evaluare (job #1310010) | Borderou de evaluare (job #2158001)
Borderou de evaluare (job #2158001)
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/ccRMPB4H.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 | 4ms | 1436kb | OK | 5 |
2 | 0ms | 1484kb | OK | 5 |
3 | 0ms | 1400kb | OK | 5 |
4 | 0ms | 1456kb | OK | 5 |
5 | 0ms | 1428kb | OK | 5 |
6 | 4ms | 1404kb | OK | 5 |
7 | Depăşit | 7188kb | Time limit exceeded. | 0 |
8 | Depăşit | 9052kb | Time limit exceeded. | 0 |
9 | 624ms | 5276kb | OK | 5 |
10 | 104ms | 1748kb | OK | 5 |
11 | 384ms | 2556kb | OK | 5 |
12 | Depăşit | 7168kb | Time limit exceeded. | 0 |
13 | 120ms | 1792kb | OK | 5 |
14 | Depăşit | 7688kb | Time limit exceeded. | 0 |
15 | Depăşit | 7552kb | Time limit exceeded. | 0 |
16 | Depăşit | 5112kb | Time limit exceeded. | 0 |
17 | 500ms | 2840kb | OK | 5 |
18 | 424ms | 2684kb | OK | 5 |
19 | Depăşit | 5152kb | Time limit exceeded. | 0 |
20 | Depăşit | 5124kb | Time limit exceeded. | 0 |
Punctaj total | 60 |