Pagini recente » Borderou de evaluare (job #1978450) | Borderou de evaluare (job #3150568) | Borderou de evaluare (job #621118) | Borderou de evaluare (job #1122213) | Borderou de evaluare (job #1539778)
Borderou de evaluare (job #1539778)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:146:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){
^
user.cpp:146:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){
^
user.cpp:146:84: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){
^
user.cpp:51:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &varianta);
^
user.cpp:53: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);
^
user.cpp:56:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", mat[i] + 1);
^
user.cpp:209:45: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d\n%c", i2, j2, c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 500kb | Corect! Varianta 1 | 5 |
2 | 0ms | 492kb | Corect! Varianta 1 | 5 |
3 | 0ms | 696kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1108kb | Corect! Varianta 1 | 5 |
5 | 8ms | 1092kb | Corect! Varianta 1 | 5 |
6 | 0ms | 312kb | Corect! Varianta 2 | 5 |
7 | 0ms | 420kb | Corect! Varianta 2 | 5 |
8 | 0ms | 424kb | Corect! Varianta 2 | 5 |
9 | 0ms | 500kb | Corect! Varianta 2 | 5 |
10 | 0ms | 496kb | Corect! Varianta 2 | 5 |
11 | 0ms | 628kb | Corect! Varianta 2 | 5 |
12 | 4ms | 844kb | Corect! Varianta 2 | 5 |
13 | 4ms | 1384kb | Corect! Varianta 2 | 5 |
14 | 4ms | 920kb | Corect! Varianta 2 | 5 |
15 | 4ms | 1148kb | Corect! Varianta 2 | 5 |
16 | 8ms | 1176kb | Corect! Varianta 2 | 5 |
17 | 8ms | 1208kb | Corect! Varianta 2 | 5 |
18 | 4ms | 1180kb | Corect! Varianta 2 | 5 |
19 | 12ms | 1684kb | Corect! Varianta 2 | 5 |
20 | 0ms | 312kb | Corect! Varianta 1 | 5 |
Punctaj total | 100 |