Borderou de evaluare (job #2069602)
Utilizator | Data | 18 noiembrie 2017 16:46:29 | |
---|---|---|---|
Problema | Bacterii2 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:22: error: ‘complex_literals’ is not a namespace-name
using namespace std::complex_literals;
^
user.cpp:4:38: error: expected namespace-name before ‘;’ token
using namespace std::complex_literals;
^
user.cpp: In function ‘void solvetest(FILE*, FILE*)’:
user.cpp:77:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d %d\n", i, lround(cf3[i].real()));
^
user.cpp:52:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:54:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
user.cpp:59:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &m);
^
user.cpp:61:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
user.cpp: In function ‘int main()’:
user.cpp:86:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !