Pagini recente » Borderou de evaluare (job #783623) | Borderou de evaluare (job #2569457) | Borderou de evaluare (job #256043) | Borderou de evaluare (job #2293894) | Borderou de evaluare (job #1836286)
Borderou de evaluare (job #1836286)
Raport evaluator
Compilare:
user.cpp: In function ‘void readFile()’:
user.cpp:71:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &v[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:124:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l = pasul[i].x + dl[v[i]];
^
user.cpp: In function ‘void readFile()’:
user.cpp:61:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &stx, &sty);
^
user.cpp:65:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &m);
^
user.cpp:71:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:89:15: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i, j, poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Corect | 10 |
2 | 0ms | 288kb | Corect | 10 |
3 | 0ms | 288kb | Corect | 10 |
4 | 0ms | 292kb | Corect | 10 |
5 | 0ms | 296kb | Corect | 10 |
6 | 0ms | 288kb | Corect | 10 |
7 | 0ms | 300kb | Corect | 10 |
8 | 0ms | 312kb | Corect | 10 |
9 | 0ms | 304kb | Corect | 10 |
10 | 0ms | 304kb | Corect | 10 |
Punctaj total | 100 |