Pagini recente » Borderou de evaluare (job #2365325) | Borderou de evaluare (job #1715622) | Borderou de evaluare (job #1000442) | Borderou de evaluare (job #2119852) | Borderou de evaluare (job #1386269)
Borderou de evaluare (job #1386269)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:39: 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:25:30: 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:26:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(lol);
^
user.cpp:38:61: warning: ‘ind_SOL’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fopen("secventa.out", "w"), "%d %d %d", ind_SOL - K + 1, ind_SOL, SOL);
^
/tmp/cccy4oPO.o: In function `main':
user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 524kb | OK | 10 |
| 3 | 4ms | 820kb | OK | 10 |
| 4 | 4ms | 880kb | OK | 10 |
| 5 | 8ms | 1020kb | OK | 10 |
| 6 | 8ms | 1140kb | OK | 10 |
| 7 | 16ms | 1612kb | OK | 10 |
| 8 | 24ms | 2200kb | OK | 10 |
| 9 | 32ms | 2784kb | OK | 10 |
| 10 | 40ms | 3372kb | OK | 10 |
| Punctaj total | 100 |