Pagini recente » Borderou de evaluare (job #857623) | Borderou de evaluare (job #18092) | Borderou de evaluare (job #1619054) | Borderou de evaluare (job #1096274) | Borderou de evaluare (job #2409807)
Borderou de evaluare (job #2409807)
Raport evaluator
Compilare:
main.cpp: In function 'void Rmq_init(int)':
main.cpp:35:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i = 0 ; i + (1 << j) - 1 < n ; i++ )
^~~
main.cpp:37: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:78:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < eu.size() ; i++ ) {
~~^~~~~~~~~~~
main.cpp:84:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < eu.size() ; i++ ) {
~~^~~~~~~~~~~
main.cpp:70:28: warning: unused variable 'k' [-Wunused-variable]
int n, i, tata, m, a, b, k ;
^
main.cpp:71: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:73: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:91: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 | 6ms | 2621kb | Incorect | 0 | 0 |
2 | 9ms | 2621kb | Incorect | 0 | 0 |
3 | 40ms | 4587kb | Incorect | 0 | 0 |
4 | 282ms | 14282kb | Incorect | 0 | 0 |
5 | 355ms | 17293kb | Incorect | 0 | 0 |
6 | 439ms | 17817kb | Incorect | 0 | 0 |
7 | 1059ms | 26730kb | Incorect | 0 | 0 |
8 | 2057ms | 24633kb | Incorect | 0 | 0 |
9 | 2633ms | 26992kb | Incorect | 0 |
10 | 2802ms | 27910kb | Time limit exceeded | 0 |
Punctaj total | 0 |