Borderou de evaluare (job #1920285)

Utilizator Dan_RadulescuRadulescu Dan Dan_Radulescu Data 9 martie 2017 23:27:32
Problema Smexp Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:2:13: error: invalid operands of types ‘long long int [11]’ and ‘int’ to binary ‘operator%’ #define MOD 1000000007 ^ user.cpp:137:38: note: in expansion of macro ‘MOD’ if (x[i] < 0) x[i] = MOD + x%MOD; ^ user.cpp:49:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%lld%lld", &n, &k); ^ user.cpp:52:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%lld", &a[i][j]); ^

Ceva nu functioneaza?