Pagini recente » Borderou de evaluare (job #2000231) | Borderou de evaluare (job #2108255) | Borderou de evaluare (job #710316) | Borderou de evaluare (job #307933) | Borderou de evaluare (job #1358086)
Borderou de evaluare (job #1358086)
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:56:68: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol[i][j] = mat[i][j] + mat[i-1][j] + min(i-1, 2, x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 492kb | Time limit exceeded. | 0 | 0 |
2 | 36ms | 460kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 | 30 |
5 | 0ms | 364kb | OK | 10 |
6 | 0ms | 324kb | OK | 10 |
7 | 0ms | 300kb | OK | 10 | 0 |
8 | 4ms | 344kb | OK | 10 |
9 | 4ms | 360kb | OK | 10 |
10 | Depăşit | 480kb | Time limit exceeded. | 0 |
Punctaj total | 30 |