Pagini recente » Borderou de evaluare (job #772369) | Borderou de evaluare (job #321616) | Borderou de evaluare (job #494877) | Borderou de evaluare (job #1937342) | Borderou de evaluare (job #1845296)
Borderou de evaluare (job #1845296)
Raport evaluator
Compilare:
user.cpp:8:28: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
int litere[5] = { NULL };
^
user.cpp:16:26: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
int keyMaps[40] = { NULL };
^
user.cpp:17:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
char indexVal[40] { NULL };
^
user.cpp:19:34: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
char tempLine[MAX_LINE] = { NULL };
^
user.cpp:23:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
int instancesCount[12][12][12][12][12] = { NULL };
^
user.cpp: In function ‘void MapKeys()’:
user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
keyMaps[tempLine[i]] = i;
^
user.cpp: In function ‘void Read()’:
user.cpp:60:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cuvinte[i].litere[j] = keyMaps[tempLine[j]];
^
user.cpp:49:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &p);
^
user.cpp:50:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:51:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", &tempLine[0]);
^
user.cpp:57:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", &tempLine[0]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 11 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 12 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 13 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |