Pagini recente » Borderou de evaluare (job #1599679) | Borderou de evaluare (job #534000) | Borderou de evaluare (job #1682220) | Borderou de evaluare (job #1072178) | Borderou de evaluare (job #1370065)
Borderou de evaluare (job #1370065)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&mat[i][j]);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out","w",stdout);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:45:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]);
^
user.cpp: In function ‘int mn(int)’:
user.cpp:34:12: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return jminim;
^
user.cpp: In function ‘int main()’:
user.cpp:71:30: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sol[n][j] < minim && j != x)
^
user.cpp:64:31: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jmin = mn(i-1);
^
user.cpp:49:17: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jmin = mn(2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 48ms | 512kb | Incorect | 0 | 0 |
2 | 28ms | 464kb | Incorect | 0 |
3 | 0ms | 316kb | Incorect | 0 |
4 | 0ms | 312kb | Incorect | 0 | 0 |
5 | 0ms | 368kb | Incorect | 0 |
6 | 0ms | 336kb | Incorect | 0 |
7 | 0ms | 304kb | Incorect | 0 | 0 |
8 | 4ms | 360kb | Incorect | 0 |
9 | 4ms | 372kb | Incorect | 0 |
10 | 44ms | 488kb | Incorect | 0 |
Punctaj total | 0 |