Borderou de evaluare (job #1441908)
Utilizator | Data | 24 mai 2015 13:27:20 | |
---|---|---|---|
Problema | Street Crypto | Status | done |
Runda | ONIS 2015, Runda Finala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int getTheNumber(int)’:
user.cpp:11:12: warning: unused variable ‘nr’ [-Wunused-variable]
int i, j, nr = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:52:53: error: ‘memset’ was not declared in this scope
memset(primes_found, false, sizeof(bool) * 1000000);
^
user.cpp:47:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &T);
^
user.cpp:51:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &N);
^
user.cpp:56:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &NUMBER);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !