Pagini recente » Borderou de evaluare (job #40470) | Borderou de evaluare (job #936281) | Borderou de evaluare (job #230626) | Borderou de evaluare (job #243715) | Borderou de evaluare (job #2293881)
Borderou de evaluare (job #2293881)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:5:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{freopen("dreptunghiuri2.in","r",stdin);freopen("dreptunghiuri2.out","w",stdout);int i,j;scanf("%d%d",&n,&m);for(i=1;i<=n;++i)for(j=1;j<=m;++j) scanf("%d",&a[i][j]);for(i=1;i<=n;++i)for(j=1;j<=m;++j) if(a[i][j]) sq(i,j,1);printf("%d %d %d",c,maxg,nr);
^
main.cpp:5:81: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{freopen("dreptunghiuri2.in","r",stdin);freopen("dreptunghiuri2.out","w",stdout);int i,j;scanf("%d%d",&n,&m);for(i=1;i<=n;++i)for(j=1;j<=m;++j) scanf("%d",&a[i][j]);for(i=1;i<=n;++i)for(j=1;j<=m;++j) if(a[i][j]) sq(i,j,1);printf("%d %d %d",c,maxg,nr);
^
main.cpp:5:109: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{freopen("dreptunghiuri2.in","r",stdin);freopen("dreptunghiuri2.out","w",stdout);int i,j;scanf("%d%d",&n,&m);for(i=1;i<=n;++i)for(j=1;j<=m;++j) scanf("%d",&a[i][j]);for(i=1;i<=n;++i)for(j=1;j<=m;++j) if(a[i][j]) sq(i,j,1);printf("%d %d %d",c,maxg,nr);
^
main.cpp:5:165: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{freopen("dreptunghiuri2.in","r",stdin);freopen("dreptunghiuri2.out","w",stdout);int i,j;scanf("%d%d",&n,&m);for(i=1;i<=n;++i)for(j=1;j<=m;++j) scanf("%d",&a[i][j]);for(i=1;i<=n;++i)for(j=1;j<=m;++j) if(a[i][j]) sq(i,j,1);printf("%d %d %d",c,maxg,nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 524kb | OK! | 10 |
2 | 16ms | 786kb | OK! | 10 |
3 | 67ms | 2097kb | OK! | 10 |
4 | 42ms | 2097kb | OK! | 10 |
5 | 235ms | 4063kb | OK! | 10 |
6 | 243ms | 4194kb | OK! | 10 |
7 | 11ms | 786kb | OK! | 10 |
8 | 5ms | 524kb | OK! | 10 |
9 | 330ms | 4194kb | Incorect | 0 |
10 | 2ms | 131kb | OK! | 10 |
Punctaj total | 90 |