Borderou de evaluare (job #1229805)
Utilizator | Data | 18 septembrie 2014 10:36:17 | |
---|---|---|---|
Problema | Cntper | Status | done |
Runda | Algoritmiada 2014 Runda Finala Open | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:6:1: error: unknown type name ‘using’
using namespace std;
^
user.c:6:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
using namespace std;
^
user.c:8:1: error: initializer element is not constant
FILE*f = fopen("cntper.in", "r");
^
user.c:9:1: error: initializer element is not constant
FILE*g = fopen("cntper.out", "w");
^
user.c:12:1: error: unknown type name ‘bool’
bool computed[maxdim];
^
user.c: In function ‘solve’:
user.c:19:16: error: ‘true’ undeclared (first use in this function)
computed[n] = true;
^
user.c:19:16: note: each undeclared identifier is reported only once for each function it appears in
user.c: In function ‘main’:
user.c:57:31: error: ‘true’ undeclared (first use in this function)
neper[1] = 26; computed[1] = true;
^
user.c:55:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &tests);
^
user.c:60:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !