Pagini recente » Borderou de evaluare (job #1619090) | Borderou de evaluare (job #624211) | Borderou de evaluare (job #2363171) | Borderou de evaluare (job #2833815) | Borderou de evaluare (job #1685091)
Borderou de evaluare (job #1685091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ssdj.in", "r", stdin);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ssdj.out", "w", stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &N);
^
user.cpp:16:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:16:22:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/cc7y0BwO.o: In function `main':
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 1160kb | Incorect | 0 |
| 2 | 8ms | 1164kb | Incorect | 0 |
| 3 | 24ms | 1752kb | Incorect | 0 |
| 4 | 44ms | 1756kb | Incorect | 0 |
| 5 | 88ms | 2348kb | Incorect | 0 |
| 6 | 116ms | 2644kb | Incorect | 0 |
| 7 | 144ms | 2932kb | Incorect | 0 |
| 8 | 148ms | 2936kb | Incorect | 0 |
| 9 | 180ms | 3232kb | Incorect | 0 |
| 10 | 180ms | 3228kb | Incorect | 0 |
| Punctaj total | 0 |