Pagini recente » Borderou de evaluare (job #1657682) | Borderou de evaluare (job #2685611) | Borderou de evaluare (job #3204604) | Borderou de evaluare (job #1797410) | Borderou de evaluare (job #2655436)
Borderou de evaluare (job #2655436)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:50: warning: narrowing conversion of 'i' from 'int' to 'short int' inside { } [-Wnarrowing]
succ[newx][newy].push_back({i, j});
^
main.cpp:32:50: warning: narrowing conversion of 'j' from 'int' to 'short int' inside { } [-Wnarrowing]
main.cpp:35:31: warning: narrowing conversion of 'i' from 'int' to 'short int' inside { } [-Wnarrowing]
pq.push({i, j});
^
main.cpp:35:31: warning: narrowing conversion of 'j' from 'int' to 'short int' inside { } [-Wnarrowing]
main.cpp:43:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<succ[u.x][u.y].size(); i++){
~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:22:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("memcpy.in", "r", stdin);
^
main.cpp:23:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("memcpy.out", "w", stdout);
^
main.cpp:25:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d", &n, &m, &x1, &y1, &x2, &y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 12910kb | OK | 10 |
2 | 165ms | 13406kb | OK | 10 |
3 | 29ms | 12320kb | OK | 10 |
4 | 31ms | 12328kb | OK | 10 |
5 | 42ms | 12390kb | OK | 10 |
6 | 33ms | 12353kb | OK | 10 |
7 | 426ms | 23846kb | OK | 10 |
8 | 483ms | 23412kb | OK | 10 |
9 | 330ms | 19816kb | OK | 10 |
10 | 182ms | 15298kb | OK | 10 |
Punctaj total | 100 |