Pagini recente » Borderou de evaluare (job #859021) | Borderou de evaluare (job #1752523) | Borderou de evaluare (job #2467161) | Borderou de evaluare (job #2124060) | Borderou de evaluare (job #2581308)
Borderou de evaluare (job #2581308)
Raport evaluator
Compilare:
main.cpp: In function 'int mymin(int (*)[251], int, int)':
main.cpp:31:9: warning: unused variable 'res' [-Wunused-variable]
int k, res, pos, mini = inf;
^~~
main.cpp: At global scope:
main.cpp:12:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_int()
^~~~~~~
main.cpp: In function 'int get_int()':
main.cpp:19:28: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != BUFFER_SIZE || (fread(inBuffer, 1, BUFFER_SIZE, stdin), p = 0);
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:25:28: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != BUFFER_SIZE || (fread(inBuffer, 1, BUFFER_SIZE, stdin), p = 0);
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in", "r", stdin);
^
main.cpp:44:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out", "w", stdout);
^
main.cpp: In function 'int mymin(int (*)[251], int, int)':
main.cpp:38:18: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
return dp[i][pos];
^
main.cpp: In function 'int main()':
main.cpp:38:18: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
return dp[i][pos];
^
main.cpp:31:14: note: 'pos' was declared here
int k, res, pos, mini = inf;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 49ms | 917kb | OK | 10 | 30 |
2 | 27ms | 655kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 3ms | 393kb | OK | 10 | 30 |
5 | 3ms | 393kb | OK | 10 |
6 | 4ms | 393kb | OK | 10 |
7 | 4ms | 393kb | OK | 10 | 40 |
8 | 5ms | 393kb | OK | 10 |
9 | 6ms | 524kb | OK | 10 |
10 | 44ms | 786kb | OK | 10 |
Punctaj total | 100 |