Pagini recente » Borderou de evaluare (job #1905903) | Borderou de evaluare (job #1246704) | Borderou de evaluare (job #2015818) | Borderou de evaluare (job #1210412) | Borderou de evaluare (job #1873281)
Borderou de evaluare (job #1873281)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palindrom3.in", "r", stdin);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palindrom3.out", "w", stdout);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &v[i]);
^
user.cpp:17:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:21:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
/tmp/ccg3qSgF.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Te stii ! | 10 |
2 | 0ms | 340kb | Te stii ! | 10 |
3 | 0ms | 368kb | Te stii ! | 10 |
4 | 0ms | 452kb | Te stii ! | 10 |
5 | 4ms | 1836kb | Te stii ! | 10 |
6 | 40ms | 9532kb | Te stii ! | 10 |
7 | 136ms | 31072kb | Te stii ! | 10 |
8 | 248ms | 31024kb | Te stii ! | 10 |
9 | 320ms | 31072kb | Te stii ! | 10 |
10 | 8ms | 1228kb | Te stii ! | 10 |
Punctaj total | 100 |