Pagini recente » Borderou de evaluare (job #1570630) | Borderou de evaluare (job #2492386) | Borderou de evaluare (job #539559) | Borderou de evaluare (job #2731927) | Borderou de evaluare (job #2187510)
Borderou de evaluare (job #2187510)
Raport evaluator
Compilare:
user.cpp: In function ‘void transforma(char*)’:
user.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ; i < strlen(s) ; i++)
~~^~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:29:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^~~~
In file included from /usr/include/c++/6/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:29:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/6/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:31:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < strlen(s) ; i++)
~~^~~~~~~~~~~
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.in","r",stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.out","w",stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:29:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cceAOaQ0.o: In function `main':
user.cpp:(.text.startup+0xe7): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 868kb | Incorect | 0 | 0 |
2 | 0ms | 840kb | Incorect | 0 |
3 | 0ms | 840kb | Incorect | 0 |
4 | 12ms | 836kb | Incorect | 0 |
5 | Depăşit | 860kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 880kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 896kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 884kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 908kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 896kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 0 |