Borderou de evaluare (job #1030768)

Utilizator oopsSoare George oops Data 15 noiembrie 2013 16:54:45
Problema Peluza Sud Status done
Runda FMI No Stress 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:11: error: ‘::main’ must return ‘int’ void main() ^ user.cpp: In function ‘int main()’: user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] fscanf(f, "%d %d", &n, &x); ^ user.cpp:16:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive] return; ^ user.cpp:21:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive] return; ^ user.cpp:48:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(o, "%d", a + 1); ^

Ceva nu functioneaza?