Borderou de evaluare (job #2035200)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 9 octombrie 2017 02:31:36
Problema Puteri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void mulHuge(int*, int*)’: user.cpp:195:28: error: variable-sized object ‘C’ may not be initialized int C[A[0] + B[0] + 1] = {}; ^ user.cpp: In function ‘int main()’: user.cpp:254:7: warning: unused variable ‘lowerBucket’ [-Wunused-variable] int lowerBucket = (lower - 1) / BASEPOW + 1; ^ user.cpp:255:7: warning: unused variable ‘lowerPos’ [-Wunused-variable] int lowerPos = lower % BASEPOW; ^ user.cpp:257:7: warning: unused variable ‘upperPos’ [-Wunused-variable] int upperPos = upper % BASEPOW; ^ user.cpp:235:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:237:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n%d\n", read, &p); ^

Ceva nu functioneaza?