Borderou de evaluare (job #1927205)
Utilizator | Data | 14 martie 2017 23:23:12 | |
---|---|---|---|
Problema | Iepuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Matrix_3D_Multiply(long long int (*)[3], long long int (*)[3])’:
user.cpp:16:35: error: ‘memset’ was not declared in this scope
memset(C, 0, 9 * sizeof(long long));
^
user.cpp:25:35: error: ‘memcpy’ was not declared in this scope
memcpy(A, C, 9 * sizeof(long long));
^
user.cpp: In function ‘long long int Expo(long long int (*)[3], long long int)’:
user.cpp:40:40: error: ‘memcpy’ was not declared in this scope
memcpy(A, result, 9 * sizeof(long long));
^
user.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:55:51: error: ‘memcpy’ was not declared in this scope
memcpy(MatrixA, CopyOfA, 9 * sizeof(long long));
^
user.cpp:51:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &T);
^
user.cpp:54:84: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld %lld %lld %lld %lld %lld %lld", &X, &Y, &Z, &A, &B, &C, &N);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !