Borderou de evaluare (job #1425052)
Utilizator | Data | 26 aprilie 2015 15:44:44 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:28: error: ‘r’ undeclared (first use in this function)
fin = fopen("adunare.in", r);
^
user.c:7:28: note: each undeclared identifier is reported only once for each function it appears in
user.c:8:30: error: ‘w’ undeclared (first use in this function)
fout = fopen("adunare.out", w);
^
user.c:10:2: warning: conversion lacks type at end of format [-Wformat=]
fscanf(fin,"%l", a);
^
user.c:10:2: warning: too many arguments for format [-Wformat-extra-args]
user.c:11:2: warning: conversion lacks type at end of format [-Wformat=]
fscanf(fin,"%l", b);
^
user.c:11:2: warning: too many arguments for format [-Wformat-extra-args]
user.c:12:2: warning: implicit declaration of function ‘fprinf’ [-Wimplicit-function-declaration]
fprinf(fout,"%l", a + b;
^
user.c:12:25: error: expected ‘)’ before ‘;’ token
fprinf(fout,"%l", a + b;
^
user.c:17:1: error: expected ‘;’ before ‘}’ token
}
^
user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%l", a);
^
user.c:11:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%l", b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !