Pagini recente » Borderou de evaluare (job #4538) | Borderou de evaluare (job #2150035)
Borderou de evaluare (job #2150035)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:5: 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:11:5: 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:11:11: 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:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risipa.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risipa.out","w",stdout);
^
user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:58:20: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
for (i=0; i<con; i++)
^
/tmp/ccsmhMgG.o: In function `main':
user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1680kb | OK | 10 |
2 | Depăşit | 18436kb | Time limit exceeded. | 0 |
3 | Depăşit | 16388kb | Time limit exceeded. | 0 |
4 | Depăşit | 14332kb | Time limit exceeded. | 0 |
5 | Depăşit | 16388kb | Time limit exceeded. | 0 |
6 | Depăşit | 16388kb | Time limit exceeded. | 0 |
7 | Depăşit | 16384kb | Time limit exceeded. | 0 |
8 | Depăşit | 16384kb | Time limit exceeded. | 0 |
9 | Depăşit | 16388kb | Time limit exceeded. | 0 |
10 | Depăşit | 16388kb | Time limit exceeded. | 0 |
Punctaj total | 10 |