Pagini recente » Borderou de evaluare (job #939880) | Borderou de evaluare (job #1919951) | Borderou de evaluare (job #544941) | Borderou de evaluare (job #2589740) | Borderou de evaluare (job #1638012)
Borderou de evaluare (job #1638012)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int findMin(int, int)’:
user.cpp:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p2[k]<=y-x+1)k++;
^
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 | 332kb | OK | 10 |
2 | 0ms | 364kb | OK | 10 |
3 | 0ms | 496kb | OK | 10 |
4 | 12ms | 3464kb | OK | 10 |
5 | 32ms | 7216kb | OK | 10 |
6 | 36ms | 12808kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 72ms | Depăşit | Memory limit exceeded. | 0 |
8 | 84ms | Depăşit | Memory limit exceeded. | 0 |
9 | 80ms | Depăşit | Memory limit exceeded. | 0 |
10 | 88ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |