Pagini recente » Borderou de evaluare (job #3173780) | Borderou de evaluare (job #1199025) | Borderou de evaluare (job #726583) | Borderou de evaluare (job #170318) | Borderou de evaluare (job #1607289)
Borderou de evaluare (job #1607289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:3:14: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
#define INF 1<<30
^
user.cpp:108:37: note: in expansion of macro ‘INF’
if(mat[i][j]==1) mat[i][j]=-INF-1;
^
user.cpp:72:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacuri.in","r",stdin);
^
user.cpp:73:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacuri.out","w",stdout);
^
user.cpp:77:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:80:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;++j) scanf("%d",&mat[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK! | 10 |
2 | 0ms | 308kb | OK! | 10 |
3 | 0ms | 312kb | OK! | 10 |
4 | 0ms | 292kb | OK! | 10 |
5 | 0ms | 352kb | OK! | 10 |
6 | 0ms | 308kb | OK! | 10 |
7 | 0ms | 312kb | OK! | 10 |
8 | 0ms | 288kb | OK! | 10 |
9 | 0ms | 324kb | OK! | 10 |
10 | 0ms | 280kb | OK! | 10 |
Punctaj total | 100 |