Pagini recente » Borderou de evaluare (job #1474094) | Borderou de evaluare (job #1278323)
Borderou de evaluare (job #1278323)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.in","r",stdin);
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.out","w",stdout);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:38:78: warning: ‘mn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(j+1 > i+1 && (q = newsol(sum(1,i), sum(i+1,j-2), sum(j-1, N))) && q < mn)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 8ms | 284kb | Incorect | 0 |
4 | 4ms | 276kb | Incorect | 0 |
5 | Depăşit | 1448kb | Time limit exceeded. | 0 |
6 | Depăşit | 1444kb | Time limit exceeded. | 0 |
7 | Depăşit | 1448kb | Time limit exceeded. | 0 |
8 | Depăşit | 11980kb | Time limit exceeded. | 0 |
9 | Depăşit | 11980kb | Time limit exceeded. | 0 |
10 | Depăşit | 11980kb | Time limit exceeded. | 0 |
Punctaj total | 0 |