Borderou de evaluare (job #1963414)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 12 aprilie 2017 15:11:33
Problema Suma divizorilor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:736:15: error: too few arguments to function ‘FILE* freopen(const char*, const char*, FILE*)’ freopen("") ^ In file included from /usr/include/c++/4.8/cstdio:42:0, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:279:14: note: declared here extern FILE *freopen (__const char *__restrict __filename, ^ user.cpp:737:5: error: expected ‘;’ before ‘long’ long a, b; ^ user.cpp:739:23: error: ‘a’ was not declared in this scope scanf( "%ld%ld", &a, &b); ^ user.cpp:739:27: error: ‘b’ was not declared in this scope scanf( "%ld%ld", &a, &b); ^

Ceva nu functioneaza?