Borderou de evaluare (job #1699284)
Utilizator | Data | 6 mai 2016 22:39:50 | |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool OK1(int, int)’:
user.cpp:39:8: error: ‘aaux’ was not declared in this scope
if(aaux[i][j] != 0)
^
user.cpp: In function ‘int main()’:
user.cpp:71:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0 ; i < strlen(s) ; i ++)
^
user.cpp:73:36: error: ‘aaux’ was not declared in this scope
a[j][i+1] = s[i]-'0' , aaux[j][i+1] = s[i]-'0';
^
user.cpp:125:18: error: ‘aaux’ was not declared in this scope
if ( aaux[i][j] == 0)
^
user.cpp:59:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( IN , "r" , stdin);
^
user.cpp:60:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( OUT , "w" , stdout);
^
user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n ,&m);
^
user.cpp:69:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !