Borderou de evaluare (job #1446438)
Utilizator | Data | 1 iunie 2015 20:38:28 | |
---|---|---|---|
Problema | Caroiaj | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:65: error: size of array ‘a’ is too large
int mn , s[90000], d[90000], i, n, c, t, j, x, y, a[30001][30001], aux;
^
user.cpp: In function ‘int main()’:
user.cpp:47:31: error: ‘a’ was not declared in this scope
scanf( "%d", &a[i][j] );
^
user.cpp:56:35: error: ‘a’ was not declared in this scope
v[y].push_back( M[a[i][j]] );
^
user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "caroiaj.in", "r", stdin );
^
user.cpp:36:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "caroiaj.out", "w", stdout );
^
user.cpp:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &t );
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &n );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !