Pagini recente » Borderou de evaluare (job #743547) | Borderou de evaluare (job #1824020) | Borderou de evaluare (job #1634825) | Borderou de evaluare (job #874525) | Borderou de evaluare (job #1638025)
Borderou de evaluare (job #1638025)
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: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 | 320kb | OK | 10 |
2 | 0ms | 340kb | OK | 10 |
3 | 0ms | 412kb | OK | 10 |
4 | 12ms | 1984kb | Incorect | 0 |
5 | 28ms | 3972kb | Incorect | 0 |
6 | 32ms | 6960kb | OK | 10 |
7 | 60ms | 10276kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 68ms | 11848kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 68ms | 12780kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 68ms | 13508kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |