Borderou de evaluare (job #1386267)
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/ccagnW8Q.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 | 444kb | OK | 10 |
2 | 0ms | 516kb | OK | 10 |
3 | 4ms | 820kb | OK | 10 |
4 | 4ms | 876kb | OK | 10 |
5 | 8ms | 1024kb | OK | 10 |
6 | 8ms | 1144kb | 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 |