Pagini recente » Cod sursa (job #413629) | Cod sursa (job #1815684) | Borderou de evaluare (job #1316460) | Borderou de evaluare (job #812517) | Borderou de evaluare (job #1806843)
Borderou de evaluare (job #1806843)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:38: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:39:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cit);
^
user.cpp: In function ‘int main()’:
user.cpp:72:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
/tmp/ccgva7mc.o: In function `citire()':
user.cpp:(.text+0x14f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | Incorect | 0 |
| 2 | 0ms | 580kb | Incorect | 0 |
| 3 | 4ms | 1080kb | Incorect | 0 |
| 4 | 4ms | 1184kb | Incorect | 0 |
| 5 | 8ms | 1440kb | Incorect | 0 |
| 6 | 8ms | 1636kb | Incorect | 0 |
| 7 | 16ms | 2440kb | Incorect | 0 |
| 8 | 24ms | 3468kb | Incorect | 0 |
| 9 | 32ms | 4464kb | Incorect | 0 |
| 10 | 40ms | 5428kb | Incorect | 0 |
| Punctaj total | 0 |