Pagini recente » Borderou de evaluare (job #1557371) | Borderou de evaluare (job #1555617) | Borderou de evaluare (job #1418245) | Borderou de evaluare (job #1380053) | Borderou de evaluare (job #1380065)
Borderou de evaluare (job #1380065)
Raport evaluator
Compilare:
user.cpp: In function ‘void Code()’:
user.cpp:45:27: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if(c[1][u] == c[2][u] == n && b[n][n] > maxim){
^
user.cpp:50:41: warning: statement has no effect [-Wunused-value]
b[ic][jc+v[k]] < c[3][p] + a[ic][jc+v[k]];
^
user.cpp:59:27: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if(c[1][u] == c[2][u] == n && b[n][n] > maxim){
^
user.cpp:65:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=]
fprintf(fout, "%d", &maxim);
^
user.cpp: In function ‘void SetUp()’:
user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:17:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i][j]);
^
user.cpp:18:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
user.cpp:20:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | Raspuns gresit! | 0 |
2 | 0ms | 380kb | Raspuns gresit! | 0 |
3 | 0ms | 380kb | Raspuns gresit! | 0 |
4 | 0ms | 516kb | Raspuns gresit! | 0 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 280kb | Raspuns gresit! | 0 |
Punctaj total | 0 |