Pagini recente » Borderou de evaluare (job #2766849) | Borderou de evaluare (job #2322042) | Borderou de evaluare (job #3149662) | Borderou de evaluare (job #3003430) | Borderou de evaluare (job #2411697)
Borderou de evaluare (job #2411697)
Raport evaluator
Compilare:
main.cpp: In function 'void Rmq_init(int)':
main.cpp:37:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i = 0 ; i + (1 << j) - 1 < n ; i++ )
^~~
main.cpp:39:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if (deuler[rmq[j-1][i]] > deuler[rmq[j-1][i+(1<<(j-1))]] )
^~
main.cpp: In function 'int main()':
main.cpp:82:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < eu.size() ; i++ ) {
~~^~~~~~~~~~~
main.cpp:87:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < eu.size() ; i++ )
~~^~~~~~~~~~~
main.cpp:72:28: warning: unused variable 'k' [-Wunused-variable]
int n, i, tata, m, a, b, k ;
^
main.cpp:73:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &n, &m ) ;
^
main.cpp:75:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &tata ) ;
^
main.cpp:95:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &a, &b ) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 2621kb | Incorect | 0 | 0 |
2 | 8ms | 2621kb | Incorect | 0 | 0 |
3 | 29ms | 4456kb | Incorect | 0 | 0 |
4 | 216ms | 13365kb | Incorect | 0 | 0 |
5 | 251ms | 15589kb | Incorect | 0 | 0 |
6 | 386ms | 16244kb | Incorect | 0 | 0 |
7 | 976ms | 24502kb | OK | 10 | 10 |
8 | 1674ms | 23060kb | Incorect | 0 | 0 |
9 | 2093ms | 25288kb | Incorect | 0 |
10 | 2745ms | 26460kb | Incorect | 0 |
Punctaj total | 10 |