Pagini recente » Borderou de evaluare (job #389284) | Borderou de evaluare (job #376168) | Borderou de evaluare (job #240301) | Borderou de evaluare (job #1622255) | Borderou de evaluare (job #1343053)
Borderou de evaluare (job #1343053)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("fsb.in","r",stdin);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.out","w",stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
user.cpp:20:23: warning: ‘K’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol[N] = sol[N-1] + K;
^
/tmp/cc8nrZdZ.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 292kb | Incorect | 0 |
4 | 0ms | 368kb | Incorect | 0 |
5 | 4ms | 720kb | Incorect | 0 |
6 | 8ms | 1160kb | Incorect | 0 |
7 | 8ms | 1420kb | Incorect | 0 |
8 | 12ms | 1596kb | Incorect | 0 |
9 | 16ms | 1860kb | Incorect | 0 |
10 | 12ms | 2028kb | Incorect | 0 |
Punctaj total | 0 |