Pagini recente » Borderou de evaluare (job #339962) | Borderou de evaluare (job #2581973) | Borderou de evaluare (job #2360124) | Borderou de evaluare (job #692381) | Borderou de evaluare (job #1873277)
Borderou de evaluare (job #1873277)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17: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:18: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:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &v[i]);
^
user.cpp:22:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:26:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
/tmp/ccedCD1Y.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 | 308kb | Te stii ! | 10 |
2 | 0ms | 340kb | Te stii ! | 10 |
3 | 0ms | 364kb | Te stii ! | 10 |
4 | 0ms | 452kb | Te stii ! | 10 |
5 | 4ms | 1836kb | Te stii ! | 10 |
6 | 40ms | 9528kb | Te stii ! | 10 |
7 | 136ms | 31068kb | Te stii ! | 10 |
8 | 248ms | 31024kb | Te stii ! | 10 |
9 | 320ms | 31060kb | Te stii ! | 10 |
10 | 8ms | 1220kb | Te stii ! | 10 |
Punctaj total | 100 |