Pagini recente » Borderou de evaluare (job #1038591) | Borderou de evaluare (job #2786777) | Borderou de evaluare (job #1241047) | Borderou de evaluare (job #2338708) | Borderou de evaluare (job #2181871)
Borderou de evaluare (job #2181871)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(v);
^
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:13:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(v);
^
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:13:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(v);
^
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:9:11: warning: unused variable ‘rez’ [-Wunused-variable]
int n,rez,i,j,l;
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palm.in","r",stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palm.out","w",stdout);
^
user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v);
^
/tmp/cceabMLQ.o: In function `main':
user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1184kb | OK | 10 |
2 | 0ms | 1216kb | OK | 10 |
3 | 0ms | 1256kb | Incorect | 0 |
4 | 0ms | 1328kb | Incorect | 0 |
5 | 0ms | 1376kb | Incorect | 0 |
6 | 8ms | 1636kb | Incorect | 0 |
7 | 8ms | 1740kb | OK | 10 |
8 | 36ms | 2160kb | Incorect | 0 |
9 | 36ms | 2164kb | Incorect | 0 |
10 | 36ms | 2180kb | OK | 10 |
Punctaj total | 40 |