Pagini recente » Borderou de evaluare (job #1063081) | Borderou de evaluare (job #80072) | Borderou de evaluare (job #3241273) | Borderou de evaluare (job #1659409)
Borderou de evaluare (job #1659409)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:28:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol = max( RMQ[i][j][ lg[k] ], RMQ[i + k - (1<<lg[k])][j + k - (1<<lg[k])][ lg[k] ] );
^
user.cpp:28:91: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol = max( RMQ[i][j][ lg[k] ], RMQ[i + k - (1<<lg[k])][j + k - (1<<lg[k])][ lg[k] ] );
^
user.cpp:29:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol = max( sol, RMQ[i][j + k - (1<<lg[k])][ lg[k] ] );
^
user.cpp:30:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol = max( sol, RMQ[i + k - (1<<lg[k])][j][ lg[k] ] );
^
user.cpp:27:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &i, &j, &k);
^
user.cpp: In function ‘void Read()’:
user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.in", "rt", stdin);
^
user.cpp:47:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.out", "wt", stdout);
^
user.cpp:48:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:51:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &RMQ[i][j][0]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 480kb | OK | 10 | 10 |
2 | 0ms | 584kb | OK | 10 | 10 |
3 | 0ms | 836kb | OK | 10 | 10 |
4 | 4ms | 1228kb | OK | 10 | 10 |
5 | 8ms | 1908kb | OK | 10 | 10 |
6 | 24ms | 2800kb | OK | 10 | 50 |
7 | 48ms | 5156kb | OK | 10 |
8 | 92ms | 8288kb | OK | 10 |
9 | 136ms | 10408kb | OK | 10 |
10 | 148ms | 10412kb | OK | 10 |
Punctaj total | 100 |