Borderou de evaluare (job #1306425)
Utilizator | Data | 30 decembrie 2014 23:14:03 | |
---|---|---|---|
Problema | PScPld2D | Status | done |
Runda | Happy Birthday Infoarena 2014 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int binSearch(int, int, int, int)’:
user.cpp:71:31: error: ‘AAINT’ was not declared in this scope
int min1 = query(1, 1, N, AAINT[i], j - mid, j + mid);
^
user.cpp:72:31: error: ‘BAINT’ was not declared in this scope
int min2 = query(1, 1, N, BAINT[j], i - mid, i + mid);
^
user.cpp: In function ‘int main()’:
user.cpp:155:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf (g, "%d\n",Sol);
^
user.cpp: In function ‘void citire()’:
user.cpp:24:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d\n", &N);
^
user.cpp:26:42: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (S[i] + 1, sizeof(S[i]), f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !