Pagini recente » Borderou de evaluare (job #249563) | Borderou de evaluare (job #2139573) | Borderou de evaluare (job #202976) | Borderou de evaluare (job #3270147) | Borderou de evaluare (job #2177027)
Borderou de evaluare (job #2177027)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a[i] + 1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:73:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a[i] + 1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:73:22: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a[i] + 1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:73:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
/tmp/ccvi2pnu.o: In function `main':
user.cpp:(.text.startup+0xb5): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 2664kb | OK! | 0 |
✓ | 2 | 4ms | 2904kb | OK! | 0 |
✗ | 3 | 4ms | 2968kb | OK! | 10 |
✗ | 4 | Depăşit | 2616kb | Time limit exceeded. | 0 |
✗ | 5 | Depăşit | 2576kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 2728kb | Time limit exceeded. | 0 |
✗ | 7 | Depăşit | 2844kb | Time limit exceeded. | 0 |
✗ | 8 | Depăşit | 2588kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 2592kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 2888kb | Time limit exceeded. | 0 |
✗ | 11 | 4ms | 2828kb | OK! | 10 |
✗ | 12 | 4ms | 2772kb | OK! | 10 |
Punctaj total | 30 |