Borderou de evaluare (job #1957325)

Utilizator mateibanuBanu Matei Costin mateibanu Data 7 aprilie 2017 14:44:27
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:4: error: ‘long long’ invalid for ‘nr’ ll nr; ^ user.cpp: In function ‘void ciur()’: user.cpp:26:22: error: no match for ‘operator++’ (operand type is ‘std::bitset<1000010u>’) if (!v[i]) v[++nr]=i; ^ user.cpp: In function ‘int main()’: user.cpp:44:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::bitset<1000010u>’ [-Wformat=] printf("%d",nr); ^ user.cpp:41:22: warning: unused variable ‘p’ [-Wunused-variable] ll t,n,nrd,i,d,z,p,psus,pjos; ^ user.cpp:45:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&t); ^ user.cpp:48:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^

Ceva nu functioneaza?