Pagini recente » Borderou de evaluare (job #1746233) | Borderou de evaluare (job #212995) | Borderou de evaluare (job #2587917) | Borderou de evaluare (job #1561376) | Borderou de evaluare (job #1637986)
Borderou de evaluare (job #1637986)
Raport evaluator
Compilare:
user.cpp: In function ‘long unsigned int findMin(int, int)’:
user.cpp:17:14: warning: variable ‘ma’ set but not used [-Wunused-but-set-variable]
int k=0, ma;
^
user.cpp: In function ‘int main()’:
user.cpp:47:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf(" %d\n", &n);
^
user.cpp:50:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
for(i=1; i<=n; i++) scanf("%d", &m[0][i]);
^
user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("strabunica.in","r",stdin);
^
user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.out","w",stdout);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d\n", &n);
^
user.cpp:50:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; i++) scanf("%d", &m[0][i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | OK | 10 |
2 | 0ms | 376kb | OK | 10 |
3 | 0ms | 536kb | OK | 10 |
4 | 16ms | 4064kb | OK | 10 |
5 | 36ms | 8516kb | OK | 10 |
6 | 48ms | 15196kb | OK | 10 |
7 | 92ms | Depăşit | Memory limit exceeded. | 0 |
8 | 88ms | Depăşit | Memory limit exceeded. | 0 |
9 | 88ms | Depăşit | Memory limit exceeded. | 0 |
10 | 88ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |