Borderou de evaluare (job #1435350)
Utilizator | Data | 12 mai 2015 22:11:22 | |
---|---|---|---|
Problema | Tamplar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void BigInt::shl(unsigned int)’:
user.cpp:91:27: error: ‘memset’ was not declared in this scope
memset(&a[1], 0, 4 * k);
^
user.cpp: In function ‘BigInt operator+(const BigInt&, const BigInt&)’:
user.cpp:123:55: error: ‘memcpy’ was not declared in this scope
memcpy(&rez.a[0], a, sizeof(unsigned)* (n + 1));
^
user.cpp:149:40: error: ‘memcpy’ was not declared in this scope
memcpy(&rez.a[0], a, 4 * (a[0] + 1));
^
user.cpp: In function ‘BigInt operator*(const BigInt&, const BigInt&)’:
user.cpp:222:46: error: ‘memcpy’ was not declared in this scope
memcpy(&A.a[1], a + k, 4 * A.a[0]);
^
user.cpp:242:38: error: ‘memcpy’ was not declared in this scope
memcpy(&x2.a[1], a + 1, 4 * p);
^
user.cpp: In function ‘int main()’:
user.cpp:539:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tamplar.in", "r", stdin);
^
user.cpp:540:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tamplar.out", "w", stdout);
^
user.cpp:543:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !