Pagini recente » Borderou de evaluare (job #1741917) | Borderou de evaluare (job #1719663) | Borderou de evaluare (job #3168907) | Borderou de evaluare (job #1608518) | Borderou de evaluare (job #1440487)
Borderou de evaluare (job #1440487)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=1;j<=strlen(s+1);j++){
^
user.cpp:14:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.in","r",stdin);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.out","w",stdout);
^
user.cpp:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:19:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); soll=0;
^
/tmp/cctSP1qo.o: In function `main':
user.cpp:(.text.startup+0x9c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1680kb | Time limit exceeded. | 0 |
Punctaj total | 0 |