Pagini recente » Borderou de evaluare (job #2403722) | Borderou de evaluare (job #2418901) | Borderou de evaluare (job #822114) | Borderou de evaluare (job #1551423) | Borderou de evaluare (job #1813568)
Borderou de evaluare (job #1813568)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:46:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[ prod(l0, c0, l0+dirx[k], c0+diry[k]) ].push_back(temp);
^
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.in","r",stdin);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.out","w",stdout);
^
user.cpp:31:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d %d%d %d%d",&N,&M,&l0,&c0,&lf,&cf);
^
user.cpp:35:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 812kb | OK | 10 |
2 | 0ms | 1036kb | OK | 10 |
3 | 0ms | 1012kb | OK | 10 |
4 | 4ms | 1332kb | OK | 10 |
5 | 4ms | 1152kb | OK | 10 |
6 | 4ms | 1156kb | OK | 10 |
7 | 8ms | 1640kb | OK | 10 |
8 | 72ms | 4776kb | OK | 10 |
9 | 240ms | 13280kb | OK | 10 |
10 | 480ms | 20448kb | OK | 10 |
Punctaj total | 100 |