Borderou de evaluare (job #1313900)
Utilizator | Data | 11 ianuarie 2015 11:59:13 | |
---|---|---|---|
Problema | Tester | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:24: error: size of array ‘G’ is too large
short G[Nmax][Nmax*Nmax];
^
user.cpp: In function ‘void euler(int)’:
user.cpp:54:17: error: ‘G’ was not declared in this scope
v = G[k][sz[k]];
^
user.cpp: In function ‘void Repair()’:
user.cpp:73:13: error: ‘G’ was not declared in this scope
G[0][++sz[0]] = i;
^
user.cpp:81:13: error: ‘G’ was not declared in this scope
G[i][++sz[i]] = 0;
^
user.cpp: In function ‘void Build_graph()’:
user.cpp:95:21: error: ‘G’ was not declared in this scope
G[i][++sz[i]] = j;
^
user.cpp: In function ‘void Scanf(int&)’:
user.cpp:24:5: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
for(;'0'>buffer[pz] || buffer[pz]>'9';bnext);
^
user.cpp:25:5: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
for(;'0'<=buffer[pz] && buffer[pz] <='9';bnext)
^
user.cpp: In function ‘int main()’:
user.cpp:118:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tester.in","r",stdin);
^
user.cpp:119:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tester.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !